Changeset 5187 in josm
- Timestamp:
- Apr 15, 2012 12:25:21 AM (14 months ago)
- File:
-
- 1 edited
-
trunk/src/org/openstreetmap/josm/data/osm/Way.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/Way.java
r5059 r5187 581 581 for (Node n:nodes) { 582 582 if (lastN != null) { 583 LatLon coor = n.getCoor(); 584 if (coor != null) { 585 length += coor.greatCircleDistance(lastN.getCoor()); 583 LatLon lastNcoor = lastN.getCoor(); 584 LatLon coor = n.getCoor(); 585 if (lastNcoor != null && coor != null) { 586 length += coor.greatCircleDistance(lastNcoor); 586 587 } 587 588 }
Note: See TracChangeset
for help on using the changeset viewer.
