<p></p>
<p><b>@joto</b> commented on this pull request.</p>
<hr>
<p>In <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252#discussion_r1765315362">flex-config/public-transport.lua</a>:</p>
<pre style='color:#555'>> +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
</pre>
<p dir="auto">Ups. yes.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252#discussion_r1765315362">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AA6353WAEFI5US54RUYPWZDZXGOKTAVCNFSM6AAAAABOLXTICWVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGMJTGEZDQMBQGI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AA6353WXCHA4AUL2KAPKO23ZXGOKTA5CNFSM6AAAAABOLXTICWWGG33NNVSW45C7OR4XAZNRKB2WY3CSMVYXKZLTORJGK5TJMV32UY3PNVWWK3TUL5UWJTUJ36EEE.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><osm2pgsql-dev/osm2pgsql/pull/2252/review/2313128002</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252#discussion_r1765315362",
"url": "https://github.com/osm2pgsql-dev/osm2pgsql/pull/2252#discussion_r1765315362",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>