From 6ef5e4bd0fb363832ded4ef380b10628b68282ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Mon, 26 Jul 2021 20:09:42 +0200 Subject: [PATCH] car_amenities: improve queries for charging stations --- car_amenities.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/car_amenities.json b/car_amenities.json index e5fbbc13..da6d0c09 100644 --- a/car_amenities.json +++ b/car_amenities.json @@ -18,13 +18,15 @@ "13": [ "(", "nwr[amenity~\"^(car_rental|car_sharing|fuel)$\"];", - "nwr[amenity~\"^(charging_station)$\"][motorcar!=\"no\"][motorcycle!=\"no\"];", + "nwr[amenity~\"^(charging_station)$\"][motorcar][motorcar!=\"no\"];", + "nwr[amenity~\"^(charging_station)$\"][motorcycle][motorcycle!=\"no\"];", ")" ], "16": [ "(", "nwr[amenity~\"^(car_rental|car_sharing|car_wash|fuel|motorcycle_parking|parking)$\"];", - "nwr[amenity~\"^(charging_station)$\"][motorcar!=\"no\"][motorcycle!=\"no\"];", + "nwr[amenity~\"^(charging_station)$\"][motorcar][motorcar!=\"no\"];", + "nwr[amenity~\"^(charging_station)$\"][motorcycle][motorcycle!=\"no\"];", ")" ] },