Changeset 35217 in osm for applications
- Timestamp:
- 2019-11-02T15:40:32+01:00 (5 years ago)
- Location:
- applications/editors/josm/plugins/NanoLog
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/NanoLog/build.xml
r34533 r35217 5 5 <property name="commit.message" value="NanoLog"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="1 4153"/>7 <property name="plugin.main.version" value="15496"/> 8 8 <property name="plugin.author" value="Ilya Zverev"/> 9 9 <property name="plugin.class" value="nanolog.NanoLogPlugin"/> -
applications/editors/josm/plugins/NanoLog/src/nanolog/Correlator.java
r34533 r35217 13 13 import org.openstreetmap.josm.data.gpx.GpxData; 14 14 import org.openstreetmap.josm.data.gpx.GpxTrack; 15 import org.openstreetmap.josm.data.gpx. GpxTrackSegment;15 import org.openstreetmap.josm.data.gpx.IGpxTrackSegment; 16 16 import org.openstreetmap.josm.data.gpx.WayPoint; 17 17 import org.openstreetmap.josm.data.projection.ProjectionRegistry; … … 43 43 outer: 44 44 for (GpxTrack trk : data.tracks) { 45 for ( GpxTrackSegment segment : trk.getSegments()) {45 for (IGpxTrackSegment segment : trk.getSegments()) { 46 46 for (WayPoint curWp : segment.getWayPoints()) { 47 47 String curDateWpStr = (String) curWp.attr.get("time"); … … 85 85 Collections.sort(sortedEntries); 86 86 for (GpxTrack track : data.tracks) { 87 for ( GpxTrackSegment segment : track.getSegments()) {87 for (IGpxTrackSegment segment : track.getSegments()) { 88 88 long prevWpTime = 0; 89 89 WayPoint prevWp = null; … … 221 221 EastNorth en = ProjectionRegistry.getProjection().latlon2eastNorth(pos); 222 222 for (GpxTrack track : data.tracks) { 223 for ( GpxTrackSegment segment : track.getSegments()) {223 for (IGpxTrackSegment segment : track.getSegments()) { 224 224 long prevWpTime = 0; 225 225 WayPoint prevWp = null;
Note:
See TracChangeset
for help on using the changeset viewer.