osm2streets
osm2streets copied to clipboard
Support restriction relations with >1 via ways
https://www.openstreetmap.org/relation/8099562
Is it the same with >1 from ways? This relation is ignored by a/b streets.
I've never seen a relation with multiple from ways before. Correct, that's also not supported. I assume it's equivalent to 3 separate relations with each of the 3 from ways? If so, this case would be easy to add around https://github.com/a-b-street/osm2streets/blob/dfe25286cc9255329447867786a724891ef8c370/streets_reader/src/extract.rs#L158 by gathering a Vec<WayID>
and then interpreting multiple from_way_id
appropriately
(And to note, there's no handling of except = bicycle
yet.)
Also moving this to osm2streets, where this code now lives. This is related to https://github.com/a-b-street/osm2streets/issues/67 there
I assume it's equivalent to 3 separate relations with each of the 3 from ways?
That is correct.