[Tile-serving] [openstreetmap/osm2pgsql] Add tilesets to flex output allowing more flexible expire configuration (PR #1912)
Jochen Topf
notifications at github.com
Tue Feb 14 16:18:38 UTC 2023
@joto commented on this pull request.
> + .. " maxzoom=" .. ts:maxzoom()
+ .. " filename=" .. ts:filename()
+ .. " schema=" .. ts:schema()
+ .. " table=" .. ts:table()
+ .. " (" .. tostring(ts) .. ")")
+end
+print(")")
+
+local tables = {}
+
+tables.pois = osm2pgsql.define_node_table('pois', {
+ { column = 'tags', type = 'jsonb' },
+ -- Zero, one or more tilesets are referenced in an `expire` field in
+ -- the definition of any geometry column using the Web Mercator (3857)
+ -- projection.
+ { column = 'geom', type = 'point', not_null = true, expire = { { tileset = 'pois' } } },
Good idea. Added.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1912#discussion_r1106050561
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/pull/1912/review/1297944367 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230214/bfb9561d/attachment.htm>
More information about the Tile-serving
mailing list