Changeset 35217 in osm for applications


Ignore:
Timestamp:
2019-11-02T15:40:32+01:00 (5 years ago)
Author:
donvip
Message:

update to JOSM 15496

Location:
applications/editors/josm/plugins/NanoLog
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/NanoLog/build.xml

    r34533 r35217  
    55    <property name="commit.message" value="NanoLog"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="14153"/>
     7    <property name="plugin.main.version" value="15496"/>
    88    <property name="plugin.author" value="Ilya Zverev"/>
    99    <property name="plugin.class" value="nanolog.NanoLogPlugin"/>
  • applications/editors/josm/plugins/NanoLog/src/nanolog/Correlator.java

    r34533 r35217  
    1313import org.openstreetmap.josm.data.gpx.GpxData;
    1414import org.openstreetmap.josm.data.gpx.GpxTrack;
    15 import org.openstreetmap.josm.data.gpx.GpxTrackSegment;
     15import org.openstreetmap.josm.data.gpx.IGpxTrackSegment;
    1616import org.openstreetmap.josm.data.gpx.WayPoint;
    1717import org.openstreetmap.josm.data.projection.ProjectionRegistry;
     
    4343        outer:
    4444        for (GpxTrack trk : data.tracks) {
    45             for (GpxTrackSegment segment : trk.getSegments()) {
     45            for (IGpxTrackSegment segment : trk.getSegments()) {
    4646                for (WayPoint curWp : segment.getWayPoints()) {
    4747                    String curDateWpStr = (String) curWp.attr.get("time");
     
    8585        Collections.sort(sortedEntries);
    8686        for (GpxTrack track : data.tracks) {
    87             for (GpxTrackSegment segment : track.getSegments()) {
     87            for (IGpxTrackSegment segment : track.getSegments()) {
    8888                long prevWpTime = 0;
    8989                WayPoint prevWp = null;
     
    221221        EastNorth en = ProjectionRegistry.getProjection().latlon2eastNorth(pos);
    222222        for (GpxTrack track : data.tracks) {
    223             for (GpxTrackSegment segment : track.getSegments()) {
     223            for (IGpxTrackSegment segment : track.getSegments()) {
    224224                long prevWpTime = 0;
    225225                WayPoint prevWp = null;
Note: See TracChangeset for help on using the changeset viewer.