[josm-dev] LatLon.greatCircleDistance Bug?

Detlef Reichl detlef.reichl at gmx.org
Mon Jan 19 15:16:13 GMT 2009


Hi,

I stumbled over a possible bug in the greatCircleDistance calculation of
the LatLon class. If you zoom out in JOSM so that the MapScale gets
beyond aprox 430 kilometers, the shown value will get _lower_.

I think, that it is a bug in the greatCircleDistance calculation, cause
if you zoom further out, at some point the map icons and the names of
the icons will reappear. They disappear quite early for me, because I
have set mappaint.showicons=400 mappaint.shownames=50. And the
greatCircleDistance method is the only one I found, which is involved in
MapScaler and MapPaintVisitor in respect to this strange behaviour.

Cheers, detlef





More information about the josm-dev mailing list