[Tile-serving] [openstreetmap/osm2pgsql] Fix: Handle special single-geom case for multipoint/linestring (PR #1791)

mboeringa notifications at github.com
Mon Oct 3 17:14:27 UTC 2022


@joto,

Just wondering: is there any technical reason to turn single point/linestring that should have been multi-variant, due to missing objects in e.g. a regional extract, into non-multi type geometries? 

"single point/linestring" multipoints and multilinestrings are still valid according to SF, aren't they, or am I wrong?

Of course, there is no real objection either to turn them into point/linestring instead, unless the geometry column's type was set to the multi-variant instead of generic geometry, in which case PostgreSQL would reject the insertion.

Maybe simply documenting this specific behavior on the osm2pgsql manual pages, would be enough to cover the implemented behavior.

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

Message ID: <openstreetmap/osm2pgsql/pull/1791/c1265770307 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20221003/d8196c92/attachment.htm>


More information about the Tile-serving mailing list