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

Do not ask for path segregation in case either bicylce or foot is set to "no" #5213

Closed
ironspock opened this issue Aug 24, 2023 · 6 comments
Closed
Assignees
Labels

Comments

@ironspock
Copy link

possible bug or enhancement on quest "How footway and bicycleway are segregated" (highway:path)

SC is asking for path segregation however the node already has a tag bicycle:no
(refer to https://www.openstreetmap.org/way/990523743)

I'm not sure whether it's happen often or maybe it's better to change the node from highway:path to highway:footway via JOSM/ID/etc.

Expected Behavior
Do not ask for segregation in those cases.

Versions affected
v53.3

@ironspock ironspock added the bug label Aug 24, 2023
@qugebert
Copy link
Contributor

qugebert commented Aug 24, 2023

I think this part of the query is wrong:

or highway ~ path|footway|cycleway and (footway:surface or cycleway:surface)

In this case, we have a match of the combination highway = path and footway:surface

Maybe
or highway ~ path|footway and cycleway:surface or highway = cycleway and footway:surface

@westnordost
Copy link
Member

Oh, that is definitely a bug. Thank you for the input, I will have a look at it now.

@westnordost
Copy link
Member

It was added by @matkoniecz in #4642 , not sure why though. I don't really understand why the filter is there in the first place. Maybe he remembers?

(In any case, @ironspock , the way is tagged a bit weird: As a highway=path but bicycle=no (so a highway=footway then??) and then a footway:surface is set even though that's the only thing there is.)

@matkoniecz matkoniecz self-assigned this Aug 25, 2023
@matkoniecz
Copy link
Member

Weird tagging is present there, I opened https://www.openstreetmap.org/note/3851707

I don't really understand why the filter is there in the first place. Maybe he remembers?

to handle some not fully tagged ways, also segregated is looked at by surface overlay in some places so being sure that it is tagged was useful

I guess that case like reported here is blatantly invalid rather than missing tagging and could be skipped (though it would anyway cause confusion in surface overlay anyway...)

And maybe surface overlay should not simply check segregated but look at more complex info.

@qugebert
Copy link
Contributor

to handle some not fully tagged ways, also segregated is looked at by surface overlay in some places so being sure that it is tagged was useful

I see, footway:-Prefix indicates, that there is more than only a footway and vice versa.
And why not exclude the ways, where one of both is tagged with no ?

@matkoniecz
Copy link
Member

matkoniecz commented Aug 25, 2023

And why not exclude the ways, where one of both is tagged with no ?

In plan on fixing it this way + open notes in places with such tagging.

See http://overpass-turbo.eu/s/1zG7 and http://overpass-turbo.eu/s/1zG9 for suspicious data - I opened some notes already, may open more later.

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

No branches or pull requests

4 participants