Hi, I struggle to change the tile directory for the rendering tool chain. I changed /etc/renderd.conf:
Renderd saves the tiles in this directory, so that works fine. But apache still seems to try to get the tiles from the default path "/var/lib/mod_tile". I couldn't find any other setting where to tell apache2 where it can find the tiles. I also tried to activate the option
in this file "/etc/apache2/sites-available/tileserver_site.conf". But there is no difference. The apache2 log file says "Loading tile config default at /osm/ for zooms 0 - 20 from tile directory /var/lib/mod_tile with extension .png and mime type image/png" So somewhere this default tile directory overrides the renderd.conf tile_dir. Does anyone know where I can change this? asked 14 Apr '20, 22:25 Anders2 |
Found out why. Maybe it helps others to solve a similar problem: The tile directory must be changed in the [renderd]section and added in the [default] section!
AND
I think the default /etc/renderd.conf file didn't contain the "TILEDIR=..." so it is not intuitive to add the path to this section as well. answered 14 Apr '20, 23:56 Anders2 |