Hello,

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
16336
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

stf's gravatar image

stf
7.6k963120
accept rate: 19%

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 https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ is essentially doing?

permanent link

answered 21 Apr '16, 15:12

SomeoneElse's gravatar image

SomeoneElse ♦
32.0k63330748
accept rate: 15%

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×385
×312
×64
×5

question asked: 21 Apr '16, 14:57

question was seen: 1,802 times

last updated: 21 Apr '16, 20:00

powered by OSQA