forked from MapComplete/MapComplete
Added Trails + Parking Layers/Themes
This commit is contained in:
parent
fa9313a3b7
commit
a69d6c3a2b
29 changed files with 1069 additions and 96 deletions
12
assets/layers/parking/license_info.json
Normal file
12
assets/layers/parking/license_info.json
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[
|
||||
{
|
||||
"authors": [
|
||||
"Freepik"
|
||||
],
|
||||
"path": "parking.svg",
|
||||
"license": "CC-BY",
|
||||
"sources": [
|
||||
"https://www.flaticon.com/free-icon/placeholder_608690?term=parking&page=1&position=16&page=1&position=16&related_id=608690&origin=search"
|
||||
]
|
||||
}
|
||||
]
|
||||
195
assets/layers/parking/parking.json
Normal file
195
assets/layers/parking/parking.json
Normal file
|
|
@ -0,0 +1,195 @@
|
|||
{
|
||||
"id": "parking",
|
||||
"name": {
|
||||
"nl": "parking"
|
||||
},
|
||||
"minzoom": 12,
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
{"or": [
|
||||
"amenity=parking",
|
||||
"amenity=motorcycle_parking"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"nl": "Parking"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"name:nl~*"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "{name:nl}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"name~*"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"nl": "{name}"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"icon": {
|
||||
"render": "./assets/layers/parking/parking.svg"
|
||||
},
|
||||
"description": {
|
||||
"nl": "Parking"
|
||||
},
|
||||
"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": "#E1AD01"
|
||||
},
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
"amenity=parking",
|
||||
"amenity=motorcycle_parking",
|
||||
"fixme=Toegevoegd met MapComplete, geometry nog uit te tekenen"
|
||||
],
|
||||
"title": {
|
||||
"nl": "Paden"
|
||||
},
|
||||
"description": {
|
||||
"nl": "Voeg een ontbrekend, erkend pad toe."
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
1
assets/layers/parking/parking.svg
Normal file
1
assets/layers/parking/parking.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<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><g><g><g><g><g><g><path d="m222.923 509.883c-125.76-16.224-222.923-123.707-222.923-253.883 0-141.385 114.615-256 256-256s256 114.615 256 256c0 130.176-97.163 237.659-222.923 253.883z" fill="#ffce00"/></g></g></g></g></g></g></g><path d="m288.816 509.916c125.886-16.108 223.184-123.65 223.184-253.916 0-4.848-.135-9.664-.401-14.445l-123.709-123.709-244.591 260.094 129.3 129.3z" fill="#ffa300"/><g><path d="m222.923 509.882c10.828 1.397 21.869 2.118 33.077 2.118s22.249-.721 33.077-2.118v-187.467h-66.155v187.467z" fill="#707789"/></g><g><path d="m289.077 322.415h-32.957v189.584c11.167-.005 22.167-.725 32.957-2.117z" fill="#555a66"/></g><g><g><g><g><g><g><g><ellipse cx="256" cy="238.86" fill="#fff" rx="157.085" ry="157.085" transform="matrix(.707 -.707 .707 .707 -93.919 250.98)"/><path d="m413.085 238.86c0-86.716-70.265-157.019-156.965-157.084v314.168c86.701-.066 156.965-70.368 156.965-157.084z" fill="#e9edf5"/><path d="m256 417.945c-98.748 0-179.086-80.337-179.086-179.085s80.338-179.086 179.086-179.086 179.086 80.338 179.086 179.086-80.338 179.085-179.086 179.085zm0-314.171c-74.486 0-135.086 60.599-135.086 135.086 0 74.486 60.6 135.085 135.086 135.085s135.086-60.599 135.086-135.085c0-74.487-60.6-135.086-135.086-135.086z" fill="#ff583e"/><path d="m435.086 238.86c0-98.708-80.273-179.018-178.965-179.084v44c74.431.065 134.965 60.638 134.965 135.084s-60.534 135.018-134.965 135.084v44c98.692-.066 178.965-80.376 178.965-179.084z" fill="#f92814"/></g></g></g></g></g></g></g><g><path d="m272.045 146.859h-59.122v178.993h30v-60.749h29.122c32.6 0 59.122-26.522 59.122-59.122s-26.522-59.122-59.122-59.122zm0 88.244h-29.122v-20.141-38.103h29.122c16.058 0 29.122 13.064 29.122 29.122s-13.064 29.122-29.122 29.122z" fill="#555a66"/><g><path d="m272.045 146.859h-15.924v30h15.924c16.058 0 29.122 13.064 29.122 29.122s-13.064 29.122-29.122 29.122h-15.924v30h15.924c32.6 0 59.122-26.522 59.122-59.122s-26.522-59.122-59.122-59.122z" fill="#333940"/></g></g></g></svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
Loading…
Add table
Add a link
Reference in a new issue