Changeset 35978 in osm for applications/editors/josm/plugins/ColumbusCSV/src/org
- Timestamp:
- 2022-06-15T20:10:48+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/ColumbusCSV/src/org/openstreetmap/josm/plugins/columbusCSV/WayPointHelper.java
r34496 r35978 59 59 60 60 public static double getLonDist(WayPoint w1, WayPoint w2) { 61 LatLon ll = new LatLon(w1. getCoor().lat(), w2.getCoor().lon());62 return w1.g etCoor().greatCircleDistance(ll);61 LatLon ll = new LatLon(w1.lat(), w2.lon()); 62 return w1.greatCircleDistance(ll); 63 63 } 64 64 65 65 public static double getLatDist(WayPoint w1, WayPoint w2) { 66 LatLon ll = new LatLon(w2. getCoor().lat(), w1.getCoor().lon());67 return w1.g etCoor().greatCircleDistance(ll);66 LatLon ll = new LatLon(w2.lat(), w1.lon()); 67 return w1.greatCircleDistance(ll); 68 68 } 69 69
Note:
See TracChangeset
for help on using the changeset viewer.