[OSM-dev] Problem displaying OSM coastline shapefiles on Mapnik (Freemap)

Nick Whitelegg nick at hogweed.org
Thu May 10 22:17:43 BST 2007

Hello everyone,

I'm trying to display sea and coastlines on Freemap using the shapefiles at 
artem.dev.openstreetmap.org. However I'm having no success - it doesn't show 
up (test area = Ventnor, Isle of Wight, UK).

I think it must be something to do with projection as I had similar problems 
trying to get SRTM contours to show up. I tried the exact projection string 
in the current version of osm.xml i.e.
<Layer name="coast-poly" status="on" srs="+proj=merc +datum=WGS84 +over">

            <Parameter name="type">shape</Parameter>

but had no luck with that.

Then I noticed all my other OSM layers for Freemap had this value instead (not 
sure why, as it says 'latlong'):

<Layer name="coast-poly" status="on" srs="+proj=latlong +ellps=GRS80 

The OSM coordinates are in mercator projection.

The full XML file is at


Any ideas what might be wrong here?


More information about the dev mailing list