Changeset 17369 in osm for applications/editors/josm/plugins
- Timestamp:
- 2009-08-30T18:08:45+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/editgpx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/editgpx/build.xml
r16793 r17369 26 26 <attribute name="Plugin-Description" value="Allows the user to anonymize timestamps and delete parts of huge GPX tracks very fast." /> 27 27 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/JOSM/Plugins/EditGpx" /> 28 <attribute name="Plugin-Mainversion" value=" 1893" />28 <attribute name="Plugin-Mainversion" value="2012" /> 29 29 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 30 30 </manifest> -
applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/EditGpxLayer.java
r16793 r17369 151 151 152 152 ArrayList<WayPoint> trkseg = null; 153 for (Node n : w. nodes) {153 for (Node n : w.getNodes()) { 154 154 if (n.incomplete || n.deleted) { 155 155 trkseg = null; … … 191 191 wpt.setTime(); 192 192 193 if (n. keys != null && n.keys.containsKey("name")) {194 wpt.attr.put("name", n. keys.get("name"));193 if (n.getKeys() != null && n.keySet().contains("name")) { 194 wpt.attr.put("name", n.get("name")); 195 195 } 196 196 gpxData.waypoints.add(wpt); -
applications/editors/josm/plugins/editgpx/src/org/openstreetmap/josm/plugins/editgpx/GPXLayerImportAction.java
r16793 r17369 120 120 n.setTimestamp(DateUtils.fromString(timestr)); 121 121 dataSet.nodes.add(n); 122 w. nodes.add(n); //TODO what to do with these while deletion122 w.addNode(n); //TODO what to do with these while deletion 123 123 } 124 124 dataSet.ways.add(w);
Note:
See TracChangeset
for help on using the changeset viewer.