streetcomplete / StreetComplete

Easy to use OpenStreetMap editor for Android
https://streetcomplete.app
GNU General Public License v3.0
3.9k stars 357 forks source link

Exclusive vs. advisory bike lanes metadata seems wrong for Switzerland #5894

Closed delroth closed 2 months ago

delroth commented 2 months ago

The per country metadata for CH currently indicates:

exclusiveCycleLaneStyle: yellow dashes
hasAdvisoryCycleLane: false

By my reading of what the "advisory" tag means and of the swiss road traffic ordinances, I think this is wrong. Per SSV art. 74a, only bike lanes with continuous yellow lines are exclusive. Bike lanes with dashed yellow lines can be crossed into by vehicles when necessary.

Radstreifen sowie Fahrstreifen auf Radwegen werden durch eine unterbrochene oder ununterbrochene gelbe Linie abgegrenzt (6.09). Die ununterbrochene Linie darf von Fahrzeugen weder überfahren noch überquert werden.

Update: VRV art. 40 is even clearer, see later comment in this thread: https://github.com/streetcomplete/StreetComplete/issues/5894#issuecomment-2345274659

(Note, because I was confused myself: "advisory" has nothing to do with any requirements for the cyclists to use or not use the bike lane, and I personally think it is very oddly named. In CH, all bike lanes are mandatory to use for cyclists when they exist, but that has nothing to do with "advisory" vs. "exclusive" tagging. As far as I understand from the docs.)

Bike lanes with continuous yellow lines are sadly rare, but they do exist. In Zürich for example, a recent renovation of a very used bike route next to the main station uses a continuous yellow line. This can be seen in pictures on https://www.bikeable.ch/spots/9673 .

Unfortunately, since StreetComplete has only been allowing users to mark bike lanes as "exclusive" (when it should likely have been "advisory", and that option was not even given to users), there's now a bunch of bike lanes that are wrongly tagged :-(

FloEdelmann commented 2 months ago

These country metadata are stored in https://github.com/streetcomplete/countrymetadata, and indeed, exclusiveCycleLaneStyle and hasAdvisoryCycleLane don't have an explicit value for Switzerland (CH) and thus use the default. Would you like to open a pull request there that adds the relevant data? Maybe also other cycling-related data are wrong?

Marc-marc-marc commented 2 months ago

we're discussing it on the Swiss channel, it's not at all certain that the interpretation is correct, my reading of 74a.4 says that the dashed lines are for crossing another road (to allow those on the perpendicular road to cross the line and not to drive in the direction of the lane).

delroth commented 2 months ago

As we just found out: VRV art. 40 actually makes it very clear once we managed to actually find it:

Führer anderer Fahrzeuge dürfen auf dem mit einer unterbrochenen Linie abgegrenzten Radstreifen (6.09) fahren, sofern sie den Fahrradverkehr dadurch nicht behindern.

That seems to definitely confirm the difference between dashed lines ("advisory", can be crossed and sometimes used by other vehicles) and continuous lines ("exclusive", for cyclists only).

I'll leave this open a bit longer before sending the PR just in case we find more things for/against this, but happy to take care of effecting the change myself once I'm convinced we have consensus.

delroth commented 2 months ago

Hmm, the documentation for "advisory" cycle lanes in https://github.com/streetcomplete/countrymetadata/blob/master/data/advisoryCycleLaneStyle.yml and https://github.com/streetcomplete/countrymetadata/blob/master/data/hasAdvisoryCycleLane.yml don't seem to match what I understand of the tag and what I see documented on the wiki. The header at the top of those files imply that "advisory" should only be tagged when both 1. cars can drive on the cycle lane; 2. bikes are not mandated to use the cycle lane. CH is in the case where dashed cycle lanes are (1) but not (2). This seems to qualify as "advisory" per the tag documentation on the wiki, which says:

In most countries where they exist, these cycle lanes are not obligatory for cyclists

My emphasis on "most", which does not seem to exclude the case where the "advisory" cycle lanes are mandatory for cyclists.

Since @westnordost both introduced this data to StreetComplete and also made the initial proposal I'm hoping this can be clarified! IMO the doc header in StreetComplete's country metadata should be fixed. Happy to take care of that along the way when I send the CH change.

westnordost commented 2 months ago

Hey, let's take a step back here. What is the tagging issue that StreetComplete produces? Or is there anything in the UI that would be wrong or confusing?

westnordost commented 2 months ago

So, hasAdvisoryCycleLane is maybe not ideally named. The "full" name would be hasConceptOfDifferentiationBetweenTwoTypesOfCycleLanesOfWhichOneIsMerelyAdvisory.

The categorization exclusive vs advisory is not a fine one and the details will differ in different countries. It usually means:

Advisory is not mandatory for cyclists (except for the obligation of cyclists to keep to the right side of the road), cars may cross and even stop on it, if they need to, and since they are not mandatory for cyclists, they do not need to satisfy certain minimum safety criteria, such as minimum width or minimum distance to parking cars. This makes advisory cycleways usually less desirable to use.

Exclusive are usually mandatory for cyclists and cars may not use this lane in any way. Note, though, that on e.g. intersections, exclusive cycle lanes may be crossed by cars when they don't obstruct cyclists. Usually they are dashed in those sections, that doesn't mean, however, that these sections are advisory, they are just dashed sections of exclusive cycle lane.

If for a country the value in hasAdvisoryCycleLane is false, it means that StreetComplete will not show any distinction between exclusive and advisory cycle lanes in it's UI, and also don't call the possible selection "Exclusive cycle lane" but just "cycle lane".

That's why I asked, if there is actually any confusion or problem with what StreetComplete tags or how it displays it in the UI.

delroth commented 2 months ago

@westnordost StreetComplete does not provide the option of marking cycleways as "advisory" as they should (almost always) be in Switzerland. The UI is confusing because "advisory" lanes are shown as dashed white lines (doesn't exist in CH) whereas non-"advisory" lanes are shown as dashed yellow lines (which exists in CH but should in fact be "advisory"). There is no option to tag "exclusive" lanes (continuous yellow lines), though that's mostly ok because they're quite rare.

Because of this, there's a bunch of lanes which randomly switch between "advisory" and non-"advisory" in the city depending on the mapping tool used for each segment. See for example this screenshot from an area closeby in StreetComplete (cycleways mode) where the mishmash of "advisory" vs. non-"advisory" is very visible:

Screenshot ![image](https://github.com/user-attachments/assets/27682f8c-4d02-43e5-90aa-396d8bde2c4c)

re: your second comment (https://github.com/streetcomplete/StreetComplete/issues/5894#issuecomment-2345769282 which popped up as I was writing this):

In CH, we have:

  1. Cycle lanes using dashed lines, which are mandatory to use for cyclists, but not exclusive use for bikes (cars can cross them, drive into them when they need to, and there's no minimal distance).
  2. Cycle lanes using continuous lines, which are exclusive to bikes and that cars can't cross or drive into.

By the definition of "advisory" you give here the dashed lines cycle lanes in CH don't qualify because they are mandatory for cyclists to use - but that's not the definition that's currently on the wiki, as far as I can tell. The wiki seems to indicate that the important factor is whether cars can drive into the lane, not whether the use of the lane is mandatory for cyclists. Hence the confusion here...

My understanding by the wiki's definition is that CH dashed lines lanes -> "advisory", CH continuous lines lanes -> "exclusive".

westnordost commented 2 months ago

So, an "advisory" cycle lane is definitely a second class cycle lane, depending on whom you ask (and in which region), either worse than nothing or worse than a normal cycle lane.

Now, as I understand it, the dashed cycle lane in Switzerland is not a second class cycle lane, because that is basically the only cycle lane you have and for which safety requirements (min width, min distance to parking lanes, ...) are indeed in place, i.e. they are proper cycle lanes. So, even if a few cycle lanes with a continuous line exist in Switzerland, I don't think the solution to tag all others as "advisory" would be correct.

westnordost commented 2 months ago

The UI is confusing because "advisory" lanes are shown as dashed white lines (doesn't exist in CH)

They shouldn't be shown at all in Switzerland.

Edit: Ah, I see, in the overlay highlighting. Well, it looks like someone has added all those advisory-tags.

delroth commented 2 months ago

that is basically the only cycle lane you have

That is not the case, as quoted above the Swiss Verkehrsregelnverordnung clearly defines two types, and I posted in the initial comment a link to a spot that uses continuous yellow lines aka. exclusive lanes. They're not frequent but they exist, both by law and in practice.

and for which safety requirements (min width, min distance to parking lanes, ...) are indeed in place

I wish, but no, there are no such things for dashed lines lanes. Maybe min width, but not min distance to parking lanes, and it's common to see cars drive in them when they need to (aka. legally).

westnordost commented 2 months ago

Anyway, to summarize:

I am of the opinion that the distinction between advisory and exclusive cycle lanes (with cycleway:lane=advisory/exclusive) does not make sense in Switzerland because the dashed cycle lane (the normal one) is not a second class cycle lane, as was explained to me by a Swiss person. (If this is incorrect, ...)

This can be changed in StreetComplete of course, following a local community consensus. Then, both options will be available - the cycle lanes with dashed markings (advisory) and the ones with continuous markings (exclusive).

This however means that after this change, all cycle lanes in Switzerland will be displayed as missing/incomplete in the app, because the distinction between advisory and exclusive will be missing for most roads. I.e. red in the overlay and a quest will be asked for that.

So, please open a discussion in the Swiss community forum (and mailing list) about whether this is something the Swiss community wants to change. You can post the link to the discussion here for reference.

For the time being, I will close this issue as working-as-intended / question-answered, but it can be reopened once or if a consensus within the Swiss community is reached and I will make the change. (One can continue posting on closed issues)