[Tile-serving] [osm2pgsql-dev/osm2pgsql] How to omit certain relation members with flex output? (Discussion #2204)
mboeringa
notifications at github.com
Thu Sep 3 15:49:21 UTC 2026
I now realized that the unexpected osm ID way I see being returned, lies even outside the extent of the Geofabrik "Liechtenstein" extract that I used as input for osm2pgsql and testing of the import.
It is not even in the planet_osm_line table. It **is** a way member of the Rhein relation, which is the second waterway relation next to the Alpine Rhine one that is in the Liechtenstein extract.
This likely explains the discrepancy, I now realize: the Liechtenstein pbf extract contains all the information of the members of the relation, but not the actual geometries of all members.
Maybe we need an **object.members_with_geometry** iterator, that only returns a table for complete members including full geometry, those that are being included in the output of **object.as_geometrycollection()**?
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/discussions/2204#discussioncomment-18271712
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/repo-discussions/2204/comments/18271712 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20260903/689dd15e/attachment.htm>
More information about the Tile-serving
mailing list