[OSM-dev] Projection code

Immanuel Scholz immanuel.scholz at gmx.de
Wed Mar 22 09:46:15 GMT 2006


> Can someone point me to the code to project (lat, lon)  to (x,y)
> please? I've had a look around on the svn, but can't download it here
> to search.

In JOSM it is in the Mercator class (for Mercator projection) or the EPSG
class (for EPSG:4263). You probably want mercator (like the applet):

http://www.eigenheimstrasse.de/svn/josm/src/org/openstreetmap/josm/data/projection/Mercator.java


Ciao, Imi.






More information about the dev mailing list