2011/10/3 Gianks <[email protected]>:
> I've also looked at the Proj4 software and, always stading to what i've
> understood,
> it's a cli converter which accept args like:
> +proj=merc +lon_0=0 +k=1 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m
> +no_defs
> and convert from lat lon in the desired system.
>
> But again, not knowing the correct string to use with OSM is making me
> unable to obtain the box coordinates.


The string should be: "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0
+lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs
+over" if you have your data imported in spherical mercator into your
db (e.g. with osm2pgsql and the default projection option).

cheers,
Martin
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to