[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
Fri Mar 8 04:05:14 UTC 2024


Hello @SomeoneElseOSM, I have some good news for you. `render_expired` et. al. now support an additional option `--config` which directs the application to read from the given `renderd.conf` file in order to obtain options to use for most of the available command line options (including `max-zoom`, `min-zoom`, `num-threads`, `socket` & `tile-dir` [which you are most interested in])

This would make the command you need to run more like this:
```shell
sudo -u _renderd render_expired --config /etc/renderd.conf --map=s2o --min-zoom=1 < /path/to/dirty_tiles.txt
```

Of course, if you still don't have an environment to build and test it out, hopefully it resolves your issue when the next release is made, otherwise, let me know if it is of assistance to you!

Thanks!

https://github.com/openstreetmap/mod_tile/blob/dd90553536437dad098e0398d7acc34deccb8f63/src/render_expired.c#L259-L298


-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/286#issuecomment-1985002993
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/mod_tile/issues/286/1985002993 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240307/ba5e0785/attachment.htm>


More information about the Tile-serving mailing list