[Tile-serving] [openstreetmap/osm2pgsql] Fix: Create point geometry from collection with single-node way (PR #1767)

Jochen Topf notifications at github.com
Mon Sep 19 17:14:35 UTC 2022


@mboeringa The problem is that if you drop that geometry, the geometry collection will contain one fewer geometry than you expected and you can't detect that. If you want to use a specific geometry of one of the members you might get the wrong one! So this is a fix for exactly that problem.

We are already thinking about a better way to access geometries of one member only. Its great that this is possible now, but it is too cumbersome. This will need some time though.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1767#issuecomment-1251310151
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/1767/c1251310151 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220919/595d5cb2/attachment-0001.htm>


More information about the Tile-serving mailing list