NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the 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

khamooshi
146111219
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 ♦
28.1k48268433
accept rate: 22%

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:

×87
×80
×24

question asked: 29 Mar '16, 12:17

question was seen: 3,101 times

last updated: 29 Mar '16, 12:27

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