[OSM-dev] Algorithm for converting lat/lon into Mercator as used in OSM PostGIS?
nick at hogweed.org
Sun Mar 11 11:24:41 GMT 2007
> see below
Tried this (literally direct copy and paste) but I don't get the same answer
as the Mapnik conversion. For example, with bbox -0.75, 51.02, -0.7, 51.07
here is what I get from a test program:
Mapnik projection conversion, using PROJ.4 (correct with respect to the
Older OSM Mercator conversion code:
Your sample code:
The last one seems to be in the wrong scale, as the box is supposed to be
about 6km x 9km. Are there any other parameters I need to set?
More information about the dev