[josm-dev] LatLon.greatCircleDistance Bug?

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


Hi Detlef,

Detlef Reichl schrieb:
> 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.

can you give me the lines and filenames?

Best,
Tobias




More information about the josm-dev mailing list