Changeset 18962 in osm for applications/editors/josm/plugins/editgpx
- Timestamp:
- 2009-12-05T18:54:28+01:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/editgpx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/editgpx/build.xml
r18595 r18962 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="2 450" />28 <attribute name="Plugin-Mainversion" value="2578" /> 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
r18595 r18962 144 144 //add all ways 145 145 for (Way w : dataSet.getWays()) { 146 if (w.incomplete || w.isDeleted()) continue; 146 if (w.isIncomplete() || w.isDeleted()) continue; 147 147 GpxTrack trk = new GpxTrack(); 148 148 gpxData.tracks.add(trk); … … 153 153 ArrayList<WayPoint> trkseg = null; 154 154 for (Node n : w.getNodes()) { 155 if (n.incomplete || n.isDeleted()) { 155 if (n.isIncomplete() || n.isDeleted()) { 156 156 trkseg = null; 157 157 continue; … … 180 180 // add nodes as waypoints 181 181 for (Node n : dataSet.getNodes()) { 182 if (n.incomplete || n.isDeleted() || doneNodes.contains(n)) continue; 182 if (n.isIncomplete() || n.isDeleted() || doneNodes.contains(n)) continue; 183 183 184 184 Date tstamp = n.getTimestamp();
Note:
See TracChangeset
for help on using the changeset viewer.