Changeset 35221 in osm for applications/editors/josm/plugins/NanoLog
- Timestamp:
- 2019-11-03T22:22:25+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
r35217 r35221 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="15 496"/>7 <property name="plugin.main.version" value="15502"/> 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
r35218 r35221 12 12 import org.openstreetmap.josm.data.coor.LatLon; 13 13 import org.openstreetmap.josm.data.gpx.GpxData; 14 import org.openstreetmap.josm.data.gpx.GpxTrack; 14 import org.openstreetmap.josm.data.gpx.IGpxTrack; 15 15 import org.openstreetmap.josm.data.gpx.IGpxTrackSegment; 16 16 import org.openstreetmap.josm.data.gpx.WayPoint; … … 42 42 long firstGPXDate = -1; 43 43 outer: 44 for (GpxTrack trk : data.tracks) { 44 for (IGpxTrack trk : data.tracks) { 45 45 for (IGpxTrackSegment segment : trk.getSegments()) { 46 46 for (WayPoint curWp : segment.getWayPoints()) { … … 84 84 //int ret = 0; 85 85 Collections.sort(sortedEntries); 86 for (GpxTrack track : data.tracks) { 86 for (IGpxTrack track : data.tracks) { 87 87 for (IGpxTrackSegment segment : track.getSegments()) { 88 88 long prevWpTime = 0; … … 220 220 public static long getGpxDate(GpxData data, LatLon pos) { 221 221 EastNorth en = ProjectionRegistry.getProjection().latlon2eastNorth(pos); 222 for (GpxTrack track : data.tracks) { 222 for (IGpxTrack track : data.tracks) { 223 223 for (IGpxTrackSegment segment : track.getSegments()) { 224 224 long prevWpTime = 0;
Note:
See TracChangeset
for help on using the changeset viewer.