I have implemented a tile server. But I haven't build any tile cache yet. For the very first time when I open a tile in browser, it took around 53seconds to load for a single tile(256*256, zoom level 1, openstreetmap carto style ).

My question is - Is this time taken normal? or Should I look into my Postgres configuration to further minimize the time. And Is there any minimum time for tile loading(without any prerender or cache) that can be achieved using postgres tuning?

asked 30 Jul '18, 21:49

anuranpal's gravatar image

anuranpal
2181215
accept rate: 0%

edited 30 Jul '18, 22:02

What zoom level and what stylesheet?

(30 Jul '18, 21:53) SomeoneElse ♦

zoom level one. openstreet carto style

(30 Jul '18, 21:55) anuranpal

This is strongly dependent on the zoom level we are talking about.

Fastest rendering would be in "high" zoomlevels like 18 or 19:

> time render_single_tile.py s osm.xml -o out.png -u /19/274383/180030.png real 0m11.298s user 0m1.152s sys 0m0.316s

If you give me an exact tile URL I can check how long it takes on my tileserver.

In case you wonder where to get render_single_tile.py have a look at

https://github.com/giggls/openstreetmap-carto-de/blob/master/scripts/render_single_tile.py

permanent link

answered 03 Aug '18, 15:29

giggls's gravatar image

giggls
12613
accept rate: 50%

Thank you so much for your help :-) @giggls

(11 Aug '18, 05:39) anuranpal
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:

×251
×147
×140
×16

question asked: 30 Jul '18, 21:49

question was seen: 334 times

last updated: 11 Aug '18, 05:39

powered by OSQA