@joto commented on this pull request.
> +function osm2pgsql.select_relation_members(relation)
+ -- Only interested in public transport relations with refs
+ if wanted_relation(relation.tags) then
+ local node_ids = {}
+ for _, member in ipairs(relation.members) do
+ if member.type == 'n' and member.role == 'stop' then
+ node_ids[#node_ids + 1] = member.ref
+ end
+ end
+
+ local way_ids = {}
+ for _, member in ipairs(relation.members) do
+ if member.type == 'w' and member.role == '' then
+ way_ids[#way_ids + 1] = member.ref
+ end
+ end
Ups. yes.
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252#discussion_r1765315362
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/pull/2252/review/[email protected]>_______________________________________________
Tile-serving mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/tile-serving