From ea79630da0bce3690112d547af6dc91a29f820c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Sun, 6 Aug 2017 13:07:55 +0200 Subject: [PATCH] Category 'historic' --- culture_religion.json | 6 ++++-- historic.json | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/culture_religion.json b/culture_religion.json index c9e45f1..4d712cf 100644 --- a/culture_religion.json +++ b/culture_religion.json @@ -21,8 +21,10 @@ }, "subCategories": [ { - "id": "culture", - "name": null + "id": "culture" + }, + { + "id": "historic" } ] } diff --git a/historic.json b/historic.json index f7c0ae2..80616bc 100644 --- a/historic.json +++ b/historic.json @@ -1,4 +1,5 @@ { + "type": "overpass", "name": { "ast": "Hestoria", "cs": "Historické", @@ -15,5 +16,18 @@ "ro": "Istoric", "ru": "Историческое", "uk": "Історія" + }, + "query": { + "11": "(\nnode[historic~\"^(castle|archaeological_site|battlefield|monument)$\"];\nway[historic~\"^(castle|archaeological_site|battlefield|monument)$\"];\nrelation[historic~\"^(castle|archaeological_site|battlefield|monument)$\"];\n)", + "14": "(\nnode[historic];\nway[historic];\nrelation[historic];\n)" + }, + "feature": { + "description": "{{ tagTransList('historic', tags.historic) }}", + "body": "{{ tagTransList('historic', tags.historic) }}", + "markerSign": "{{ const[tags.historic] }}" + }, + "const": { + "castle": "🏰", + "aircraft": "✈" } }