I executed command "renderd -f -c /usr/local/etc/renderd.conf". I want to know how much time will it take to completely load India map tiles on local. asked 06 Jun '19, 06:59 Puranjay
showing 5 of 6
show 1 more comments
|
After you've done that, renderd will just sit there waiting for connections. When you request a local tile, you'll see "START TILE" and "END TILE" in the output. The second line tells you how long it took to do that tile. Tiles at different zoom levels will take different amounts of time to render.
permanent link
This answer is marked "community wiki".
answered 06 Jun '19, 10:24 SomeoneElse ♦ I will se "Start tile" and "End Tile" after execution of this command..Am I right?
(06 Jun '19, 10:52)
Puranjay
Here's an example from a server of mine . I zoomed in so that the web browser asked for some tiles, and the results (in my case from syslog as that's where renderd output is going) are as follows:
So rerendering those two tiles at zoom 13 took 5 seconds each.
(06 Jun '19, 11:09)
SomeoneElse ♦
If I will run this command before "renderd -f -c /usr/local/etc/renderd.conf" it won't show anything because tiles are still being loaded.
(06 Jun '19, 11:50)
Puranjay
I don't understand that last comment?
(06 Jun '19, 11:52)
SomeoneElse ♦
1
Puranjay, I have the feeling you are under the misconception that renderd is loading all the possible tiles from somewhere in one go. Instead it is sort of a server that renders (builds) a tile at at time from the data file on request as soon as it is asked to supply one to e.g. a web server. (I hope I explained that right, I am by no means an expert on this)
(06 Jun '19, 12:55)
TZorn
Yes I was thinking that rendered is loading all the tiles. So what command should be used for viewing the tiles?
(06 Jun '19, 13:25)
Puranjay
Point a web browser at the web server that has mod_tile installed, which passes the tile render request to renderd. The relevant line in the switch2osm guide is the one that says "Point a web browser at: http://yourserveripaddress/hot/0/0/0.png".
(06 Jun '19, 13:32)
SomeoneElse ♦
ok got it. Where can I change the zoom level for tile?
(06 Jun '19, 13:37)
Puranjay
In the web browser. https://switch2osm.org/manually-building-a-tile-server-18-04-lts/ suggests "In order to see tiles, we’ll cheat and use an html file “sample_leaflet.html” in mod_tile’s “extras” folder".
(06 Jun '19, 14:34)
SomeoneElse ♦
showing 5 of 9
show 4 more comments
|
I assume this largely depend on CPU, memory, disk speed. Since you provide none of those parameters, I would expect it will be hard to answer your questions.
But when I was following the wiki docs there was no command to provide the CPU parameters. It was asked only in osm2pgsql command.
I'm guessing you've followed https://switch2osm.org/manually-building-a-tile-server-18-04-lts/ and got as far as "Running renderd for the first time"?
Yes, exactly. But I want to know how much time will it take for execution of this command.
I am getting "debug: Creating and writing a metatile to /var/lib/mod_tile/ajt/0/0/0/0/0/0.meta" in console.
Strictly speaking, "renderd -f -c /usr/local/etc/renderd.conf" will never "finish executing" because it's a server that sits there until you tell it to stop (when running interactively like this, usually by pressing ^c).