osmose-backend icon indicating copy to clipboard operation
osmose-backend copied to clipboard

Wrong detection of conflict on lanes number?

Open SomeMichael opened this issue 4 years ago • 3 comments
trafficstars

This concerns (way Version 33)

osmose reports: (lanes(lanes:*:backward)=2) - (non fullwidth=0) != (lanes(access:lanes:backward)=2) - (non fullwidth=1)

But from my point of view that's wrong. I guess osmose just checks access:lanes:backward=no|yes. That would make the first lane non fullwidth. But thers's also a psv:lanes:backward=designated|yes. Therefore the lane should be fullwidth, isn't it?

Thanks for your help!

SomeMichael avatar Jul 27 '21 23:07 SomeMichael

No, all lanes are taken in account.

frodrigo avatar Aug 01 '21 18:08 frodrigo

lanes:psv* are not counted, another example is https://osmose.openstreetmap.fr/en/issue/de41c950-22f9-0078-a2bf-a378988438dd

Strubbl avatar Feb 08 '22 17:02 Strubbl

Kinda wondering if assuming "full width" is a bad guess. This check will always trigger on designated bike lanes that can be used by cars, too. I also question whether this is even a reasonable check, given that excluding narrow bicycle lanes from counts makes validating and consuming the data way more difficult than it needs to be versus just counting lanes as lanes.

BalooUriza avatar Apr 14 '22 16:04 BalooUriza

This issue was fixed with https://github.com/osm-fr/osmose-backend/commit/ec95a440122bf75235f40d791f83921951463672 last month.

Note that the other issue reported is correct, see for instance the wiki of lanes:psv . The psv lane should be part of the overall lanes count, so lanes:backward = 2 if there's a regular lane and a designated psv lane in the backward direction.

Famlam avatar Oct 10 '23 09:10 Famlam