[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 18:34:15 UTC 2024
Yes, it shouldn't be re-rendering, unless you're using `--force`.
https://github.com/openstreetmap/mod_tile/blob/2a4532f00261954aa12193bf7d8cd03ed43ff80f/src/render_list.c#L382-L389
It's likely that it's being re-rendered because the default value for `tile_dir` is `/var/cache/renderd/tiles` and your tiles are under `/var/lib/mod_tile` so it is unable to find the file in order to `stat` it and determine whether it needs to be rendered or not. You'll need to specify `--tile-dir /var/lib/mod_tile` in order to tell it to look for tiles in the right spot.
The comment mentioned by @SomeoneElseOSM also refers to some recent updates allowing you to override the defaults for several options with the corresponding values from the specified `renderd.conf` file, but that has not been released. So, unless you are compiling this yourself, you won't be able to use the new option.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/286#issuecomment-2013250452
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/mod_tile/issues/286/2013250452 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240321/ca2ebbac/attachment-0001.htm>
More information about the Tile-serving
mailing list