This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

IS Pre-rendering tiles to a certain zoom level is a pre-requisite?

0

Hi,

I am planning to set up a map tile server and I was going through forum articles on improving tile rendering performance. Is pre-rendering tiles to a certain zoom level a prerequisite for tile rendering performance or using indexes and fine-tuning Postgres DB we can achieve the required performance expectations?

asked 09 Nov '20, 08:05

jchrisprabu's gravatar image

jchrisprabu
0223
accept rate: 0%


One Answer:

0

Rendering tiles on zoom levels <= 8 will always be very slow, and several modifications are required to the osm-carto style if you want to render these "on the fly" with acceptable performance. Generally, pre-rendering the world on z0-12 is recommended when you set up a tile server. You can get away with less but you are very unlikely to get away without pre-rendering z0-8 at least.

answered 09 Nov '20, 08:40

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Thank you Frederik

(09 Nov '20, 08:57) jchrisprabu

Source code available on GitHub .