Add living_street explanation, tweaked zoom levels

This commit is contained in:
pietervdvn 2021-04-25 13:22:50 +02:00
parent bd6da0fa04
commit 0aad17e63c
4 changed files with 112 additions and 3 deletions

View file

@ -0,0 +1,12 @@
[
{
"authors": [
"Belgische Wetgever"
],
"path": "woonerf.svg",
"license": "CC0",
"sources": [
"https://nl.wikipedia.org/wiki/Bestand:Belgian_road_sign_F12a.svg"
]
}
]

View file

@ -1,7 +1,7 @@
{
"id": "slow_roads",
"name": {
"nl": "Trage wegen"
"nl": "Paadjes, trage wegen en autoluwe straten"
},
"minzoom": 16,
"source": {
@ -65,6 +65,11 @@
},
"tagRenderings": [
"images",
{
"render": {
"nl:": "<div class='flex'><img src='./assets/layers/slow_roads/woonerf.svg' style='width: 150px; height: auto; margin-right: 0.5em;' /> <div> Dit is een woonerf: <ul><li>Voetgangers mogen hier de volledige breedte van de straat gebruiken</li><li>Gemotoriseerd verkeer mag maximaal <b>20km/h</b> rijden</li></ul></div></div>"
}
},
{
"question": {
"nl": "Wat is de wegverharding van dit pad?"
@ -171,7 +176,12 @@
"then": "0 12"
},
{
"if": {"or":["highway=footway","highway=pedestrian"]},
"if": {
"or": [
"highway=footway",
"highway=pedestrian"
]
},
"then": "12 18"
},
{

View file

@ -0,0 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="154.972px" height="103.847px" viewBox="0 0 154.972 103.847" enable-background="new 0 0 154.972 103.847"
xml:space="preserve">
<path fill="none" stroke="#000000" stroke-width="0.301" stroke-miterlimit="3.863" d="M11.947,103.576l131.5-0.061
c6.26,0,11.315-5.063,11.315-11.331l0.06-80.642c0-6.329-5.055-11.392-11.313-11.392H11.466C5.207,0.15,0.15,5.213,0.15,11.542
v80.823c0,6.268,5.056,11.331,11.315,11.331L11.947,103.576z"/>
<path fill-rule="evenodd" clip-rule="evenodd" fill="#0071B3" d="M9.239,94.656 M145.794,94.656H9.239V9.191h136.555V94.656z"/>
<path fill="none" stroke="#0071B3" stroke-width="0.301" stroke-miterlimit="3.863" d="M9.239,94.656 M145.794,94.656H9.239V9.191
h136.555V94.656z"/>
<polygon fill="#FFFFFF" points="107.276,22.752 107.276,45.293 132.976,45.293 132.976,22.813 128.702,19.558 128.702,14.073
124.851,14.073 124.851,16.785 120.036,14.073 "/>
<polygon fill="none" stroke="#FFFFFF" stroke-width="0.301" stroke-miterlimit="3.863" points="107.276,22.752 107.276,45.293
132.976,45.293 132.976,22.813 128.702,19.558 128.702,14.073 124.851,14.073 124.851,16.785 120.036,14.073 "/>
<path fill="#FFFFFF" d="M99.092,51.803c-6.62,0-11.916-5.244-11.916-11.874v-3.495h2.647v2.169c0,5.967,4.875,10.849,10.834,10.849
h37.674v2.351H99.092z"/>
<path fill="none" stroke="#FFFFFF" stroke-width="0.301" stroke-miterlimit="3.863" d="M99.092,51.803
c-6.62,0-11.916-5.244-11.916-11.874v-3.495h2.647v2.169c0,5.967,4.875,10.849,10.834,10.849h37.674v2.351H99.092z"/>
<polygon fill="#FFFFFF" points="79.411,14.736 59.19,14.736 56.182,22.752 55.219,23.656 55.219,25.464 56.423,32.878
57.807,32.878 57.807,37.398 60.154,37.398 60.154,32.938 78.148,32.938 78.148,37.277 80.314,37.277 80.314,32.878 81.76,32.878
82.723,25.946 82.661,23.897 81.519,22.933 "/>
<polygon fill="none" stroke="#FFFFFF" stroke-width="0.301" stroke-miterlimit="3.863" points="79.411,14.736 59.19,14.736
56.182,22.752 55.219,23.656 55.219,25.464 56.423,32.878 57.807,32.878 57.807,37.398 60.154,37.398 60.154,32.938 78.148,32.938
78.148,37.277 80.314,37.277 80.314,32.878 81.76,32.878 82.723,25.946 82.661,23.897 81.519,22.933 "/>
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M67.737,84.952c-3.491,0-5.657-3.737-3.912-6.75
c1.745-3.014,6.079-3.073,7.824,0C73.394,81.215,71.228,84.952,67.737,84.952z"/>
<path fill="none" stroke="#FFFFFF" stroke-width="0.301" stroke-miterlimit="3.863" d="M67.737,84.952
c-3.491,0-5.657-3.737-3.912-6.75c1.745-3.014,6.079-3.073,7.824,0C73.394,81.215,71.228,84.952,67.737,84.952z"/>
<path fill="#FFFFFF" d="M20.553,86.459c0.723,0,1.625-0.904,1.625-1.628c0-0.723-0.602-1.325-1.324-1.325l7.643-11.754l2.107-8.858
l12.277,22.722l5.778-2.953c0.722,0,1.324-0.603,1.324-1.326s-0.602-1.326-1.324-1.326l-2.167,0.603L35.418,58.131l2.046-12.294
l3.49,9.462l8.366,1.326c0.903,0,1.685-0.783,1.685-1.688s-0.782-1.688-1.685-1.688l-5.296-0.965l-4.394-11.813l-3.671,0.06
l-0.722-0.301l0.301-1.989l0.782-0.603c0.903,0,1.685-0.783,1.685-1.688l0.843-3.978c0.181-0.904-0.722-1.868-1.625-1.868
l-3.972-0.301c-0.782-0.121-1.444,0.181-1.505,0.844l-1.564,8.799l-0.602,0.603l-3.07-0.121l-7.763,8.077v9.221
c0,0.903,0.782,1.688,1.685,1.688s1.685-0.784,1.685-1.688l0.361-7.172l5.236-5.003l-4.153,23.566l-8.786,13.983L20.553,86.459z"/>
<path fill="none" stroke="#FFFFFF" stroke-width="0.301" stroke-miterlimit="3.863" d="M20.553,86.459
c0.723,0,1.625-0.904,1.625-1.628c0-0.723-0.602-1.325-1.324-1.325l7.643-11.754l2.107-8.858l12.277,22.722l5.778-2.953
c0.722,0,1.324-0.603,1.324-1.326s-0.602-1.326-1.324-1.326l-2.167,0.603L35.418,58.131l2.046-12.294l3.49,9.462l8.366,1.326
c0.903,0,1.685-0.783,1.685-1.688s-0.782-1.688-1.685-1.688l-5.296-0.965l-4.394-11.813l-3.671,0.06l-0.722-0.301l0.301-1.989
l0.782-0.603c0.903,0,1.685-0.783,1.685-1.688l0.843-3.978c0.181-0.904-0.722-1.868-1.625-1.868l-3.972-0.301
c-0.782-0.121-1.444,0.181-1.505,0.844l-1.564,8.799l-0.602,0.603l-3.07-0.121l-7.763,8.077v9.221c0,0.903,0.782,1.688,1.685,1.688
s1.685-0.784,1.685-1.688l0.361-7.172l5.236-5.003l-4.153,23.566l-8.786,13.983L20.553,86.459z"/>
<path fill="#FFFFFF" d="M100.837,83.145l-0.36-0.663l-5.658,3.134h-1.685l-5.236-5.605l-6.561,3.496l-4.392,6.328l-3.069-1.688
c-0.301-0.241-0.482-0.542-0.482-0.904c0-0.604,0.482-1.085,1.083-1.085c0.241,0,0.482,0.062,0.662,0.241l0.482,0.24l3.912-6.448
l5.416-2.591l-0.541-6.992l-9.269,0.965c-0.541,0-1.023-0.482-1.023-1.025c0-0.541,0.482-1.024,1.023-1.024l8.907-1.084l0.783-0.784
l-0.182-1.868c-1.384-0.422-2.406-1.748-2.406-3.255c0-1.868,1.564-3.436,3.43-3.436s3.431,1.567,3.431,3.436
c0,1.085-0.542,2.049-1.323,2.712v1.688l0.602,0.964l5.537-0.362l4.574-6.388c0.42-0.543,0.48-1.025,1.022-1.025
c0.541,0,1.022,0.482,1.022,1.025l-5.477,8.317l-5.176,0.543l0.723,7.051l3.791,4.822l6.561-3.194l1.865,3.435
c0.061,0.182,0.12,0.362,0.12,0.604c0,0.603-0.481,1.084-1.083,1.084c-0.482,0-0.843-0.24-1.023-0.603V83.145z"/>
<path fill="none" stroke="#FFFFFF" stroke-width="0.301" stroke-miterlimit="3.863" d="M100.837,83.145l-0.36-0.663l-5.658,3.134
h-1.685l-5.236-5.605l-6.561,3.496l-4.392,6.328l-3.069-1.688c-0.301-0.241-0.482-0.542-0.482-0.904
c0-0.604,0.482-1.085,1.083-1.085c0.241,0,0.482,0.062,0.662,0.241l0.482,0.24l3.912-6.448l5.416-2.591l-0.541-6.992l-9.269,0.965
c-0.541,0-1.023-0.482-1.023-1.025c0-0.541,0.482-1.024,1.023-1.024l8.907-1.084l0.783-0.784l-0.182-1.868
c-1.384-0.422-2.406-1.748-2.406-3.255c0-1.868,1.564-3.436,3.43-3.436s3.431,1.567,3.431,3.436c0,1.085-0.542,2.049-1.323,2.712
v1.688l0.602,0.964l5.537-0.362l4.574-6.388c0.42-0.543,0.48-1.025,1.022-1.025c0.541,0,1.022,0.482,1.022,1.025l-5.477,8.317
l-5.176,0.543l0.723,7.051l3.791,4.822l6.561-3.194l1.865,3.435c0.061,0.182,0.12,0.362,0.12,0.604c0,0.603-0.481,1.084-1.083,1.084
c-0.482,0-0.843-0.24-1.023-0.603V83.145z"/>
<polygon fill="#0071B3" points="123.405,33.42 116.364,33.42 116.364,42.521 109.805,42.521 109.805,24.561 120.036,16.785
130.206,24.019 130.206,42.521 123.226,42.521 123.226,33.42 "/>
<polygon fill="none" stroke="#0071B3" stroke-width="0.301" stroke-miterlimit="3.863" points="123.405,33.42 116.364,33.42
116.364,42.521 109.805,42.521 109.805,24.561 120.036,16.785 130.206,24.019 130.206,42.521 123.226,42.521 123.226,33.42 "/>
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M116.846,30.045 M123.286,30.045h-6.439v-6.871h6.439V30.045z"/>
<path fill="none" stroke="#FFFFFF" stroke-width="0.301" stroke-miterlimit="3.863" d="M116.846,30.045 M123.286,30.045h-6.439
v-6.871h6.439V30.045z"/>
<path fill-rule="evenodd" clip-rule="evenodd" fill="#0071B3" d="M63.404,27.754 M75.379,27.754H63.404V26.85h11.976V27.754z"/>
<path fill="none" stroke="#0071B3" stroke-width="0.301" stroke-miterlimit="3.863" d="M63.404,27.754 M75.379,27.754H63.404V26.85
h11.976V27.754z"/>
<path fill-rule="evenodd" clip-rule="evenodd" fill="#0071B3" d="M60.635,29.442 M77.487,29.442H60.636v-0.904h16.851V29.442z"/>
<path fill="none" stroke="#0071B3" stroke-width="0.301" stroke-miterlimit="3.863" d="M60.635,29.442 M77.487,29.442H60.636v-0.904
h16.851V29.442z"/>
<path fill-rule="evenodd" clip-rule="evenodd" fill="#0071B3" d="M63.463,31.19 M75.26,31.19H63.463v-0.904H75.26V31.19z"/>
<path fill="none" stroke="#0071B3" stroke-width="0.301" stroke-miterlimit="3.863" d="M63.463,31.19 M75.26,31.19H63.463v-0.904
H75.26V31.19z"/>
<path fill-rule="evenodd" clip-rule="evenodd" fill="#0071B3" d="M58.95,28.056c-1.083,0-1.805-1.206-1.264-2.17
c0.542-0.964,1.986-0.964,2.528,0C60.756,26.85,60.033,28.056,58.95,28.056z"/>
<path fill="none" stroke="#0071B3" stroke-width="0.301" stroke-miterlimit="3.863" d="M58.95,28.056
c-1.083,0-1.805-1.206-1.264-2.17c0.542-0.964,1.986-0.964,2.528,0C60.756,26.85,60.033,28.056,58.95,28.056z"/>
<path fill-rule="evenodd" clip-rule="evenodd" fill="#0071B3" d="M79.112,28.056c-1.084,0-1.807-1.206-1.265-2.17
c0.541-0.964,1.985-0.964,2.526,0C80.917,26.85,80.194,28.056,79.112,28.056z"/>
<path fill="none" stroke="#0071B3" stroke-width="0.301" stroke-miterlimit="3.863" d="M79.112,28.056
c-1.084,0-1.807-1.206-1.265-2.17c0.541-0.964,1.985-0.964,2.526,0C80.917,26.85,80.194,28.056,79.112,28.056z"/>
<polygon fill="#0071B3" points="57.205,22.813 59.792,15.941 78.63,15.941 80.436,22.873 "/>
<polygon fill="none" stroke="#0071B3" stroke-width="0.301" stroke-miterlimit="3.863" points="57.205,22.813 59.792,15.941
78.63,15.941 80.436,22.873 "/>
</svg>

After

Width:  |  Height:  |  Size: 8.6 KiB

View file

@ -31,7 +31,8 @@
"geoJson": "https://pietervdvn.github.io/speelplekken_cache/speelplekken_{z}_{x}_{y}.geojson",
"geoJsonZoomLevel": 14
},
"icon": "./assets/themes/speelplekken/speelbos.svg"
"icon": "./assets/themes/speelplekken/speelbos.svg",
"minzoom": 12
}
},
{