mapcomplete/assets/layers/trail/trail.json

421 lines
9.2 KiB
JSON
Raw Normal View History

2021-07-07 16:26:58 +02:00
{
2021-07-13 16:38:09 +02:00
"id": "trail",
2021-07-07 16:26:58 +02:00
"name": {
"en": "Trails",
"nl": "Paden"
2021-07-07 16:26:58 +02:00
},
"minzoom": 12,
"source": {
"osmTags": {
"and": [
2021-07-19 13:25:24 +02:00
{
"or": [
"route=hiking",
"route=bycicle",
"route=horse"
]
}
2021-07-07 16:26:58 +02:00
]
}
},
"title": {
"render": {
"en": "Trails",
2021-07-07 16:26:58 +02:00
"nl": "Paden"
}
2021-07-07 16:26:58 +02:00
},
"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
}
]
},
{
"question": {
"nl": "Is dit pad toegankelijk met de rolstoel?"
},
"mappings": [
{
"then": {
"nl": "Dit pad is toegankelijk met de rolstoel"
},
"if": "wheelchair=yes"
2021-07-19 13:25:24 +02:00
},
{
"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"
2021-07-19 13:25:24 +02:00
},
{
"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?"
2021-07-19 13:25:24 +02:00
}
},
{
"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"
}
}
2021-07-19 13:25:24 +02:00
],
"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"
},
2021-07-19 13:25:24 +02:00
"freeform": {
"key": "distance",
"type": "float"
}
},
{
"render": {
"en": "The trail is {width}m wide",
"nl": "De breedte van het pad bedraagt {width}m"
},
2021-07-19 13:25:24 +02:00
"freeform": {
"key": "width",
"type": "nat"
},
2021-07-19 13:25:24 +02:00
"question": {
"en": "How wide is the trail (m)?",
"nl": "Hoe breed is het pad (m)?"
}
}
2021-07-07 16:26:58 +02:00
],
"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"
},
2021-07-07 16:26:58 +02:00
"wayHandling": 2,
"width": {
2021-07-20 16:23:44 +02:00
"render": "3"
2021-07-07 16:26:58 +02:00
},
"iconSize": {
"render": "35,35,center"
2021-07-07 16:26:58 +02:00
},
"color": {
2021-07-08 11:33:25 +02:00
"render": "#335D9F"
2021-07-07 16:26:58 +02:00
},
2021-07-20 16:23:44 +02:00
"dashArray": {
"render": "5 5"
},
2021-07-07 16:26:58 +02:00
"presets": [
{
"tags": [
2021-07-08 11:33:25 +02:00
"route=hiking",
2021-07-07 16:26:58 +02:00
"fixme=Toegevoegd met MapComplete, geometry nog uit te tekenen"
],
"title": {
"nl": "Paden"
},
"description": {
"nl": "Voeg een ontbrekend, erkend pad toe."
}
}
]
}