Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have postgresql with postgis and mapnik, I need to generate a tiled world map with only country contours and country name that are displayed at all zoom levels, no extra info.

How can I do it without using osm2pgsql importing all the planet.osm (20gb)?

I generate a map using for example cyprus.osm but the area of Cyprus is now of course filled with additional information not required that slow down the generation process.

If i start the utility without use osm2pgsql I get many errors.. there is nothing like a void osm file?

How can I configure the map style to display only country contours and name, at all zoom levels?

Thanks very much!

share|improve this question
How did you get on with this? I'm facing the same issue -- I want to generate really simple map tiles, but I cannot load the 21GB planet.osm.bz2 file into Maperitive on my machine without it grinding to a halt. I'm now looking at using pgsql. I'd be interested in hearing how you got on with this. – Drew Noakes Jan 6 '12 at 16:20

You can download the Administrative Boundaries from here


switzerland.administrative.osm.bz2 (9.4M) shapefile.

Contours from

(same source as

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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