NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum


So after I installed and tried the two tutorials of Mapnik I found on the wiki (with success). I noted that all tutorials I seen on the web are basically using shapefiles. My question is : Is it possible to render on mapnik using .osm files ? If yes, please suggest me some tutorials showing it.

Thank you in advance for your help.

asked 21 Apr '16, 14:57

IDRI%20Sofiane's gravatar image

IDRI Sofiane
accept rate: 0%

In my experience, it used to work but no longer does and you'll need to put your .osm files into a Postgresql database.

I have some scripts that build topo maps for areas I hike that mix OSM data and elevation data (from other sources). Those scripts broke at some update of Mapnik about two years and I had to rewrite them all to pull the OSM data from a database instead of a .osm file. I recall asking on a Mapnik forum about that and was basically told they weren't interested in supporting/fixing .osm file support.

permanent link

answered 21 Apr '16, 15:17

n76's gravatar image

accept rate: 17%

Thank you for your clarification @stf

(21 Apr '16, 20:00) IDRI Sofiane

I might be misunderstanding what you're asking, but isn't that what is essentially doing?

permanent link

answered 21 Apr '16, 15:12

SomeoneElse's gravatar image

SomeoneElse ♦
accept rate: 16%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 21 Apr '16, 14:57

question was seen: 3,346 times

last updated: 21 Apr '16, 20:00

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum