[Tile-serving] mod_tile: setup of zoomlevel range

Frederik Ramm frederik at remote.org
Mon Apr 7 10:07:01 UTC 2014


On 04/07/2014 11:35 AM, Martin Koppenhoefer wrote:
> 
> 2014-04-06 15:37 GMT+02:00 Sven Geggus <lists at fuchsschwanzdomain.de
> <mailto:lists at fuchsschwanzdomain.de>>:
> 
> 
>     Looks like the tile range in use is hardcoded into 0-18 (0-20 in
>     newer Versions) mod_tile but can be configured for tirex-backend).
> 
>     How can I change this range into e.g 0-19?
> 
> 
> 
> you have to recompile mod_tile after you changed the range in the source
> code.

If you use LoadTileConfigFile (and, Sven, not LoadTileConfig which I
mistakenly said in a previous private message to you, sorry), then a
MAX_ZOOM given in the renderd.conf

https://github.com/openstreetmap/mod_tile/blob/6c2cb243e4c8b047950ab8062cd66245f20a5d2f/src/mod_tile.c#L1892

will be honoured

https://github.com/openstreetmap/mod_tile/blob/6c2cb243e4c8b047950ab8062cd66245f20a5d2f/src/mod_tile.c#L1787

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"



More information about the Tile-serving mailing list