Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Use expiry file list when rendering #3191

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments
Closed

Use expiry file list when rendering #3191

openstreetmap-trac opened this issue Jul 23, 2021 · 4 comments

Comments

@openstreetmap-trac
Copy link

Reporter: rodolphe[at]quiedeville.org
[Submitted to the original trac issue database at 1.45pm, Friday, 27th August 2010]

osm2pgsql can generate an expiry file when loading data, I propose to add an option on generate_tiles.py to use this file and render expired tile instead of ignore them.
I'll attach a proposed patch on this ticket

@openstreetmap-trac
Copy link
Author

Author: rodolphe[at]quiedeville.org
[Added to the original trac issue at 7.21pm, Friday, 27th August 2010]

If you want to test my patch.
To use an expiry file you have to set the env var MAPNIK_EXPIRY_FILE to the filename generated by osm2pgsql

@openstreetmap-trac
Copy link
Author

Author: springmeyer
[Added to the original trac issue at 7.45pm, Friday, 27th August 2010]

rodolphe, better if you applied a diff generated from svn.

$ svn diff generate_tiles.py > new_patch.diff

@openstreetmap-trac
Copy link
Author

Author: rodolphe[at]quiedeville.org
[Added to the original trac issue at 7.58pm, Friday, 27th August 2010]

@springmeyer thanks for your trick, I attached the svn diff file.

@openstreetmap-trac
Copy link
Author

Author: math1985
[Added to the original trac issue at 2.23pm, Monday, 31st March 2014]

This issue should be reported at the Mapnik developers:
https://github.com/mapnik/mapnik

Paradoxically, the Mapnik category here is only for the Mapnik stylesheet
used on openstreetmap.org, not for issues with mapnik itself.

I will close this issue now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant