Since 
https://github.com/openstreetmap/mod_tile/commit/d82fccea58952ced2aaa9959a20cdbd1221ad3e3,
 `load_tile_config` uses the compile-time `RENDERD_TILE_DIR` when `TILEDIR` is 
not set, which means the `_add_tile_config` fallback to `ModTileTileDir` is 
never used, and the directive is ignored on all `LoadTileConfigFile` maps. This 
is the case on tile.osm.org, so current master would not succeed with their 
renderd config (which has `tile_dir` only in `[renderd]` and `ModTileTileDir`, 
with no `TILEDIR` per map). This PR fixes that to how it was in release v0.8.1 
as prior to 
https://github.com/openstreetmap/mod_tile/commit/d82fccea58952ced2aaa9959a20cdbd1221ad3e3
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/mod_tile/pull/518

-- Commit Summary --

  * use ModTileTileDir again for maps without a TILEDIR

-- File Changes --

    M src/mod_tile.c (3)

-- Patch Links --

https://github.com/openstreetmap/mod_tile/pull/518.patch
https://github.com/openstreetmap/mod_tile/pull/518.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/pull/518
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/mod_tile/pull/[email protected]>
_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving

Reply via email to