[josm-dev] LatLon.greatCircleDistance Bug?

Detlef Reichl detlef.reichl at gmx.org
Mon Jan 19 15:53:42 GMT 2009


Am Montag, den 19.01.2009, 16:47 +0100 schrieb Tobias Wendorff:
> 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?

Hi Tobias,

src/org/openstreetmap/josm/gui/MapScaler.java  line 30
src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java  line
1197

Cheers, detlef





More information about the josm-dev mailing list