Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cycleway with surface shows red on surface overlay #5877

Closed
tjur0 opened this issue Sep 7, 2024 · 13 comments
Closed

Cycleway with surface shows red on surface overlay #5877

tjur0 opened this issue Sep 7, 2024 · 13 comments

Comments

@tjur0
Copy link

tjur0 commented Sep 7, 2024

Given a highway=cycleway with sidewalk=, surface= and segregated= the surface overlay shows a red color indicatin that no surface is present.

https://www.openstreetmap.org/way/365900455

084a19d65568179999c7c7d34c412d27308c6d22_2_243x500

How to Reproduce
Look at surface overlay, on a cycleway with sidewalk=, surface= and segregated= tagged.

Expected Behavior
It is expected that if the surface of a cycleway is filled in that the color is blue.

Versions affected
58.2

@tjur0 tjur0 added the bug label Sep 7, 2024
@matkoniecz
Copy link
Member

That is basically the same as #5878

@jdhoek
Copy link
Contributor

jdhoek commented Sep 7, 2024

That is basically the same as #5878

Potentially same cause, different outcome. Ways tagged with surface=* should not be marked as incomplete. The issues are related, not duplicates.

@mnalis
Copy link
Member

mnalis commented Sep 7, 2024

The issues are related, not duplicates.

That is technically correct; but the reasoning behind it (why current behaviour is intended and not a bug) and thus the outcome come from the same decision.

I've added several links to #5878 (comment) which give background and history why segregated=yes way without footway:surface=* and cycleway:surface=* is considered incomplete (and thus colored red in Surface overlay).

@mnalis mnalis removed the bug label Sep 7, 2024
@westnordost
Copy link
Member

Duplicate of linked issue

@westnordost westnordost closed this as not planned Won't fix, can't repro, duplicate, stale Sep 7, 2024
@westnordost
Copy link
Member

westnordost commented Sep 7, 2024

By the way, it appears that at the location shown, the tag surface=asphalt is actually wrong. The footway part of the segregated cycle+footway is not asphalt but paving stones. (And some of them are actually both paving stones.)

@tjur0
Copy link
Author

tjur0 commented Sep 8, 2024

As a local i know that this cycleway has recently been fully repaved into red asphalt, while the sidewalk is made from paving stones that is correctly mapped with sidewalk=right.

In the Netherlands ether something is a cycleway with a sidewalk, or it is a cycleway on itself. In the rare few cases that a path is a shared footway cycleway, the surface is almost always the same.

This makes ‘cycleway:surface’ and ‘footway:surface’ unwanted on cycleways.

The users of SC do not know the damage that they are causing, and the fact that you are not willing to understand and work with local tagging is damaging to OSM.

Please make SC follow guidelines and disable this feature in the Netherlands.

@jdhoek
Copy link
Contributor

jdhoek commented Sep 8, 2024

This is happening because StreetComplete thinks a way with segregated=yes and sidewalk=right has some hidden extra lane for pedestrians between the sidewalk and the cycleway. The presence of a sidewalk implies segregated=yes, and StreetComplete should first look at the sidewalk tags before going down the shared-bicycle-footway route.

In this case segregated=yes is redundant, and StreetComplete is tripping up because of that tag. That's a bug.

By the way, it appears that at the location shown, the tag surface=asphalt is actually wrong. The footway part of the segregated cycle+footway is not asphalt but paving stones. (And some of them are actually both paving stones.)

surface=asphalt is correct. That is the surface of the cycleway. Sidewalks mapped as attributes can have their surface tagged with something like sidewalk:right:surface, never footway:surface.

Please make StreetComplete follow OpenStreetMap conventions and disable this feature in the Netherlands.

@matkoniecz
Copy link
Member

you are not willing to understand and work with local tagging is damaging to OSM

Handling sidewalk tagging was added specifically after requests from NL

StreetComplete supports enormous amount of local peculiarities

@mcliquid
Copy link
Contributor

mcliquid commented Sep 8, 2024

In this case segregated=yes is redundant, and StreetComplete is tripping up because of that tag. That's a bug.

It should be possible to fix this by extending the existing filter so that StreetComplete does not ask whether a cycleway with a sidewalk is segregated or not. Regarding to the wiki the following changes could fix this:

Change this:


To this:
and (!sidewalk or !sidewalk:left or !sidewalk:right or !sidewalk:both)

Of course, this does not prevent segregated=yes with any sidewalk value from being added by users in other editors (see here in your example way where segregated=yes and sidewalk=right was added with JOSM 8 years ago). But this is beyond the scope of StreetComplete anyway.
If segregated=yes is implied by the presence of any sidewalk value, I guess you should mass-delete this throughout the Netherlands. Maybe you want to start with these ~ 12000 ways here: https://overpass-turbo.eu/s/1QPq
image

[...] never footway:surface.
Please make StreetComplete follow OpenStreetMap conventions and disable this feature in the Netherlands.

This is not clear to me from the wiki, or where should I look for this local convention in the wiki? Can you link the wiki page for this please?

See also these wiki pages without mentioning this local rule:

@westnordost
Copy link
Member

westnordost commented Sep 8, 2024 via email

@westnordost
Copy link
Member

@mcliquid checking something for sidewalk but not for sidewal:<side> seems like a bug to me. I will check it out, thanks for pointing it out.

@westnordost
Copy link
Member

To this:
and (!sidewalk or !sidewalk:left or !sidewalk:right or !sidewalk:both)

By the way, this wrong. Look again :->

westnordost added a commit that referenced this issue Sep 8, 2024
…cycleways with any sidewalk-tag (#2644, #5877)

Previously, only the check was made for sidewalk, not for sidewalk:<side>
@mcliquid
Copy link
Contributor

mcliquid commented Sep 8, 2024

@westnordost I wrote "could fix" not "will fix" ;) I never said it was correct.

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

No branches or pull requests

6 participants