[Tile-serving] [openstreetmap/osm2pgsql] Caching of OSM data and/or geometries in flex backend (#1164)

Jochen Topf notifications at github.com
Sat May 9 19:01:35 UTC 2020


With the flex backend it is possible to add the same OSM object into multiple tables. Currently the code doesn't do any caching. If the object is written to another table (i.e. if `add_row()` is called a second time) nodes in a way and members of a relation are re-requested from the database and the geometry is rebuilt.

We should have some kind of caching here that
* reuses the data we just got from the database
* reuses the geometry (if possible, depends on the geometry transformation used and parameters)

-- 
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/1164
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200509/01a5c743/attachment.htm>


More information about the Tile-serving mailing list