Changeset 35978 in osm for applications/editors/josm/plugins/ColumbusCSV
- Timestamp:
- 2022-06-15T20:10:48+02:00 (3 years ago)
- Location:
- applications/editors/josm/plugins/ColumbusCSV
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/ColumbusCSV/build.xml
r35948 r35978 4 4 <property name="commit.message" value="Commit message"/> 5 5 <!-- Enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="1 7715"/>6 <property name="plugin.main.version" value="18494"/> 7 7 8 8 <!-- Plugin meta data --> -
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.