mapcomplete/assets/layers/trail/trail.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

264 lines
5.8 KiB
JSON
Raw Normal View History

2021-07-07 16:26:58 +02:00
{
2021-11-07 14:37:21 +01:00
"id": "trail",
"name": {
"en": "Trails",
"nl": "Wandeltochten",
"ru": "Тропы",
2022-01-18 20:18:12 +01:00
"de": "Wanderwege",
2022-04-13 18:42:40 +02:00
"fr": "Sentiers",
2022-09-10 13:25:18 +02:00
"ca": "Camins",
2023-10-30 13:44:27 +01:00
"da": "Stier",
"cs": "Stezky"
2021-11-07 14:37:21 +01:00
},
"minzoom": 12,
"source": {
"osmTags": {
"and": [
{
"or": [
2022-01-25 18:20:15 +01:00
"route~.*foot.*",
"route~.*hiking.*",
"route~.*bycicle.*",
"route~.*horse.*"
2021-11-07 14:37:21 +01:00
]
}
]
}
},
"title": {
"render": {
"en": "Trail",
"nl": "Wandeltocht",
"ru": "Тропа",
2022-01-18 20:18:12 +01:00
"de": "Wanderweg",
2022-04-13 18:42:40 +02:00
"fr": "Sentier",
2022-09-10 13:25:18 +02:00
"ca": "Camí",
2023-10-30 13:44:27 +01:00
"da": "Sti",
"cs": "Stezka"
},
2021-11-07 14:37:21 +01:00
"mappings": [
{
"if": "name~*",
"then": "{name}"
}
]
},
"tagRenderings": [
"images",
{
"id": "trail-length",
"render": {
"en": "The trail is {_length:km} kilometers long",
"nl": "Deze wandeling is {_length:km} kilometer lang",
2022-06-24 19:00:02 +02:00
"de": "Der Wanderweg ist {_length:km} Kilometer lang",
2022-09-10 13:25:18 +02:00
"fr": "Le sentier fait {_length:km} kilomètres de long",
2023-09-28 16:56:25 +02:00
"da": "Stien er {_length:km} kilometer lang",
2023-10-30 13:44:27 +01:00
"ca": "El sender té {_length:km} quilòmetres",
"cs": "Stezka je dlouhá {_length:km} kilometrů"
2021-11-07 14:37:21 +01:00
}
},
{
"question": {
"nl": "Wat is de naam van deze wandeling?"
},
"render": {
"nl": "Deze wandeling heet <b>{name}</b>"
},
"freeform": {
"key": "name"
},
"id": "Name"
},
2021-11-07 14:37:21 +01:00
{
"render": {
"nl": "Beheer door {operator}"
},
"question": {
"nl": "Wie beheert deze wandeltocht?"
},
"freeform": {
"key": "operator"
},
"mappings": [
{
"if": {
2021-07-07 16:26:58 +02:00
"and": [
2021-11-07 14:37:21 +01:00
"operator=Natuurpunt"
2021-07-07 16:26:58 +02:00
]
2021-11-07 14:37:21 +01:00
},
"then": {
"nl": "Dit gebied wordt beheerd door Natuurpunt"
},
"icon": {
"path": "./assets/themes/buurtnatuur/Natuurpunt.jpg",
"class": "small"
2021-11-07 14:37:21 +01:00
}
},
2021-11-07 14:37:21 +01:00
{
"if": {
"and": [
"operator~(n|N)atuurpunt.*"
]
},
"then": {
"nl": "Dit gebied wordt beheerd door {operator}"
2021-11-07 14:37:21 +01:00
},
"hideInAnswer": true,
"icon": {
"path": "./assets/themes/buurtnatuur/Natuurpunt.jpg",
"class": "small"
}
2021-11-07 14:37:21 +01:00
}
],
"id": "Operator tag"
},
2021-11-07 14:37:21 +01:00
{
"question": {
"nl": "Welke kleur heeft deze wandeling?"
},
"render": {
"nl": "Deze wandeling heeft kleur {colour}"
},
"freeform": {
"key": "colour",
"type": "color"
},
"mappings": [
{
2021-11-07 14:37:21 +01:00
"if": "colour=blue",
"then": {
"nl": "Blauwe wandeling",
"en": "Blue trail",
2022-06-24 19:00:02 +02:00
"de": "Blauer Weg",
2022-09-10 13:25:18 +02:00
"fr": "Sentier bleu",
2023-09-28 16:56:25 +02:00
"da": "Blå sti",
2023-10-30 13:44:27 +01:00
"ca": "Ruta blava",
"cs": "Modrá stezka"
2021-11-07 14:37:21 +01:00
}
},
{
2021-11-07 14:37:21 +01:00
"if": "colour=red",
"then": {
"nl": "Rode wandeling",
"en": "Red trail",
2022-06-24 19:00:02 +02:00
"de": "Roter Weg",
2022-09-10 13:25:18 +02:00
"fr": "Sentier rouge",
2023-09-28 16:56:25 +02:00
"da": "Rød sti",
2023-10-30 13:44:27 +01:00
"ca": "Ruta vermella",
"cs": "Červená stezka"
2021-11-07 14:37:21 +01:00
}
},
{
2021-11-07 14:37:21 +01:00
"if": "colour=green",
"then": {
"nl": "Groene wandeling",
"en": "Green trail",
2022-06-24 19:00:02 +02:00
"de": "Grüner Weg",
2022-09-10 13:25:18 +02:00
"fr": "Sentier vert",
2023-09-28 16:56:25 +02:00
"da": "Grøn sti",
2023-10-30 13:44:27 +01:00
"ca": "Ruta verda",
"cs": "Zelená stezka"
2021-11-07 14:37:21 +01:00
}
2021-07-19 13:25:24 +02:00
},
{
2021-11-07 14:37:21 +01:00
"if": "colour=yellow",
"then": {
"nl": "Gele wandeling",
"en": "Yellow trail",
2022-06-24 19:00:02 +02:00
"de": "Gelber Weg",
2022-09-10 13:25:18 +02:00
"fr": "Sentier jaune",
2023-09-28 16:56:25 +02:00
"da": "Gul sti",
2023-10-30 13:44:27 +01:00
"ca": "Ruta groga",
"cs": "Žlutá stezka"
2021-11-07 14:37:21 +01:00
}
}
],
"id": "Color"
},
{
"question": {
"nl": "Is deze wandeling toegankelijk met de rolstoel?"
},
"mappings": [
2021-07-19 13:25:24 +02:00
{
2021-11-07 14:37:21 +01:00
"then": {
"nl": "deze wandeltocht is toegankelijk met de rolstoel"
},
"if": "wheelchair=yes"
},
2021-07-19 13:25:24 +02:00
{
2021-11-07 14:37:21 +01:00
"then": {
"nl": "deze wandeltocht is niet toegankelijk met de rolstoel"
},
"if": "wheelchair=no"
}
2021-11-07 14:37:21 +01:00
],
"id": "Wheelchair access"
},
2021-11-07 14:37:21 +01:00
{
"question": {
"nl": "Is deze wandeltocht toegankelijk met de buggy?"
},
"mappings": [
{
"then": {
"nl": "deze wandeltocht is toegankelijk met de buggy"
},
"if": "pushchair=yes"
2021-07-19 13:25:24 +02:00
},
{
2021-11-07 14:37:21 +01:00
"then": {
"nl": "deze wandeltocht is niet toegankelijk met de buggy"
},
"if": "pushchair=no"
}
2021-11-07 14:37:21 +01:00
],
"id": "pushchair access"
}
2021-11-07 14:37:21 +01:00
],
"description": {
"nl": "Aangeduide wandeltochten"
},
2023-09-19 14:04:13 +02:00
"pointRendering": [
2021-11-07 15:31:55 +01:00
{
"marker": [
{
"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"
}
]
2021-11-07 15:31:55 +01:00
}
}
],
"iconSize": "35,35",
2021-11-07 15:31:55 +01:00
"location": [
"point"
],
"anchor": "center"
2023-09-19 14:04:13 +02:00
}
],
"lineRendering": [
2021-11-07 15:31:55 +01:00
{
"color": {
"render": "#335D9F",
"mappings": [
2021-11-07 15:31:55 +01:00
{
"if": "colour~*",
"then": "{colour}"
}
]
2021-11-07 15:31:55 +01:00
},
"width": "3",
"dashArray": "5 5"
2021-11-07 15:31:55 +01:00
}
]
}