Changeset 19681 in osm for applications/editors/josm/plugins/measurement/src
- Timestamp:
- 2010-01-30T20:10:15+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementLayer.java
r18595 r19681 32 32 import org.openstreetmap.josm.data.coor.LatLon; 33 33 import org.openstreetmap.josm.data.gpx.GpxTrack; 34 import org.openstreetmap.josm.data.gpx.GpxTrackSegment; 34 35 import org.openstreetmap.josm.data.gpx.WayPoint; 35 36 import org.openstreetmap.josm.data.osm.visitor.BoundingXYVisitor; … … 316 317 317 318 for (GpxTrack trk : gpx.data.tracks) { 318 for ( Collection<WayPoint> trkseg : trk.trackSegs) {319 for(WayPoint p: trkseg ){319 for (GpxTrackSegment trkseg : trk.getSegments()) { 320 for(WayPoint p: trkseg.getWayPoints()){ 320 321 points.add(p); 321 322 }
Note:
See TracChangeset
for help on using the changeset viewer.