mapcomplete/assets/layers/ski_piste/ski_piste.json

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

152 lines
3.5 KiB
JSON
Raw Normal View History

2024-01-30 19:41:26 +01:00
{
"id": "ski_piste",
"name": {
"en": "Ski and snowboard pistes",
2024-06-24 13:11:35 +02:00
"de": "Ski- und Snowboardpisten",
"fr": "Pistes de ski et de snowboard"
},
"description": {
"en": "Ski and snowboard pistes",
2024-06-24 13:11:35 +02:00
"de": "Ski- und Snowboardpisten",
"fr": "Pistes de ski et de snowboard"
},
"source": {
"osmTags": {
"and": [
{
"or": [
"piste:type=downhill",
"piste:type=connection"
]
},
"area!=yes"
]
}
},
2024-04-28 11:00:23 +02:00
"minzoom": 11,
"title": {
"render": {
"en": "Ski piste {name}",
2024-06-24 13:11:35 +02:00
"de": "Skipiste {name}",
"fr": "Piste de ski {name}"
}
},
2024-01-30 19:41:26 +01:00
"pointRendering": [
{
"location": [
"point"
],
"marker": [
{
"icon": "circle",
"color": "white"
}
]
}
],
"lineRendering": [
{
"width": "10",
"color": {
"mappings": [
{
"then": "green",
"if": "piste:difficulty=novice"
},
{
"if": "piste:difficulty=easy",
"then": "blue"
},
{
"if": "piste:difficulty=intermediate",
"then": "red"
},
{
"if": "piste:difficulty=advanced",
"then": "black"
},
{
"if": "piste:difficulty=expert",
"then": "orange"
},
{
"if": "piste:difficulty=",
"then": "gray"
}
]
},
"imageAlongWay": "./assets/png/oneway.png"
}
],
2024-01-30 19:41:26 +01:00
"tagRenderings": [
"images",
{
"question": {
2024-02-20 13:33:38 +01:00
"en": "What is the difficulty of this piste?",
2024-06-24 13:11:35 +02:00
"de": "Was ist der Schwierigkeitsgrad der Piste?",
"fr": "Quelle est la difficulté de cette piste?"
2024-01-30 19:41:26 +01:00
},
"id": "piste_difficulty",
"condition": "piste:type!=connection",
"mappings": [
{
"if": "piste:difficulty=novice",
"then": {
2024-02-20 13:33:38 +01:00
"en": "Novice (green)",
2024-06-24 13:11:35 +02:00
"de": "Anfänger (grün)",
"fr": "Débutant (vert)"
2024-01-30 19:41:26 +01:00
}
},
{
"if": "piste:difficulty=easy",
"then": {
2024-02-20 13:33:38 +01:00
"en": "Easy (blue)",
2024-06-24 13:11:35 +02:00
"de": "Einfach (blau)",
"fr": "Facile (bleu)"
2024-01-30 19:41:26 +01:00
}
},
{
"if": "piste:difficulty=intermediate",
"then": {
2024-02-20 13:33:38 +01:00
"en": "Intermediate (red)",
2024-06-24 13:11:35 +02:00
"de": "Mittel (rot)",
"fr": "Intermédiaire (rouge)"
2024-01-30 19:41:26 +01:00
}
},
{
"if": "piste:difficulty=advanced",
"then": {
2024-02-20 13:33:38 +01:00
"en": "Advanced (black)",
2024-06-24 13:11:35 +02:00
"de": "Fortgeschritten (schwarz)",
"fr": "Avancé (noir)"
2024-01-30 19:41:26 +01:00
}
},
{
"if": "piste:difficulty=expert",
"then": {
2024-02-20 13:33:38 +01:00
"en": "Expert (orange/double black)",
2024-06-24 13:11:35 +02:00
"de": "Experte (orange/doppel schwarz)",
"fr": "Expert (orange/double noir)"
2024-01-30 19:41:26 +01:00
}
},
{
"if": "piste:difficulty=freeride",
"then": {
2024-02-20 13:33:38 +01:00
"en": "Freeride",
2024-06-24 13:11:35 +02:00
"de": "Freeride",
"fr": "Hors piste"
2024-01-30 19:41:26 +01:00
}
}
]
},
{
"id": "length",
"render": {
2024-02-20 13:33:38 +01:00
"en": "This part of the ski piste is {_length:km} kilometer long",
2024-06-24 13:11:35 +02:00
"de": "Dieser Teil der Skipiste hat eine Länge von {_length:km} km",
"fr": "Ce tronçon de piste de ski mesure {_length:km} kilomètres de long"
2024-01-30 19:41:26 +01:00
}
}
]
2024-01-30 19:41:26 +01:00
}