I followed this to setup postgis server with planet-latest.osm. I used generate_xml.py to generate stylesheets. Using this style sheet with mapnik produces a world map with no country boundaries or country name on it. What is the best way to render tiles that looks similar to official tiles.openstreetmap.org tiles.

For example, for same zoom, x, y, this is what i get:

enter image description here

And this is what tile.openstreetmap.org has:

enter image description here

  • do you have the world boundaries and coastline? svn.openstreetmap.org/applications/rendering/mapnik/…
    – Mapperz
    Commented Mar 28, 2012 at 19:04
  • @Mapperz, I just now fixed the issue. I did not have proj-epsg package installed. Installing it solve the problem.
    – Vikas
    Commented Mar 28, 2012 at 20:02
  • 1
    @Mapperz, Just did. However if someone can explain what proj-epsg provides and why installing that fixed the problem, I'll accept that as answer.
    – Vikas
    Commented Mar 28, 2012 at 20:21

1 Answer 1


I had proj-epsg package missing. Installing this package fixed the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.