Why not ask your question on the new OpenStreetMap Community Forum?

We have built a tile server for the whole planet using Mapnik and Mod_tile, however rendering is slow for populated regions (there are a lot of points and lines to be rendered). I implemented a simple application that pre-renders tiles for a given polygon. Now I want to use this app for all populated places in the world.

Since we don't want to pre-render tiles for the whole planet, the polygons should be at city level and cover small portion of the planet. After searching on the Internet I could only find shape files with points, or with polygons but at country level which are not useful in our case

Is there anyway to extract this data directly from OSM database?

asked 29 Mar '16, 12:17

khamooshi's gravatar image

accept rate: 50%

Interesting approach.

The only available data set which I'm aware of is the Natural Earth one at 1:10M resolution. This has faults but might be fine for your needs.

I have been exploring how one might create such data directly from OSM, but this is very much work in progress, see various posts on my blog.

permanent link

answered 29 Mar '16, 12:27

SK53's gravatar image

SK53 ♦
accept rate: 22%

Your answer
toggle preview

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](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:


question asked: 29 Mar '16, 12:17

question was seen: 2,763 times

last updated: 29 Mar '16, 12:27

powered by OSQA