[Tile-serving] [openstreetmap/mod_tile] "render_expired" doesn't use TILEDIR from map name in /etc/renderd.conf when deciding if tiles exist already (Issue #286)
Hummeltech
notifications at github.com
Thu Mar 21 22:23:26 UTC 2024
Yes, that is correct, the `default` value for `RENDERD_TILE_DIR` is `/var/cache/renderd/tiles` and has been for as long as I can remember:
https://github.com/openstreetmap/mod_tile/blob/743cf651b1dfebb3f2feea36e25c9db1844c89fc/includes/render_config.h#L31
The issue you are running into is that `render_expired`, `render_list` and `render_speedtest` have never supported reading anything from a `renderd.conf` file until very recently (https://github.com/openstreetmap/mod_tile/commit/7389b160bf6af3c50272e369dd083717ad0c473b) and even with now (with that latest code which has not yet been released), still require specifying which `renderd.conf` file to read from. So, if you use a non-default `tile dir`, you must specify it using `--tile-dir` when using those applications (unless of course you are compiling it yourself from any commit starting with the aforementioned one.)
Furthermore, if you are using `mod_tile` with a non-default `tile dir`, I believe you will also need to specify `ModTileDir` (unless you have provided the proper `TILEDIR` value for the map layer (as you appear to have done)):
https://github.com/openstreetmap/mod_tile/blob/743cf651b1dfebb3f2feea36e25c9db1844c89fc/etc/apache2/renderd-example-map.conf#L22
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/286#issuecomment-2013954489
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/mod_tile/issues/286/2013954489 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240321/af397a31/attachment.htm>
More information about the Tile-serving
mailing list