Added Trails + Parking Layers/Themes

This commit is contained in:
karelleketers 2021-07-13 16:38:09 +02:00
parent fa9313a3b7
commit a69d6c3a2b
29 changed files with 1069 additions and 96 deletions

View file

@ -0,0 +1,12 @@
[
{
"authors": [
"Freepik"
],
"path": "trail.svg",
"license": "CC-BY",
"sources": [
"https://www.flaticon.com/free-icon/trail_3273172?term=trail&page=1&position=11&page=1&position=11&related_id=3273172&origin=search"
]
}
]

View file

@ -0,0 +1,194 @@
{
"id": "trail",
"name": {
"nl": "paden"
},
"minzoom": 12,
"source": {
"osmTags": {
"and": [
{"or": [
"route=hiking",
"route=bycicle",
"route=horse"
]}
]
}
},
"title": {
"render": {
"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",
{
"#": "Access tag",
"render": {
"nl": "De toegankelijkheid van dit gebied is: {access:description}"
},
"question": {
"nl": "Is dit gebied toegankelijk?"
},
"freeform": {
"key": "access:description"
},
"mappings": [
{
"if": {
"and": [
"access=yes",
"fee="
]
},
"then": {
"nl": "Vrij toegankelijk"
}
},
{
"if": {
"and": [
"access=no",
"fee="
]
},
"then": {
"nl": "Niet toegankelijk"
}
},
{
"if": {
"and": [
"access=private",
"fee="
]
},
"then": {
"nl": "Niet toegankelijk, want privégebied"
}
},
{
"if": {
"and": [
"access=permissive",
"fee="
]
},
"then": {
"nl": "Toegankelijk, ondanks dat het privegebied is"
}
},
{
"if": {
"and": [
"access=guided",
"fee="
]
},
"then": {
"nl": "Enkel toegankelijk met een gids of tijdens een activiteit"
}
},
{
"if": {
"and": [
"access=yes",
"fee=yes"
]
},
"then": {
"nl": "Toegankelijk mits betaling"
}
}
]
},
{
"#": "Operator tag",
"render": {
"nl": "Beheer door {operator}"
},
"question": {
"nl": "Wie beheert dit pad?"
},
"freeform": {
"key": "operator"
},
"mappings": [
{
"if": {
"and": [
"operator=Natuurpunt"
]
},
"then": {
"nl": "<img src=\"./assets/themes/buurtnatuur/Natuurpunt.jpg\" style=\"width:1.5em\">Dit gebied wordt beheerd door Natuurpunt"
}
},
{
"if": {
"and": [
"operator~(n|N)atuurpunt.*"
]
},
"then": {
"nl": "<img src=\"./assets/themes/buurtnatuur/Natuurpunt.jpg\" style=\"width:1.5em\">Dit gebied wordt beheerd door {operator}"
},
"hideInAnswer": true
}
]
}
],
"hideUnderlayingFeaturesMinPercentage": 10,
"wayHandling": 2,
"width": {
"render": "5"
},
"iconSize": {
"render": "50,50,center"
},
"color": {
"render": "#335D9F"
},
"presets": [
{
"tags": [
"route=hiking",
"fixme=Toegevoegd met MapComplete, geometry nog uit te tekenen"
],
"title": {
"nl": "Paden"
},
"description": {
"nl": "Voeg een ontbrekend, erkend pad toe."
}
}
]
}

View file

@ -0,0 +1,39 @@
<svg
id="Capa_1"
enable-background="new 0 0 512 512"
height="512"
viewBox="0 0 512 512"
width="512"
xmlns="http://www.w3.org/2000/svg">
<g>
<g>
<path
d="m512 256c0 38.647-8.563 75.293-23.896 108.144-40.761 87.336-232.104 98.003-232.104 98.003s-191.591-10.837-232.275-98.369c-15.225-32.758-23.725-69.275-23.725-107.778 0-141.387 114.613-256 256-256s256 114.613 256 256zm0 0"
fill="#71edff"/>
<path
d="m512 256c0 26.051-3.891 51.191-11.129 74.871-5.031 16.469-11.672 32.231-19.75 47.109-8.25 15.2-147.391 79.104-225.121 79.104s-216.871-63.904-225.109-79.104c-3.289-6.031-6.332-12.21-9.121-18.531-14-31.629-21.77-66.629-21.77-103.449 0-46.219 12.25-89.57 33.68-127 44.121 77.07 127.16 129 222.32 129s178.211-51.93 222.32-129c21.43 37.43 33.68 80.781 33.68 127zm0 0"
fill="#00c7ec"/>
</g>
<g>
<path
d="m256 81.172-27.963 55.927 27.963 55.926c30.888 0 55.927-25.039 55.927-55.927 0-30.887-25.039-55.926-55.927-55.926z"
fill="#fe9c1b"/>
<path
d="m200.073 137.099c0 30.887 25.039 55.927 55.927 55.927v-111.854c-30.888 0-55.927 25.039-55.927 55.927z"
fill="#fec07f"/>
<path
d="m200.073 137.099c0 30.887 25.039 55.927 55.927 55.927-48.803-28.6-51.532-77.696 0-111.854-30.888 0-55.927 25.039-55.927 55.927z" fill="#fff5b2"/><path d="m342.572 314.915h22.984v68.185h-22.984z" fill="#c93131"/><path d="m146.445 314.915h22.984v68.185h-22.984z" fill="#c93131"/><path d="m452.127 294.307-98.063-167.934-98.064 167.934h25.518l-25.518 43.592h196.127l-25.518-43.592z" fill="#1c5e70"/><path d="m256 294.307-98.064-167.934-98.063 167.934h25.518l-25.518 43.592h196.127l-25.518-43.592z" fill="#35707f"/><path d="m157.125 337.899v-210.136l-97.252 166.544h25.518l-25.518 43.592z"
fill="#009f8b"/>
<path
d="m155.47 491.497 72.012-9.497v-117.9h-203.586c26.599 57.015 73.574 102.606 131.574 127.397z"
fill="#84ed48"/>
<path
d="m284.517 364.1v117.9l72.012 9.497c58-24.791 104.975-70.382 131.575-127.397z"
fill="#23d089"/>
<path
d="m284.517 364.1h-28.517l-90 73.95 90 73.95c62.521 0 119.797-22.423 164.252-59.651z"
fill="#fe9c1b"/>
<path
d="m227.482 364.1-135.734 88.249c44.455 37.228 101.731 59.651 164.252 59.651v-147.9z"
fill="#fec07f"/>
</g></g></svg>

After

Width:  |  Height:  |  Size: 2.3 KiB