Opened 9 years ago

Closed 5 years ago

#3191 closed enhancement (invalid)

Use expiry file list when rendering

Reported by: Rodolphe Quiédeville Owned by: jburgess777@…
Priority: major Milestone:
Component: mapnik Version:
Keywords: Cc:

Description

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

Attachments (2)

patch.p0 (3.3 KB) - added by Rodolphe Quiédeville 9 years ago.
patch generate_tiles.py to use expiry file
patch.diff (5.4 KB) - added by Rodolphe Quiédeville 9 years ago.
svn diff file

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by Rodolphe Quiédeville

Attachment: patch.p0 added

patch generate_tiles.py to use expiry file

comment:1 Changed 9 years ago by Rodolphe Quiédeville

Status: newaccepted

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

comment:2 Changed 9 years ago by Dane Springmeyer

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

$ svn diff generate_tiles.py > new_patch.diff

Changed 9 years ago by Rodolphe Quiédeville

Attachment: patch.diff added

svn diff file

comment:3 Changed 9 years ago by Rodolphe Quiédeville

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

comment:4 Changed 8 years ago by Ldp

Owner: changed from Rodolphe Quiédeville to jburgess777@…
Status: acceptedassigned

comment:5 Changed 5 years ago by math1985

Resolution: invalid
Status: assignedclosed

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.

Last edited 5 years ago by math1985 (previous) (diff)
Note: See TracTickets for help on using tickets.