Skip to content

Commit

Permalink
fìx don't ask for footway/cycleway segregation and its properties on …
Browse files Browse the repository at this point in the history
…cycleways with any sidewalk-tag (streetcomplete#2644, streetcomplete#5877)

Previously, only the check was made for sidewalk, not for sidewalk:<side>
  • Loading branch information
westnordost committed Sep 8, 2024
1 parent 962c7b2 commit 8ff976f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class AddCyclewaySegregation : OsmFilterQuestType<CyclewaySegregation>() {
)
and surface ~ ${PAVED_SURFACES.joinToString("|")}
and area != yes
and !sidewalk
and !(sidewalk or sidewalk:left or sidewalk:right or sidewalk:both)
and !segregated
and ~path|footway|cycleway !~ link
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class AddCyclewayPartSurface : OsmFilterQuestType<SurfaceAndNote>() {
or (highway = bridleway and bicycle ~ designated|yes)
)
and segregated = yes
and !sidewalk
and !(sidewalk or sidewalk:left or sidewalk:right or sidewalk:both)
and (
!cycleway:surface
or cycleway:surface older today -8 years
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AddFootwayPartSurface : OsmFilterQuestType<SurfaceAndNote>() {
or (highway ~ cycleway|bridleway and foot and foot != no)
)
and segregated = yes
and !sidewalk
and !(sidewalk or sidewalk:left or sidewalk:right or sidewalk:both)
and (
!footway:surface
or footway:surface older today -8 years
Expand Down

0 comments on commit 8ff976f

Please sign in to comment.