From c69ff9d11879cf1cb155a936d0f958d1a2bcb838 Mon Sep 17 00:00:00 2001 From: burrscurr Date: Tue, 8 Aug 2023 20:12:26 +0200 Subject: [PATCH] Enable platform quests on relations --- .../quests/bus_stop_bench/AddBenchStatusOnBusStop.kt | 2 +- .../streetcomplete/quests/bus_stop_bin/AddBinStatusOnBusStop.kt | 2 +- .../streetcomplete/quests/bus_stop_lit/AddBusStopLit.kt | 2 +- .../streetcomplete/quests/bus_stop_name/AddBusStopName.kt | 2 +- .../streetcomplete/quests/bus_stop_shelter/AddBusStopShelter.kt | 2 +- .../quests/tactile_paving/AddTactilePavingBusStop.kt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_bench/AddBenchStatusOnBusStop.kt b/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_bench/AddBenchStatusOnBusStop.kt index 0149bbede3..58938e6b0a 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_bench/AddBenchStatusOnBusStop.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_bench/AddBenchStatusOnBusStop.kt @@ -12,7 +12,7 @@ import de.westnordost.streetcomplete.util.ktx.toYesNo class AddBenchStatusOnBusStop : OsmFilterQuestType() { override val elementFilter = """ - nodes, ways with + nodes, ways, relations with ( public_transport = platform or (highway = bus_stop and public_transport != stop_position) diff --git a/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_bin/AddBinStatusOnBusStop.kt b/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_bin/AddBinStatusOnBusStop.kt index 06d3d95736..68fb03e82a 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_bin/AddBinStatusOnBusStop.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_bin/AddBinStatusOnBusStop.kt @@ -12,7 +12,7 @@ import de.westnordost.streetcomplete.util.ktx.toYesNo class AddBinStatusOnBusStop : OsmFilterQuestType() { override val elementFilter = """ - nodes, ways with + nodes, ways, relations with ( public_transport = platform or (highway = bus_stop and public_transport != stop_position) diff --git a/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_lit/AddBusStopLit.kt b/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_lit/AddBusStopLit.kt index 262aa4000b..f4e2a23121 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_lit/AddBusStopLit.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_lit/AddBusStopLit.kt @@ -12,7 +12,7 @@ import de.westnordost.streetcomplete.util.ktx.toYesNo class AddBusStopLit : OsmFilterQuestType() { override val elementFilter = """ - nodes, ways with + nodes, ways, relations with ( public_transport = platform or (highway = bus_stop and public_transport != stop_position) diff --git a/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_name/AddBusStopName.kt b/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_name/AddBusStopName.kt index 0d8c4e92fa..fa50ec9094 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_name/AddBusStopName.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_name/AddBusStopName.kt @@ -11,7 +11,7 @@ import de.westnordost.streetcomplete.osm.applyTo class AddBusStopName : OsmFilterQuestType() { override val elementFilter = """ - nodes, ways with + nodes, ways, relations with ( public_transport = platform or (highway = bus_stop and public_transport != stop_position) diff --git a/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_shelter/AddBusStopShelter.kt b/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_shelter/AddBusStopShelter.kt index 81ad160311..81a66f780c 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_shelter/AddBusStopShelter.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/quests/bus_stop_shelter/AddBusStopShelter.kt @@ -13,7 +13,7 @@ import de.westnordost.streetcomplete.quests.bus_stop_shelter.BusStopShelterAnswe class AddBusStopShelter : OsmFilterQuestType() { override val elementFilter = """ - nodes, ways with + nodes, ways, relations with ( public_transport = platform or (highway = bus_stop and public_transport != stop_position) diff --git a/app/src/main/java/de/westnordost/streetcomplete/quests/tactile_paving/AddTactilePavingBusStop.kt b/app/src/main/java/de/westnordost/streetcomplete/quests/tactile_paving/AddTactilePavingBusStop.kt index 1739403cd6..2c66e824bc 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/quests/tactile_paving/AddTactilePavingBusStop.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/quests/tactile_paving/AddTactilePavingBusStop.kt @@ -11,7 +11,7 @@ import de.westnordost.streetcomplete.util.ktx.toYesNo class AddTactilePavingBusStop : OsmFilterQuestType() { override val elementFilter = """ - nodes, ways with + nodes, ways, relations with ( public_transport = platform or (highway = bus_stop and public_transport != stop_position)