Changed zoomlevels Natuurpunt + Nat res width

This commit is contained in:
karelleketers 2021-07-19 11:27:31 +02:00
parent dd26321f9b
commit 58b46bcc39
13 changed files with 572 additions and 259 deletions

View file

@ -147,7 +147,7 @@
"hu": "Anyag: {material}",
"it": "Materiale: {material}",
"ru": "Материал: {material}",
"zh_Hans": "材质: {material}",
"zh_Hanå¨s": "材质: {material}",
"zh_Hant": "材質:{material}",
"nb_NO": "Materiale: {material}"
},

View file

@ -398,7 +398,7 @@
"render": "./assets/themes/buurtnatuur/nature_reserve.svg"
},
"width": {
"render": "5"
"render": "1"
},
"iconSize": {
"render": "50,50,center"

View file

@ -8,6 +8,7 @@
"ru": "Туалеты",
"it": "Servizi igienici"
},
"minzoom": 12,
"source": {
"osmTags": "amenity=toilets"
},
@ -37,7 +38,6 @@
"color": {
"render": "#0000ff"
},
"minzoom": 12,
"wayHandling": 2,
"presets": [
{

View file

@ -8,5 +8,21 @@
"sources": [
"https://www.flaticon.com/free-icon/trail_3273172?term=trail&page=1&position=11&page=1&position=11&related_id=3273172&origin=search"
]
},
{
"authors": [
"Freepik"
],
"path": "pushchair.svg",
"license": "CC-BY",
"sources": [
"https://www.flaticon.com/free-icon/stroller_1032915?term=pushchair&page=1&position=76&page=1&position=76&related_id=1032915&origin=search"
]
},
{
"authors": [],
"path": "wheelchair.svg",
"license": "CC0",
"sources": []
}
]

View file

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<circle style="fill:#FCD748;" cx="256" cy="256" r="256"/>
<path style="fill:#FABF40;" d="M512,256c0-16.703-1.619-33.026-4.673-48.838l-85.536-85.536L291.06,217.434L183.249,109.622
l-81.494,172.775l44.317,44.317l-30.557,75.884l107.257,107.257C233.649,511.266,244.739,512,256,512
C397.385,512,512,397.385,512,256z"/>
<path style="fill:#1D67BC;" d="M328.209,307.41H200.112c-31.299,0-56.672-25.373-56.672-56.672v-41.381h241.44v41.381
C384.88,282.037,359.508,307.41,328.209,307.41z"/>
<path style="fill:#1C6199;" d="M257.087,209.357v98.053h71.122c31.299,0,56.672-25.373,56.672-56.672v-41.381L257.087,209.357
L257.087,209.357z"/>
<path style="fill:#303030;" d="M323.604,421.786c-27.645,0-50.136-22.491-50.136-50.136s22.491-50.136,50.136-50.136
c27.646,0,50.137,22.491,50.137,50.136S351.249,421.786,323.604,421.786z M323.604,347.514c-13.309,0-24.136,10.828-24.136,24.136
s10.827,24.136,24.136,24.136s24.137-10.828,24.137-24.136S336.912,347.514,323.604,347.514z"/>
<path style="fill:#595959;" d="M154.914,421.786c-27.645,0-50.136-22.491-50.136-50.136s22.491-50.136,50.136-50.136
s50.136,22.491,50.136,50.136S182.559,421.786,154.914,421.786z M154.914,347.514c-13.309,0-24.136,10.828-24.136,24.136
s10.827,24.136,24.136,24.136s24.136-10.828,24.136-24.136S168.223,347.514,154.914,347.514z"/>
<path style="fill:#EC5353;" d="M80.179,205.37v22.545c0,43.904,35.591,79.495,79.495,79.495H272.49L160.383,115.984
C119.77,129.17,80.179,161.568,80.179,205.37z"/>
<polygon style="fill:#D13135;" points="257.087,278.52 257.087,307.41 272.491,307.41 "/>
<path style="fill:#2789E1;" d="M413.54,121.626c-25.769,0-50.736,10.705-68.501,29.369l-87.952,88.838l-72.966-129.339
c-7.758,1.049-15.767,2.901-23.738,5.489l83.031,141.778l-99.177,104.194l18.832,17.926l94.018-98.773l15.404,26.302h26.702
l-25.541-43.706l90.219-94.783c12.881-13.533,30.983-21.295,49.668-21.295h8.251v-26C421.79,121.626,413.54,121.626,413.54,121.626z
"/>
<path style="fill:#1D67BC;" d="M257.087,281.108l56.471,96.426l20.091-11.767l-59.996-102.063l90.219-94.783
c12.881-13.533,30.983-21.295,49.668-21.295h8.251v-26h-8.251c-25.769,0-50.736,10.705-68.501,29.369l-87.952,88.838V281.108z"/>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View file

@ -1,7 +1,8 @@
{
"id": "trail",
"name": {
"nl": "paden"
"en": "Trails",
"nl": "Paden"
},
"minzoom": 12,
"source": {
@ -17,36 +18,9 @@
},
"title": {
"render": {
"en": "Trails",
"nl": "Paden"
},
"mappings": [
{
"if": {
"and": [
"name:nl~*"
]
},
"then": {
"nl": "{name:nl}"
}
},
{
"if": {
"and": [
"name~*"
]
},
"then": {
"nl": "{name}"
}
}
]
},
"icon": {
"render": "./assets/layers/trail/trail.svg"
},
"description": {
"nl": "Paden waarlangs kan gewandeld worden"
}
},
"tagRenderings": [
"images",
@ -164,15 +138,264 @@
"hideInAnswer": true
}
]
},
{
"question": {
"nl": "Is dit pad toegankelijk met de rolstoel?"
},
"mappings": [
{
"then": {
"nl": "Dit pad is toegankelijk met de rolstoel"
},
"if": "wheelchair=yes"
},
{
"then": {
"nl": "Dit pad is niet toegankelijk met de rolstoel"
},
"if": "wheelchair=no"
}
]
},
{
"question": {
"nl": "Is dit pad toegankelijk met de buggy?"
},
"mappings": [
{
"then": {
"nl": "Dit pad is toegankelijk met de buggy"
},
"if": "pushchair=yes"
},
{
"then": {
"nl": "Dit pad is niet toegankelijk met de buggy"
},
"if": "pushchair=no"
}
]
},
{
"render": {
"en": "Surface: {surface}",
"nl": "Ondergrond bestaat uit {surface}"
},
"freeform": {
"key": "surface",
"addExtraTags": []
},
"mappings": [
{
"if": "surface=paved",
"then": {
"en": "Surface: paved",
"nl": "Het pad is aangelegd"
}
},
{
"if": "surface=asphalt",
"then": {
"en": "Surface: asphalt",
"nl": "Ondergrond bestaat uit asfalt"
}
},
{
"if": "surface=concrete",
"then": {
"en": "Surface: concrete",
"nl": "Ondergrond bestaat uit cement"
}
},
{
"if": "surface=paving_stones",
"then": {
"en": "Surface: paving stones",
"nl": "Ondergrond bestaat uit plavei"
}
},
{
"if": "surface=cobblestone",
"then": {
"en": "Surface: cobblestone",
"nl": "Ondergrond bestaat uit kasseien"
}
},
{
"if": "surface=stepping_stones",
"then": {
"en": "Surface: stepping stones",
"nl": "Ondergrond bestaat uit stenen pad"
}
},
{
"if": "surface=unpaved",
"then": {
"en": "Surface: unpaved",
"nl": "Dit pad is niet aangelegd"
}
},
{
"if": "surface=gravel",
"then": {
"en": "Surface: gravel",
"nl": "Ondergrond bestaat uit grind"
}
},
{
"if": "surface=rock",
"then": {
"en": "Surface: rock",
"nl": "Ondergrond bestaat uit gesteente"
}
},
{
"if": "surface=pebblestone",
"then": {
"en": "Surface: pebblestone",
"nl": "Ondergrond bestaat uit kiezels"
}
},
{
"if": "surface=earth",
"then": {
"en": "Surface: earth",
"nl": "Ondergrond bestaat uit aarde"
}
},
{
"if": "surface=grass",
"then": {
"en": "Surface: grass",
"nl": "Ondergrond bestaat uit gras"
}
},
{
"if": "surface=mud",
"then": {
"en": "Surface: mud",
"nl": "Ondergrond bestaat uit modder"
}
},
{
"if": "surface=sand",
"then": {
"en": "Surface: sand",
"nl": "Ondergrond bestaat uit zand"
}
}
],
"question": {
"en": "What type of surface does the trail have?",
"nl": "Waaruit bestaat de ondergrond van het pad?"
}
},
{
"mappings": [
{
"if": "incline=very_easy",
"then": {
"en": "The trail is flat",
"nl": "Het pad is plat"
}
},
{
"if": "incline=easy",
"then": {
"en": "The trail is slightly elevated",
"nl": "Het pad is zo goed als plat"
}
},
{
"if": "incline=moderate",
"then": {
"en": "The trail is elevated",
"nl": "Het pad stijgt en/of daalt "
}
},
{
"if": "incline=somewhat_hard",
"then": {
"en": "The trail is slightly steep",
"nl": "Het pad is lichtjes steil"
}
},
{
"if": "incline=hard",
"then": {
"en": "The trail is steep",
"nl": "Het pad is steil"
}
},
{
"if": "incline=very_hard",
"then": {
"en": "The trail is very steep",
"nl": "Het pad is zeer steil"
}
},
{
"if": "incline=extreme",
"then": {
"en": "The trail is extremely steep",
"nl": "Het pad is extreem steil"
}
}
],
"question": {
"en": "What's the incline of the trail?",
"nl": "Hoe hard stijgt en/of daalt het pad?"
}
},
{
"render": {
"en": "The trail is {distance}km long",
"nl": "De lengte van het pad bedraagt {distance}km"
},
"freeform": {
"key": "distance",
"type": "float"
}
},
{
"render": {
"en": "The trail is {width}m wide",
"nl": "De breedte van het pad bedraagt {width}m"
},
"freeform": {
"key": "width",
"type": "nat"
},
"question": {
"en": "How wide is the trail (m)?",
"nl": "Hoe breed is het pad (m)?"
}
}
],
"hideUnderlayingFeaturesMinPercentage": 10,
"icon": {
"render": "./assets/layers/trail/trail.svg",
"mappings": [
{
"if": "wheelchair=yes",
"then": "./assets/layers/trail/wheelchair.svg"
},
{
"if": "pushchair=yes",
"then": "./assets/layers/trail/pushchair.svg"
}
]
},
"description": {
"nl": "Paden waarlangs kan gewandeld worden"
},
"wayHandling": 2,
"width": {
"render": "5"
},
"iconSize": {
"render": "50,50,center"
"render": "35,35,center"
},
"color": {
"render": "#335D9F"

View file

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 12.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
width="483.2226563"
height="551.4306641"
viewBox="0 0 483.2226563 551.4306641"
overflow="visible"
enable-background="new 0 0 483.2226563 551.4306641"
xml:space="preserve"
sodipodi:docname="wheelchair.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata
id="metadata11"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs9" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1001"
id="namedview7"
showgrid="false"
inkscape:zoom="0.8559553"
inkscape:cx="-66.220714"
inkscape:cy="292.29436"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1" />
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="background"><ellipse
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.484;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path838"
cx="241.83505"
cy="274.54706"
rx="241.83505"
ry="275.71533" /><ellipse
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:0.484;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path819"
cx="240.66678"
cy="275.71533"
rx="241.83505"
ry="274.54706" /></g><g
inkscape:groupmode="layer"
id="layer1"
inkscape:label="wheelchair"><path
inkscape:connector-curvature="0"
style="clip-rule:evenodd;fill:#000000;fill-rule:evenodd;stroke-width:0.66635805"
d="m 189.94589,159.71251 c 16.63422,-1.53575 29.55792,-15.86668 29.55792,-32.62877 0,-18.04178 -14.71518,-32.756968 -32.75696,-32.756968 -18.04178,0 -32.75631,14.715188 -32.75631,32.756968 0,5.50201 1.53509,11.13188 4.09445,15.86635 l 11.67168,164.23513 120.20865,0.0325 49.30463,115.52332 64.73308,-25.38668 -10.02402,-23.86915 -36.22735,13.07727 -47.70511,-110.13583 -111.76793,0.75095 -1.53445,-20.79896 80.91112,0.0322 v -30.77448 l -83.99758,-0.0329 z"
id="path2" /><path
inkscape:connector-curvature="0"
style="clip-rule:evenodd;fill:#000000;fill-rule:evenodd;stroke-width:0.66635805"
d="m 310.84431,395.24795 c -20.28873,40.10642 -62.75413,66.52908 -108.0502,66.52908 -66.52908,0 -120.790412,-54.26133 -120.790412,-120.79041 0,-46.71209 28.310452,-90.1207 70.555212,-109.36341 l 2.73376,35.67521 c -24.98647,15.74498 -40.3895,44.15435 -40.3895,73.93288 0,48.26215 39.36263,87.62413 87.62413,87.62413 44.15407,0 81.80523,-33.88535 86.93958,-77.35545 z"
id="path4" /></g></svg>

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

@ -0,0 +1,13 @@
[
{
"authors": [
"Gitte Loos (Createlli) in opdracht van Provincie Antwerpen "
],
"path": "walking_route.svg",
"license": "CC-BY-SA 4.0",
"sources": [
"https://createlli.com/",
"https://www.provincieantwerpen.be/"
]
}
]

View file

@ -0,0 +1,10 @@
<svg xmlns="http://www.w3.org/2000/svg" width="50.01" height="50.01" viewBox="0 0 300 300">
<defs>
<style>
.cls-1 {
fill-rule: evenodd;
}
</style>
</defs>
<path id="Zwart" class="cls-1" d="M267,0c26.481,0.514,38.385,24.871,32,54-1.9,8.685.339,15.529-2,23-7.065,22.569-21.675,39.488-39,52-3.534,2.552-11.283,11.877-18,10-7.131-1.992-19.45-12.863-26-17-6.983-4.41-21.842-8.214-25-16-4.308-6.844,4.919-30.528,7-36,9.468-24.9,22.79-49.029,44-62,5.216-3.19,12.848-5.5,19-7C262.081,0.251,265.03,1.183,267,0Zm-2,10c-1.749,1.114-4.3.123-7,1a83.82,83.82,0,0,0-21,11c-15.585,11.375-37.814,53.622-39,80,13.234,6.137,32.439,23.674,46,26,4.137-5.162,11.682-8.983,17-13,16.4-12.388,23.808-32.053,29-56,4.188-19.315-.971-42.729-13-47C274.333,9.867,270.046,9.88,265,10ZM88,67c27.112-.6,40.057,20.628,34,48v14c-5.522,22.773-13.394,41.079-24,58-5.021,8.012-9.847,20.415-21,22-7.591-5.5-32.05-11.305-42-15-7.033-2.612-13.517-1.85-16-9-5.614-7.88-3.195-29.434-1-39,7.5-32.678,19.442-55.965,44-71C69.018,70.7,81.2,71.256,88,67ZM86,77c-5.611,3.876-14.424,3.368-20,7-28.655,18.664-41.135,49.894-39,97,12.874,5.569,37.207,15.637,52,17,6.988-11.8,17.386-22.846,23-36,5.725-13.415,7.386-27.346,11-43,3.534-15.305-1.668-36.68-11-40C98.764,76.438,91.945,76.846,86,77Zm77,54c26.734,0.332,45.677,25.16,60,39v5c-12.186,12.413-33.645,50.436-63,40a30.584,30.584,0,0,1-18-18C131.376,169.345,152.144,147,163,131Zm3,11c-5.752,11.261-25.054,34.626-15,54,2.63,5.067,9.024,6.269,13,10,20.353,0.341,43.482-19.594,48-34h-1C207.283,161.524,179.755,143.082,166,142ZM17,219c13.223,2.114,49.916,10.317,54,19v15c-3.115,5.328-1.865,14.278-4,20-6.191,16.59-15.624,21.889-35,26-4.463.947-11.4,1.6-15-1-23.223-7.433-20.575-59.141-7-76C11.494,220.144,15.013,220.325,17,219Zm0,10c-5.186,20.82-21.264,61.666,17,61,2.616-1.793,7.073-1.292,10-3,12.621-7.366,17.2-23.665,17-44C48.61,237,34.162,230.449,17,229Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -0,0 +1,113 @@
{
"id": "walking_routes",
"icon": "./assets/layers/walking_routes/walking_route.svg",
"name": {
"nl": "Wandelroutes van provincie Antwerpen"
},
"minzoom": 12,
"description": "Walking routes by 'provincie Antwerpen'",
"source": {
"osmTags": {
"and": [
"type=route",
"route=foot"
]
},
"geoJson": "https://pietervdvn.github.io/speelplekken_cache/speelplekken_{layer}_{z}_{x}_{y}.geojson",
"geoJsonZoomLevel": 14,
"isOsmCache": true
},
"title": {
"render": "Wandeling <i>{name}</i>",
"mappings": [
{
"if": "name~.*wandeling.*",
"then": "{name}"
}
]
},
"tagRenderings": [
{
"render": {
"nl": "Deze wandeling is <b>{_length:km}km</b> lang"
}
},
{
"mappings": [
{
"if": "route=iwn",
"then": {
"nl": "Dit is een internationale wandelroute"
}
},
{
"if": "route=nwn",
"then": {
"nl": "Dit is een nationale wandelroute"
}
},
{
"if": "route=rwn",
"then": {
"nl": "Dit is een regionale wandelroute"
}
},
{
"if": "route=lwn",
"then": {
"nl": "Dit is een lokale wandelroute"
}
}
]
},
{
"render": {
"nl": "<h3>Korte beschrijving:</h3>{description}"
},
"question": "Geef een korte beschrijving van de wandeling (max 255 tekens)",
"freeform": {
"key": "description",
"type": "text"
}
},
{
"question": {
"nl": "Wie beheert deze wandeling en plaatst dus de signalisatiebordjes?"
},
"render": "Signalisatie geplaatst door {operator}",
"freeform": {
"key": "operator"
}
},
{
"question": {
"nl": "Naar wie kan men emailen bij problemen rond signalisatie?"
},
"render": {
"nl": "Bij problemen met signalisatie kan men emailen naar <a href='mailto:{operator:email}'>{operator:email}</a>"
},
"freeform": {
"key": "operator:email",
"type": "email"
}
},
"questions",
"reviews"
],
"color": {
"render": "#6d6",
"mappings": [
{
"if": "color~*",
"then": "{color}"
},
{
"if": "colour~*",
"then": "{colour}"
}
]
},
"width": {
"render": "9"
}
}