[Tile-serving] [openstreetmap/osm2pgsql] Add tilesets to flex output allowing more flexible expire configuration (PR #1912)
Paul Norman
notifications at github.com
Tue Feb 14 08:22:17 UTC 2023
> 2. Allowing for flexible expire based on knowledge of the style file is part of the reason for this PR. Because the expire to the different tilesets is based on table columns this works as long as you have geometries with different expire needs in different tables. If you have one large table with everything in it, this design can not help you there. I thought about doing this differently but that would have meant giving the user in Lua some way of deciding for each and every geometry how to expire it, i.e. which tileset to expire to and with which configuration. This would have made the configuration much more complex and slower (because there would be a lot more Lua logic involved). You only get the full advantage of selectively re-rendering only some layers if the results doesn't end up in one large tile, but several tiles based only on some layers.
I have one tileset. Say it's generated from a DB with a buildings table and a admin boundary table. How do I set it so I get z14-z15 expiry on buildings and z3-z15 expiry on admin boundary changes?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1912#issuecomment-1429314082
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/pull/1912/c1429314082 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230214/5b998eb0/attachment.htm>
More information about the Tile-serving
mailing list