[OSM-talk] setting up a new PostGIS server, now MapNik doesn't render PostGis data any more
Frederik Ramm
frederik at remote.org
Thu Apr 1 18:37:17 BST 2010
Hi,
Torsten Mohr wrote:
> so it is a problem of the settings? From googling it seems i need to
> set extent to -180,-90, 180,89.99 ?
Yes, something like that.
> Do i also need to change the SRS? At the moment it is set to:
>
> +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
The SRS in each of your layer descriptions that access PostGIS must be
changed to proj=latlon. The SRS of your map will remain whatever you
want the map to be produced in. Be aware that using an extent that is
larger than the map SRS allows might break things, so if you want to
produce maps in EPGS:900913 (normal tiles) then you should only specify
+/- 85 in your extent, not +/- 90.
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the talk
mailing list