From c441da8ad1eb3f78e23fc79f1ea44ab9de21130b Mon Sep 17 00:00:00 2001 From: germainaugsburger Date: Thu, 10 Jan 2019 21:21:42 +0100 Subject: [PATCH] Add '/hydro-operator-bkw.json' Query hydro power plants operated by BKW: (node["generator:source"="hydro"]["operator"="BKW"]; node["plant:source"="hydro"]["operator"="BKW"]; way["generator:source"="hydro"]["operator"="BKW"]; way["plant:source"="hydro"]["operator"="BKW"]; relation["generator:source"="hydro"]["operator"="BKW"]; relation["plant:source"="hydro"]["operator"="BKW"];) N.B.: case insensitive search does not work: node["operator"~"^BKW$",i]; --- hydro-operator-bkw.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 hydro-operator-bkw.json diff --git a/hydro-operator-bkw.json b/hydro-operator-bkw.json new file mode 100644 index 0000000..6882d67 --- /dev/null +++ b/hydro-operator-bkw.json @@ -0,0 +1,18 @@ +{ + "type": "overpass", + "name": { + "en": "Hydro power plants - BKW", + "de": "Wasserkraftwerke - BKW", + "fr": "Centrales hydroélectriques - BKW" + }, + "query": { + "7": [ + "(node[\"generator:source\"=\"hydro\"][\"operator\"=\"BKW\"];", + "node[\"plant:source\"=\"hydro\"][\"operator\"=\"BKW\"];", + "way[\"generator:source\"=\"hydro\"][\"operator\"=\"BKW\"];", + "way[\"plant:source\"=\"hydro\"][\"operator\"=\"BKW\"];", + "relation[\"generator:source\"=\"hydro\"][\"operator\"=\"BKW\"];", + "relation[\"plant:source\"=\"hydro\"][\"operator\"=\"BKW\"];)" + ] + } +}