2024-01-30 19:41:26 +01:00
|
|
|
{
|
|
|
|
"pointRendering": [
|
|
|
|
{
|
|
|
|
"location": [
|
|
|
|
"point"
|
|
|
|
],
|
|
|
|
"marker": [
|
|
|
|
{
|
|
|
|
"icon": "circle",
|
|
|
|
"color": "white"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tagRenderings": [
|
|
|
|
"images",
|
|
|
|
{
|
|
|
|
"question": {
|
2024-02-20 13:33:38 +01:00
|
|
|
"en": "What is the difficulty of this piste?",
|
|
|
|
"de": "Was ist der Schwierigkeitsgrad der 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)",
|
|
|
|
"de": "Anfänger (grün)"
|
2024-01-30 19:41:26 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "piste:difficulty=easy",
|
|
|
|
"then": {
|
2024-02-20 13:33:38 +01:00
|
|
|
"en": "Easy (blue)",
|
|
|
|
"de": "Einfach (blau)"
|
2024-01-30 19:41:26 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "piste:difficulty=intermediate",
|
|
|
|
"then": {
|
2024-02-20 13:33:38 +01:00
|
|
|
"en": "Intermediate (red)",
|
|
|
|
"de": "Mittel (rot)"
|
2024-01-30 19:41:26 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "piste:difficulty=advanced",
|
|
|
|
"then": {
|
2024-02-20 13:33:38 +01:00
|
|
|
"en": "Advanced (black)",
|
|
|
|
"de": "Fortgeschritten (schwarz)"
|
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)",
|
|
|
|
"de": "Experte (orange/doppel schwarz)"
|
2024-01-30 19:41:26 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"if": "piste:difficulty=freeride",
|
|
|
|
"then": {
|
2024-02-20 13:33:38 +01:00
|
|
|
"en": "Freeride",
|
|
|
|
"de": "Freeride"
|
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",
|
|
|
|
"de": "Dieser Teil der Skipiste hat eine Länge von {_length:km} km"
|
2024-01-30 19:41:26 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
]
|
2024-02-12 12:39:35 +01:00
|
|
|
},
|
|
|
|
"imageAlongWay": "./assets/png/oneway.png"
|
2024-01-30 19:41:26 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"id": "ski_piste",
|
|
|
|
"name": {
|
2024-02-20 13:33:38 +01:00
|
|
|
"en": "Ski and snowboard pistes",
|
|
|
|
"de": "Ski- und Snowboardpisten"
|
2024-01-30 19:41:26 +01:00
|
|
|
},
|
|
|
|
"description": {
|
2024-02-20 13:33:38 +01:00
|
|
|
"en": "Ski and snowboard pistes",
|
|
|
|
"de": "Ski- und Snowboardpisten"
|
2024-01-30 19:41:26 +01:00
|
|
|
},
|
|
|
|
"source": {
|
|
|
|
"osmTags": {
|
|
|
|
"and": [
|
2024-02-02 14:40:48 +01:00
|
|
|
{
|
|
|
|
"or": [
|
|
|
|
"piste:type=downhill",
|
|
|
|
"piste:type=connection"
|
|
|
|
]
|
2024-01-30 19:41:26 +01:00
|
|
|
},
|
|
|
|
"area!=yes"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"title": {
|
|
|
|
"render": {
|
2024-02-20 13:33:38 +01:00
|
|
|
"en": "Ski piste {name}",
|
|
|
|
"de": "Skipiste {name}"
|
2024-01-30 19:41:26 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|