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

Dirk Stöcker openstreetmap at dstoecker.de
Mon Feb 21 11:57:37 GMT 2011


On Mon, 21 Feb 2011, Sebastian Klein 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.
>
> It breaks imagery offsets. (But on the plus side fixes #5789 :)  )

The storage of these is a relatively new and hard to use feature, so I 
assume we can live with that.

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




More information about the josm-dev mailing list