[Tile-serving] [openstreetmap/osm2pgsql] Supporting locations_on_ways format extension? (Discussion #1519)
Sarah Hoffmann
notifications at github.com
Mon Jun 6 10:09:18 UTC 2022
The file format requires fundamental changes to how we process the data even for the most simple case of non-slim mode without any second stage processing: When processing relation, osm2pgsql currently collects way node IDs from the middle way storage and then coordinates for each ID from the middle node storage. This is kind of backed in into the design, there are currently no data structures in place to save coordinates of ways with the way itself.
I'm not saying that it is a stupid idea to have the coordinates with the ways. On the contrary, it might be a good idea in the long run performance-wise, no matter what kind of PBF is used as input. I'm just saying that support for the location_on_ways format requires writing a middle storage that functions very differently from the existing ones. It's not just an add-on.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/discussions/1519#discussioncomment-2889898
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/repo-discussions/1519/comments/2889898 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220606/55a7e6e7/attachment.htm>
More information about the Tile-serving
mailing list