Closed dabreegster closed 7 months ago
Are there cases where the "entire" road including side-paths shouldn't be bounded on all sides by footways and crossings? Cases with sidepaths on only one side of a road will take some work. But are there any other real-world situations where maybe a cyclepath is on the "outside" and the pavement on the "inside"?
Those are some complicated junctions in there! Fully agree that grouping all the elements into blocks makes sense. Not had a play but intend to do so after the Easter break. Thanks for the link to Networkmerge, not production ready as ineffiecient and is mosly focussed on merging multiple lanes into a single lane so may not be that relevant here.
A simple next step towards #248 --when tracing a block, if we only consider crossings and sidewalks AND the road has sidewalks on both sides, then we wind up with a nice grouping for the "entire" junction or "entire" road including side-paths.
Here are some junctions of varying complexity:
And some roads:
I think this approach of grouping entire "bundles" of roads or junctions could be used for various purposes:
I'll merge this so people can play with it at https://osm2streets.org. Click a sidewalk, then "Trace sidewalks on left/right" (the direction is... not always consistent, but one should work). Please do comment with any interesting test cases you find, either working or not!