Skip to content

Commit c033660

Browse files
authored
exclude winter roads from surface quests
(#6835)
1 parent 603a5eb commit c033660

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

app/src/androidMain/kotlin/de/westnordost/streetcomplete/quests/surface/AddPathSurface.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class AddPathSurface : OsmFilterQuestType<SurfaceOrIsStepsAnswer>(), AndroidQues
3434
or surface older today -8 years
3535
)
3636
and ~path|footway|cycleway|bridleway !~ link
37+
and ice_road != yes
3738
"""
3839

3940
override val changesetComment = "Specify path surfaces"

app/src/androidMain/kotlin/de/westnordost/streetcomplete/quests/surface/AddRoadSurface.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class AddRoadSurface : OsmFilterQuestType<Surface>(), AndroidQuest {
4141
}}
4242
)
4343
and (access !~ private|no or (foot and foot !~ private|no))
44+
and ice_road != yes
4445
"""
4546

4647
override val changesetComment = "Specify road surfaces"

app/src/androidMain/kotlin/de/westnordost/streetcomplete/quests/tracktype/AddTracktype.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class AddTracktype : OsmFilterQuestType<Tracktype>(), AndroidQuest {
2323
)
2424
and (access !~ private|no or (foot and foot !~ private|no))
2525
and !bridge
26+
and ice_road != yes
2627
"""
2728
// ~paved tracks are less likely to change the surface type
2829
override val changesetComment = "Specify tracktypes"

0 commit comments

Comments
 (0)