[josm-dev] projection Mercator, set EPSG 3785 instead of EPSG 3857

Dirk Stöcker openstreetmap at dstoecker.de
Mon Feb 21 10:24:02 GMT 2011


On Sun, 20 Feb 2011, Josh Doe wrote:

> What timing. I just created a wiki page on this very subject. [1]
>
> I've been meaning to submit a bug, but the "Mercator" projection in
> JOSM is NOT EPSG:3857 as it claims, I'm not sure what EPSG or ESRI
> code it corresponds to.

Well, we can fix JOSM's internal Mercartor without side effects, as 
currently it is never exposed outside (for WMS it is silently [and 
slightly false] converted to EPSG:4326).

It should be as simply as multiplying with 6378137.0.

I did so in Revision 3922.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)




More information about the josm-dev mailing list