Fetching tiles at /buildingclip does not work with this renderd.conf
[renderd]
stats_file=/var/run/renderd/renderd.stats
socketname=/var/run/renderd/renderd.sock
num_threads=4
tile_dir=/var/lib/mod_tile
[mapnik]
plugins_dir=/usr/lib/mapnik/input
font_dir=/usr/share/fonts/truetype/
font_dir_recurse=true
[default]
URI=/osm/
XML=/home/ubuntu/mapnik-stylesheets/osm.xml
[carto]
URI=/carto/
XML=/home/ubuntu/openstreetmap-carto/osm-carto.xml
[noamenity]
XML=/home/ubuntu/openstreetmap-carto/noamenity.xml
[nolandcover]
XML=/home/ubuntu/openstreetmap-carto/nolandcover.xml
[roadbbox]
XML=/home/ubuntu/openstreetmap-carto/roadbbox.xml
[z14road]
XML=/home/ubuntu/openstreetmap-carto/z14_road.xml
[buildingclip]
URI=/buildingclip/
XML=/home/ubuntu/openstreetmap-carto/building_clip.xml
But it does work with this second renderd.conf
[renderd]
stats_file=/var/run/renderd/renderd.stats
socketname=/var/run/renderd/renderd.sock
num_threads=4
tile_dir=/var/lib/mod_tile
[mapnik]
plugins_dir=/usr/lib/mapnik/input
font_dir=/usr/share/fonts/truetype/
font_dir_recurse=true
[default]
URI=/osm/
XML=/home/ubuntu/mapnik-stylesheets/osm.xml
[carto]
URI=/carto/
XML=/home/ubuntu/openstreetmap-carto/osm-carto.xml
[buildingclip]
URI=/buildingclip/
XML=/home/ubuntu/openstreetmap-carto/building_clip.xml
[noamenity]
XML=/home/ubuntu/openstreetmap-carto/noamenity.xml
[nolandcover]
XML=/home/ubuntu/openstreetmap-carto/nolandcover.xml
[roadbbox]
XML=/home/ubuntu/openstreetmap-carto/roadbbox.xml
[z14road]
XML=/home/ubuntu/openstreetmap-carto/z14_road.xml
The only difference is that the buildingclip style has been moved up. Perhaps the styles with no URI parameter are screwing up the config parsing?
Both config files result in a line with [notice] Loading tile config buildingclip at /buildingclip/ for zooms 0 - 18 from tile directory /var/lib/mod_tile with extension .png and mime type image/png
Adding AddTileConfig /buildingclip/ buildingclip to the apache config for the first renderd.conf causes it to work.
Fetching tiles at /buildingclip does not work with this renderd.conf
But it does work with this second renderd.conf
The only difference is that the buildingclip style has been moved up. Perhaps the styles with no URI parameter are screwing up the config parsing?
Both config files result in a line with
[notice] Loading tile config buildingclip at /buildingclip/ for zooms 0 - 18 from tile directory /var/lib/mod_tile with extension .png and mime type image/pngAdding
AddTileConfig /buildingclip/ buildingclipto the apache config for the first renderd.conf causes it to work.