I imported germany and tried to render a tile on 10/535/341. It took like 10 Minutes.


  • 16gb Ram
  • 8 Cores

I used the openstreetmap carto style and my import command was:

osm2pgsql --create --slim --flat-nodes /home/renderer/update_tiles/flat-nodes.raw --hstore -C 13000 --number-processes 8 -d gis -h -p 5432 -U renderer --tag_transform-script /home/renderer/src/style/openstreetmap-carto.lua -S /home/renderer/src/openstreetmap-carto.style /home/renderer/import_file.osm.pbf

I tried to tune my postgres server through configuration but nothing helped.

Important is that the postgres and tile server are running in docker containers.

I checked the disk writing speed with:

sudo hdparm -t /dev/mapper/

And got Timing buffered disk reads: 3232 MB in 3.00 seconds = 1077.17 MB/sec

My renderd.conf:




My render Command:

renderd -f -c /usr/local/etc/renderd.conf

If you need any more information just ask and thanks for reading and maybe helping.

asked 10 Mar, 14:02

Arthurle's gravatar image

accept rate: 0%

It is not unusual for tiles below zoom 12 to be rather slow. Have you created the indexes as recommended in the openstreetmap-carto setup instructions? That may help a little but not much.

Note that if you've got a standard renderd setup, you have not rendered one tile but 64 tiles (the "meta tile" on which your tile resides). And Germany only has about 20 of them - so even if they take 10 minutes to render, you'll be done in 4 hours. Everyone pre-renders tiles on zoom 0-12 or so.

permanent link

answered 10 Mar, 14:40

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 24%

"Note that if you've got a standard renderd setup, you have not rendered one tile but 64 tiles (the "meta tile" on which your tile resides)"

What do you mean?

Why are there 64 tiles rendered for every actual tile? is it always like that? How to turn that off?

(11 Mar, 07:39) kartman1

This is explained in the context of "Tirex" here but just as valid for renderd setups: https://wiki.openstreetmap.org/wiki/Tirex/Overview#Metatiles -- You do not want to switch it off.

(11 Mar, 07:43) Frederik Ramm ♦

Indexing reduced the render time by 25%. After that i tuned my postgis with this turorial https://wiki.openstreetmap.org/wiki/User:Species/PostGIS_Tuning which saved me another 20%

(11 Mar, 10:54) Arthurle
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: 10 Mar, 14:02

question was seen: 258 times

last updated: 11 Mar, 10:54

powered by OSQA