Skip to content

New quest: In what direction can bicycles ride on this sidewalk?#6817

Open
wielandb wants to merge 9 commits intostreetcomplete:masterfrom
wielandb:cycleway-oneway
Open

New quest: In what direction can bicycles ride on this sidewalk?#6817
wielandb wants to merge 9 commits intostreetcomplete:masterfrom
wielandb:cycleway-oneway

Conversation

@wielandb
Copy link
Copy Markdown
Contributor

@wielandb wielandb commented Apr 15, 2026

This PR adds a quest "In what direction are bicycles allowed to travel here?" that is asked for sidewalk-like ways. Background is the problem that (at least in germany) cycling on sidewalks (if allowed) is usually only allowed in one direction (the direction of traffic on this side), but it is possible in StreetComplete to convert a sidewalk into a sidewalk with a cycleway or where cycling is allowed, but currently no way to enter the direction of allowed travel for bicycles.
Implemented based on AddOnewayBicycle in SCEE by @mcliquid.

photo_2026-04-16_06-51-42

Potentially closes #4827

Things that are still to-do/to-sort-out:

  • Quest icon: Do we want to use the one from SCEE? (Currently implemented like that)
  • Direction icons: There was discussion if they are enough to show what is beeing entered, or if other icons should be used (Currently the oneway ones are implemented)
    • Answer wording: Is the current wording under the icons okay to communicate what is asked or should it be different?
  • Enabled countries: Currently only enabled in Germany, Austria, Denkmark, Nederlands, Finland, Norway but other countries could be added if the need arises.
  • Regarding seperate sidewalk quest: I do not think there is the explicit need for such a quest before this one can be greenlit. But if such a functionality is wanted, my idea would be to intregrate it into the sidewalk-overlay. Paths could be clickable and instead of all foot-paths beeing blue only those that are sidewalk-like could be blue, all others black and when tapping such a path a combobox or checkbox "This is a sidewalk" could pop up, but there should be separate discussion for that.

@westnordost

This comment was marked as outdated.

@RubenKelevra

This comment was marked as resolved.

@RubenKelevra

This comment was marked as resolved.

@matkoniecz

This comment was marked as resolved.

@wielandb wielandb marked this pull request as draft April 15, 2026 13:41
@RubenKelevra

This comment was marked as resolved.

@matkoniecz

This comment was marked as resolved.

@westnordost

This comment was marked as resolved.

@RubenKelevra
Copy link
Copy Markdown
Contributor

That path situation gets uglier by the day.

If you really think we should parse footway=* on non-footway ways as valid, okay. But the rest of my complains are still valid:

  • If footway=* and is_sidepath=* disagree, we should not match.
  • If this the goal is to map oneways along a road, we should check for cycleway=track|separate and otherwise not match. Otherwise we will match all cycleway infrastructure, even when not along a road, so the scope would be different.

Btw: The title does state the quest is "In what direction can bicycles ride on this sidewalk?" but the changeset comment is:

"Specify in which direction cyclists may ride this path"

While the question shown to the user is even more ambitious:

"In what direction are you allowed to ride this path?"

I think we should be more specific and say "cyclists"/"cycle", as ride could mean mofas, scooter, horses etc. just to avoid confusion.

And I think "sidewalk" would be also more specific than "path".

@westnordost
Copy link
Copy Markdown
Member

Let's not get into such details as long as @wielandb himself is not actually done with this PR. Note that this is a draft.

@wielandb
Copy link
Copy Markdown
Contributor Author

That path situation gets uglier by the day.

If you really think we should parse footway=* on non-footway ways as valid, okay. But the rest of my complains are still valid:

  • If footway=* and is_sidepath=* disagree, we should not match.

Why? I can see situations where highway=* and footway=* have some wild values, but as long as there is something indicating that this is meant to represent a sidewalk that you can ride a bicycle on, we should ask the quest.

  • If this the goal is to map oneways along a road, we should check for cycleway=track|separate and otherwise not match. Otherwise we will match all cycleway infrastructure, even when not along a road, so the scope would be different.

I would not check for separate, as I think it's meant to tag that there is a cyclepath somewhere separate from this way, not that this way is a separate cyclepath. So tags regarding its conditions should also not be put on this way.

Btw: The title does state the quest is "In what direction can bicycles ride on this sidewalk?" but the changeset comment is:

"Specify in which direction cyclists may ride this path"

While the question shown to the user is even more ambitious:

"In what direction are you allowed to ride this path?"

I think we should be more specific and say "cyclists"/"cycle", as ride could mean mofas, scooter, horses etc. just to avoid confusion.

And I think "sidewalk" would be also more specific than "path".

Yeah I agree, we should speak of cycling unanimously if cycling is what we're tagging.

@wielandb

This comment was marked as resolved.

wielandb and others added 3 commits April 16, 2026 17:49
…s/oneway/AddCyclewayDirection.kt

Co-authored-by: Flo Edelmann <git@flo-edelmann.de>
@wielandb wielandb marked this pull request as ready for review April 16, 2026 16:12
Copy link
Copy Markdown
Member

@westnordost westnordost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quest icon: Do we want to use the one from SCEE? (Currently implemented like that)

No. The icon is misleading. It suggests that both directions is the default unless signed otherwise. That oneway sign is not used for cycleways. Instead, I'd suggest something like (on the magenta background):

  • ⇅ (mimicing the sign a bit)
  • ⇅ framed into a white rectangle with black borders (mimic the sign even more closer, but busier)
  • ⇅ or ↕ on cycleway (instead of bicycle pictogram, it is already clear from the color)

Direction icons: There was discussion if they are enough to show what is beeing entered, or if other icons should be used (Currently the oneway ones are implemented)

Yeah, sure, they are clear to me. I don't know how they could be clearer.

P.S: Your German translation will be overwritten by the next import from POEditor, it makes no sense to supply it in the PR (but it also doesn't hurt anyone).

override val achievements = listOf(BICYCLIST)
override val hint = Res.string.quest_arrow_tutorial
override val defaultDisabledMessage = Res.string.default_disabled_msg_visible_sign_bicycle_sidewalk_access
override val enabledInCountries = NoCountriesExcept("DE", "AT", "DK", "NL", "FI", "NO")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to each link to the source of this information, as comments, if known. @RubenKelevra did some research in the linked ticket.

<string name="quest_oneway2_title">Is this a one-way street? In which direction?</string>
<string name="quest_oneway2_dir">Oneway in this direction</string>
<string name="quest_oneway2_no_oneway">Not a oneway</string>
<string name="quest_cycleway_direction_title">In what direction are you allowed to cycle on this sidewalk?</string>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As noted in the linked ticket, it must be clear that the user must look for an explicit sign, just like it must be clear in the maxspeed quest. Something like "Does a sign indicate that cyclists may go both directions here? If not, in which direction do cyclists go here?". Now, that's a bit long, but this is the information that must come across. So, another option is, if not to put this into the question, put it below the question into the quest form but above the item selection.

Also, I wouldn't refer to a cycle track as a "sidewalk", also not in German. I don't think this is an issue though, you can just write "here" instead of "on this sidewalk". The type of thing should already be written below the quest title.

<string name="quest_cycleway_direction_dir">Only this way</string>
<string name="quest_cycleway_direction_no_oneway">In both directions</string>

<string name="default_disabled_msg_visible_sign_bicycle_sidewalk_access">This quest type is disabled by default because bicycle access on sidewalks is only indicated by specific signs at start/end of a sidewalk.</string>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This explanation doesn't really explain why it is disabled. The reason why it is disabled is not that it is specific signs, but because the user potentially needs to walk to the next intersection to see that sign, and that may be a little far.

Maybe use similar wording as for the maxspeed quest.

Comment thread app/src/commonMain/composeResources/values/strings.xml Outdated
Co-authored-by: Tobias Zwick <newton@westnordost.de>
@wielandb
Copy link
Copy Markdown
Contributor Author

No. The icon is misleading. It suggests that both directions is the default unless signed otherwise. That oneway sign is not used for cycleways. Instead, I'd suggest something like (on the magenta background):

⇅ (mimicing the sign a bit)
⇅ framed into a white rectangle with black borders (mimic the sign even more closer, but busier)
⇅ or ↕ on cycleway (instead of bicycle pictogram, it is already clear from the color)

Some designs I came up with. Pick your favourites. 🤗

A B C D E
bicycleway_oneway_arrowupdown_way bicycleway_oneway_arrowupdown_way_bikewaydirection bicycleway_oneway_bike_sign_bike_bothways bicycleway_oneway_sign_arrowupdown_side bicycleway_oneway_sign_arrowupdown_way

@mcliquid
Copy link
Copy Markdown
Contributor

Spontaneously A or E :)

@westnordost
Copy link
Copy Markdown
Member

westnordost commented Apr 17, 2026 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New quest: Oneway on separate cycleways

6 participants