[OSM-dev] Which SRID in PostGIS for Mapnik rendering is needed?

sly (sylvain letuffe) liste at letuffe.org
Thu Mar 19 18:02:26 GMT 2009


> My osm tables use Google Mercartor (SRID= 900913) What is mapnik  
> expecting? 3395 ?

No it's good. If you've used osm2pgsql to populate the db, and if you use a 
copy of the osm.xml
( starting with :
<Map bgcolor="#b5d0d0" srs="+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">
)

Then everything should be fine.

Access restrictions at postgres level ?
Turn on the logs of postgres and try some custom basic queries to see if the 
data is here.

select * from planet_osm_roads limit 1;


-- 
sly 
Sylvain Letuffe liste at letuffe.org
qui suis-je : http://slyserv.dyndns.org






More information about the dev mailing list