From 708f15d1e741f250c1d820d3e29d34fc16908667 Mon Sep 17 00:00:00 2001 From: arrival-spring <77166354+arrival-spring@users.noreply.github.com> Date: Sun, 13 Feb 2022 08:45:28 +0000 Subject: [PATCH 1/2] Add schools layer to etymology theme Many schools are named after interesting things, so this should be added to the etymology theme. --- assets/themes/etymology.json | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/assets/themes/etymology.json b/assets/themes/etymology.json index ceff10d4aa..ac772e4123 100644 --- a/assets/themes/etymology.json +++ b/assets/themes/etymology.json @@ -90,7 +90,32 @@ } } } + }, + { + "builtin": "etymology", + "override": { + "id": "education_institutions_without_etymology", + "name": { + "en": "Education institutions without etymology information", + }, + "minzoom": 18, + "source": { + "osmTags": { + "and": [ + "name~*", + { + "or": [ + "amenity=school", + "amenity=kindergarten", + "amenity=university", + "amenity=college" + ] + } + ] + } + } + } } ], "hideFromOverview": false -} \ No newline at end of file +} From 1ba9d1ef7700ea3937e2294b4480302b07577a9e Mon Sep 17 00:00:00 2001 From: arrival-spring <77166354+arrival-spring@users.noreply.github.com> Date: Sun, 13 Feb 2022 13:04:23 +0000 Subject: [PATCH 2/2] Remove stray comma --- assets/themes/etymology.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/themes/etymology.json b/assets/themes/etymology.json index ac772e4123..130cc83d17 100644 --- a/assets/themes/etymology.json +++ b/assets/themes/etymology.json @@ -96,7 +96,7 @@ "override": { "id": "education_institutions_without_etymology", "name": { - "en": "Education institutions without etymology information", + "en": "Education institutions without etymology information" }, "minzoom": 18, "source": {