- Timestamp:
- 2009-08-27T14:24:03+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java
r1911 r1998 124 124 for (WayPoint tpt : trkseg) { 125 125 if(last != null){ 126 result += last.getCoor().greatCircleDistance(tpt.getCoor()); 126 Double d = last.getCoor().greatCircleDistance(tpt.getCoor()); 127 if(!d.isNaN() && !d.isInfinite()) 128 result += d; 127 129 } 128 130 last = tpt;
Note:
See TracChangeset
for help on using the changeset viewer.