[Tile-serving] [openstreetmap/osm2pgsql] Add lua hooks for processing diff files (#1526)
doskabouter
notifications at github.com
Tue Jun 15 19:42:27 UTC 2021
First off, I just found out that there's a discussions section here which would be better for this, sorry for that.
My goal is to be able to determine based on the exact changes which tiles to invalidate.
f.e. changed tags that are irrelevant for rendering don't need to invalidate anything, or changes in residential roads don't need to invalidate higher zoomlevel tiles.
It's probably doable with current software when only storing rendering-relevant tags, but I also want to do some analytics on the data occasionally.
My thought was that it would be nice if for every change/creation/deletion some lua method would be called (like f.e. osm2pgsql.process_relation) in which I could determine which zoomlevels (if any) to invalidate.
And as for persistent storage: I'm restricted ofcourse to what the lua api offers me and I'm not yet experienced with that
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1526#issuecomment-861781327
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20210615/3a7ae578/attachment.htm>
More information about the Tile-serving
mailing list