From d689140c249347bc697653e12488a65cf442d8d7 Mon Sep 17 00:00:00 2001 From: Robin van der Linde Date: Sat, 23 Oct 2021 13:23:45 +0200 Subject: [PATCH] Move over to tiled GeoJSON + update description --- assets/themes/street_lighting/street_lighting.json | 4 ++-- .../themes/street_lighting/street_lighting_assen.json | 11 +++++++---- langs/themes/en.json | 2 +- langs/themes/nl.json | 6 +++--- 4 files changed, 13 insertions(+), 10 deletions(-) diff --git a/assets/themes/street_lighting/street_lighting.json b/assets/themes/street_lighting/street_lighting.json index 31a94c0470..f1bd77be03 100644 --- a/assets/themes/street_lighting/street_lighting.json +++ b/assets/themes/street_lighting/street_lighting.json @@ -11,8 +11,8 @@ "nl": "Straatverlichting" }, "description": { - "en": "A theme showing information about street lamps, like light type, mounting, light colour and much more.", - "nl": "Een thema met details over straatlantaarns zoals verlichtingstype, montage, lichtkleur en veel meer." + "en": "On this map you can find everything about street lighting", + "nl": "Op deze kaart vind je alles over straatlantaarns" }, "icon": "./assets/layers/street_lamps/street_lamp.svg", "startZoom": 19, diff --git a/assets/themes/street_lighting/street_lighting_assen.json b/assets/themes/street_lighting/street_lighting_assen.json index 2acfffa960..799950826c 100644 --- a/assets/themes/street_lighting/street_lighting_assen.json +++ b/assets/themes/street_lighting/street_lighting_assen.json @@ -3,13 +3,14 @@ "maintainer": "Robin van der Linde", "version": "2021-10-22", "language": [ - "nl" + "nl", + "en" ], "title": { - "nl": "Straatverlichting Assen" + "nl": "Straatverlichting - Assen" }, "description": { - "nl": "Straatverlichtingkaart met dataset Assen" + "nl": "Op deze kaart vind je alles over straatlantaarns + een dataset van Assen" }, "icon": "./assets/layers/street_lamps/street_lamp.svg", "startZoom": 19, @@ -22,7 +23,9 @@ "name": "Dataset Assen", "source": { "osmTags": "Lichtmastnummer~*", - "geoJson": "https://opendata.arcgis.com/datasets/ba37cdb372064b3199c548b75d16a609_0.geojson", + "#geoJson": "https://opendata.arcgis.com/datasets/ba37cdb372064b3199c548b75d16a609_0.geojson", + "geoJson": "https://robinlinde.github.io/tiles/assen_street_lighting/{z}/{x}/{y}.json", + "geoJsonZoomLevel": 16, "isOsmCache": false }, "calculatedTags": [ diff --git a/langs/themes/en.json b/langs/themes/en.json index 4d0e46575d..d6560316ea 100644 --- a/langs/themes/en.json +++ b/langs/themes/en.json @@ -1228,7 +1228,7 @@ "title": "Sport pitches" }, "street_lighting": { - "description": "A theme showing information about street lamps, like light type, mounting, light colour and much more.", + "description": "On this map you can find everything about street lighting", "layers": { "1": { "name": "Lit streets", diff --git a/langs/themes/nl.json b/langs/themes/nl.json index 5848cc0a50..3d2097f3e8 100644 --- a/langs/themes/nl.json +++ b/langs/themes/nl.json @@ -898,7 +898,7 @@ "title": "Sportvelden" }, "street_lighting": { - "description": "Een thema met details over straatlantaarns zoals verlichtingstype, montage, lichtkleur en veel meer.", + "description": "Op deze kaart vind je alles over straatlantaarns", "layers": { "1": { "name": "Verlichte straten", @@ -954,8 +954,8 @@ "title": "Straatverlichting" }, "street_lighting_assen": { - "description": "Straatverlichtingkaart met dataset Assen", - "title": "Straatverlichting Assen" + "description": "Op deze kaart vind je alles over straatlantaarns + een dataset van Assen", + "title": "Straatverlichting - Assen" }, "surveillance": { "description": "Op deze open kaart kan je bewakingscamera's vinden.",