Overv / openstreetmap-tile-server

Docker file for a minimal effort OpenStreetMap tile server
Apache License 2.0
1.23k stars 485 forks source link

Tiles expiration default value #334

Open Kofl opened 2 years ago

Kofl commented 2 years ago

Hi,

are the rendered tiles expiring after a default value and then re-rendered?

If that is the case, would the tipp in #32 still be valid to not re-render anything?

3 days is default for declaring tiles old if not configured otherwise. Easy solution: in /var/lib/mod_tile and/or /var/lib/mod_tile/ajt create a file called planet-import-complete with the creation date of your last postgres db import. (e.g.: touch -d "2 days ago" planet-import-complete )

Thanks