osmfj / tileman

Renamed from tilecache to "tileman": please re-config your git repository. This is OpenStreetMap "Tile-cache" and "Tile-server" recipe with Nginx and embeded Lua. A backend is Tirex, mapnik and PostGIS.
http://osm.jp/
61 stars 17 forks source link

updatedb: support lower zoom expiration #29

Closed miurahr closed 11 years ago

miurahr commented 11 years ago

osm-expconv:

osm-updatedb: -update for osm-expconv change etc/osmdb.conf:

data/expire_list.example: for test purpose

Signed-off-by: Hiroshi Miura miurahr@linux.com

miurahr commented 11 years ago

Stephan Knauss suggest:

Are you aware that your lua script is missing to expire tiles which render_expired would have expired? You are missing to expire the metatile on z14 which contains the dirty z15 tile, as well as the upper metatiles towards lower zoom levels. render_expired controlled this with the parameters --min-zoom in combination with --touch-from

Now I support minzoom and maxzoom. Because tirex-batch is not supporting touch-from behaviour, I just change to generate not only larger zooms but also lower zooms.

miurahr commented 11 years ago

Stephan send me a patch. merge it.