See: http://forum.openstreetmap.org/viewtopic.php?pid=330395#p330395 Hello. i have a few Questions: I use debug with: tail -f /var/log/syslog |grep renderd At first: If i want to Render Tiles, it throws me an errormessage: The tile is dirty. How can i skip this? Then: It takes long to Render tiles... After 10 Seconds i get a timeout (if it doesnt throw the errormessage dirty). How can i Change the Timeout to X Seconds? Buffering: I want that the renderjob do the rendeing in the background, and dont start it just when it is requested. Is there a method? Updates: for example my tiles are old (one Month) is there a method to update the Database? Whats the fasted Method? Thank you! :-) asked 25 Apr '13, 19:19 asmardemir |
(It is possibly better to ask these as separate questions) What do you mean that it throws an error message that the tile is dirty? Dirty tiles are a normal process and simply means they need re-rendering, as the content might have changed and are thus outdated. This should not be an error. If you don't use diff files to keep the database up-to-date, then the likely cause for this is that you didn't specify the date of the imported data via the file "planet-import-complete", in which case all tiles older than 3 days are considered as outdated. You can change the timeout in the apache site configuration (see https://github.com/openstreetmap/mod_tile/blob/master/debian/tileserver_site#L40 ). You can use the render_list utility to pre-seed the tile cache. It is usually sensible to do this for at least all of the tiles up to about z12. Lowzoom tiles are usually to slow to render on the fly, whereas it is possible to do so for high zoom tiles. With regard to updating there is a description of how to do this on http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/ . Assuming your db is up-to-date (either via a fresh import or via diff imports), you can use the utility render_old to re-render outdated tiles. answered 26 Apr '13, 08:55 apmon ok thank you. Now i changed the Timeout to 5 minutes (300 Seconds) but it takes so long and i get timeouts. How can i upgrade the Performance of the renderer? Best regards
(26 Apr '13, 17:20)
asmardemir
|