[josm-dev] LatLon.greatCircleDistance Bug?

Tobias Wendorff tobias.wendorff at uni-dortmund.de
Mon Jan 19 16:15:18 GMT 2009


Hi Detlef,

Detlef Reichl schrieb:
> src/org/openstreetmap/josm/gui/MapScaler.java  line 30
> src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java  line
> 1197

even if I don't like the spherical law of cosines formula, it's
done correctly:

src/org/openstreetmap/josm/data/coor/LatLon.java line 106

Perhaps, someone could change the radius to 6378137 (WGS84 equatorial
radius) or 6371000 (geometric mean radius of WGS84).

The bug must be in the other parts. Sorry, I just started with JOSM ...

Tried to open a TRAC?

Best regards,
Tobias




More information about the josm-dev mailing list