From 883caa87a06b071ca3ddc8abf33f11f0b91eade5 Mon Sep 17 00:00:00 2001 From: Matija Nalis Date: Sun, 25 Aug 2024 22:57:15 +0200 Subject: [PATCH 1/2] skip Capacity quest if Charging is private --- .../charging_station_capacity/AddChargingStationCapacity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/de/westnordost/streetcomplete/quests/charging_station_capacity/AddChargingStationCapacity.kt b/app/src/main/java/de/westnordost/streetcomplete/quests/charging_station_capacity/AddChargingStationCapacity.kt index e80a78b9c3..eedf07ac2a 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/quests/charging_station_capacity/AddChargingStationCapacity.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/quests/charging_station_capacity/AddChargingStationCapacity.kt @@ -17,6 +17,7 @@ class AddChargingStationCapacity : OsmFilterQuestType() { amenity = charging_station and !capacity and bicycle != yes and scooter != yes and motorcar != no + and access !~ private|no """ override val changesetComment = "Specify charging stations capacities" override val wikiLink = "Tag:amenity=charging_station" From 1af82163c00726ddf54bfb96019175626e242e3b Mon Sep 17 00:00:00 2001 From: Matija Nalis Date: Sun, 25 Aug 2024 22:57:52 +0200 Subject: [PATCH 2/2] skip Operator quest if Charging is private --- .../charging_station_operator/AddChargingStationOperator.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/de/westnordost/streetcomplete/quests/charging_station_operator/AddChargingStationOperator.kt b/app/src/main/java/de/westnordost/streetcomplete/quests/charging_station_operator/AddChargingStationOperator.kt index b95223f13b..ed5b01fadd 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/quests/charging_station_operator/AddChargingStationOperator.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/quests/charging_station_operator/AddChargingStationOperator.kt @@ -17,6 +17,7 @@ class AddChargingStationOperator : OsmFilterQuestType() { and !operator and !name and !brand and operator:signed != no and brand:signed != no + and access !~ private|no """ override val changesetComment = "Specify charging station operators" override val wikiLink = "Tag:amenity=charging_station"