mapcomplete/assets/layers/climbing_route/climbing_route.json
2022-05-27 14:50:30 +02:00

252 lines
No EOL
8.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"id": "climbing_route",
"name": {
"en": "Climbing routes",
"de": "Kletterrouten",
"nl": "Klimroute",
"ja": "登坂ルート",
"nb_NO": "Klatreruter",
"fr": "Voies descalade",
"it": "Vie di arrampicata"
},
"description": {
"en": "A single climbing route and its properties. Some properties are derived from the containing features",
"de": "Eine einzelne Kletterroute und ihre Eigenschaften. Einige Eigenschaften werden von übergeordneten Objekten abgeleitet"
},
"minzoom": 18,
"source": {
"osmTags": {
"and": [
"climbing=route"
]
}
},
"title": {
"render": {
"de": "Kleterroute",
"en": "Climbing route",
"nl": "Klimroute",
"ja": "登坂ルート",
"nb_NO": "Klatrerute",
"it": "Via di arrampicata",
"fr": "Voie descalade",
"da": "Klatrerute"
},
"mappings": [
{
"if": "name~*",
"then": {
"de": "Kleterroute <strong>{name}</strong>",
"en": "Climbing route <strong>{name}</strong>",
"nl": "Klimroute <strong>{name}</strong>",
"ja": "登坂ルート<strong>{name}</strong>",
"it": "Via di arrampicata <strong>{name}</strong>",
"fr": "Voie descalade <strong>{name}</strong>",
"da": "Klatrerute <strong>{name}</strong>"
}
}
]
},
"tagRenderings": [
"images",
{
"render": {
"en": "<strong>{name}</strong>",
"nl": "<strong>{name}</strong>",
"de": "<strong>{name}</strong>",
"ca": "<strong>{name}</strong>",
"fr": "<strong>{name}</strong>",
"id": "<strong>{name}</strong>",
"ru": "<strong>{name}</strong>",
"ja": "<strong>{name}</strong>",
"it": "<strong>{name}</strong>",
"nb_NO": "<strong>{name}</strong>",
"da": "<strong>{name}</strong>"
},
"question": {
"en": "What is the name of this climbing route?",
"de": "Wie heißt diese Kletterroute?",
"nl": "Hoe heet deze klimroute?",
"ja": "この登坂ルートの名前は何ですか?",
"it": "Come si chiama questa via di arrampicata?",
"fr": "Quel est le nom de cette voie descalade ?",
"nb_NO": "Hva er navnet på denne klatreruten?",
"da": "Hvad hedder denne klatrerute?"
},
"freeform": {
"key": "name"
},
"mappings": [
{
"if": {
"and": [
"noname=yes",
"name="
]
},
"then": {
"en": "This climbing route doesn't have a name",
"de": "Diese Kletterroute hat keinen Namen",
"nl": "Deze klimroute heeft geen naam",
"ja": "この登坂ルートには名前がありません",
"it": "Questa via di arrampicata non ha un nome",
"fr": "Cette voie na pas de nom",
"nb_NO": "Denne klatreruten har ikke noe navn",
"da": "Denne klatrerute har ikke et navn"
}
}
],
"id": "Name"
},
{
"question": {
"en": "How long is this climbing route (in meters)?",
"nl": "Hoe lang is deze klimroute (in meters)?",
"it": "Quanto è lunga questa via di arrampicata (in metri)?",
"fr": "Quelle est la longueur de cette voie (en mètres) ?",
"de": "Wie lang ist diese Kletterroute (in Metern)?",
"nb_NO": "Hvor mange meter er klatreruten?",
"da": "Hvor lang er denne klatrerute (i meter)?"
},
"render": {
"de": "Diese Route ist {canonical(climbing:length)} lang",
"en": "This route is {canonical(climbing:length)} long",
"nl": "Deze klimroute is {canonical(climbing:length)} lang",
"ja": "このルート長は、 {canonical(climbing:length)} メーターです",
"nb_NO": "Denne ruten er {canonical(climbing:length)} lang",
"it": "Questo percorso è lungo {canonical(climbing:length)}",
"fr": "Cette voie fait {canonical(climbing:length)} de long"
},
"freeform": {
"key": "climbing:length",
"type": "pnat"
},
"id": "Length"
},
{
"question": {
"en": "What is the grade of this climbing route according to the french/belgian system?",
"nl": "Hoe moeilijk is deze klimroute volgens het Franse/Belgische systeem?",
"it": "Qual è la difficoltà di questa via di arrampicata nel sistema francese/belga?",
"fr": "Quelle est la difficulté de cette voie selon le système franco-belge ?",
"de": "Wie hoch ist der Schwierigkeitsgrad dieser Kletterroute nach dem französisch/belgischen System?"
},
"render": {
"de": "Die Schwierigkeit ist {climbing:grade:french} entsprechend des französisch/belgischen Systems",
"en": "The grade is {climbing:grade:french} according to the french/belgian system",
"nl": "De klimmoeilijkheid is {climbing:grade:french} volgens het Franse/Belgische systeem",
"ja": "フランス/ベルギーのランク評価システムによると、{climbing:grade:french}の困難度です",
"it": "Il grado di difficoltà è {climbing:grade:french} nel sistema francese/belga",
"fr": "Selon le système franco-belge, la difficulté de cette voie est de {climbing:grade:french}"
},
"freeform": {
"key": "climbing:grade:french"
},
"id": "Difficulty"
},
{
"id": "bolts",
"question": {
"en": "How many bolts does this route have before reaching the anchor?",
"fr": "Combien de prises cette voie possède avant datteindre la moulinette ?",
"de": "Wie viele Haken gibt es auf dieser Kletterroute bevor der Umlenker bzw. Standhaken erreicht ist?",
"it": "Quanti bulloni sono presenti in questo percorso prima di arrivare alla moulinette?"
},
"render": {
"en": "This route has {climbing:bolts} bolts <div class='subtle'>This is without relays and indicates how much quickdraws a climber needs</div>",
"fr": "Cette voie a {climbing:bolts} prises",
"de": "Diese Route hat {climbing:bolts} Haken <div class='subtle'>Dies ist ohne Relais und gibt an, wie viel Schnellspanner ein Kletterer braucht</div>",
"it": "Questo percorso ha {climbing:bolts} bulloni"
},
"freeform": {
"key": "climbing:bolts",
"type": "pnat",
"addExtraTag": [
"climbing:bolted=yes"
],
"inline": true
},
"mappings": [
{
"if": "climbing:bolted=no",
"then": {
"en": "This route is not bolted",
"fr": "Cette voie na pas de prises",
"de": "Auf dieser Kletterroute sind keine Haken vorhanden",
"it": "In questo percorso non sono presenti bulloni"
},
"addExtraTags": [
"climbing:bolts="
]
}
]
},
"description",
{
"id": "Rock type via embedded feature",
"render": {
"en": "The rock type is {_embedding_features_with_rock:rock} as stated <a href='#{_embedding_features_with_rock:id}'>on the surrounding crag</a>",
"fr": "Le type de roche est {_embedding_features_with_rock:rock} selon <a href='#{_embedding_features_with_rock:id}'>le mur</a>",
"it": "Il tipo di roccia è {_embedding_features_with_rock:rock} come dichiarato sul <a href='#{_embedding_features_with_rock:id}'>muro circostante</a>",
"de": "Der Gesteinstyp ist {_embedding_features_with_rock:rock}, wie <a href='#{_embedding_features_with_rock:id}'>auf dem umgebenden Felsen angegeben</a>"
},
"freeform": {
"key": "_embedding_features_with_rock:rock"
}
}
],
"presets": [
{
"title": {
"en": "a climbing route",
"nl": "een klimroute",
"fr": "une voie descalade",
"de": "eine kletterroute",
"it": "una via di arrampicata"
},
"tags": [
"sport=climbing",
"climbing=route"
]
}
],
"mapRendering": [
{
"icon": {
"render": "circle:white;./assets/themes/climbing/climbing_route.svg"
},
"iconSize": {
"render": "28,28,center"
},
"location": [
"point",
"centroid"
],
"label": {
"mappings": [
{
"if": {
"and": [
"climbing:grade:french~*",
"name~*"
]
},
"then": "<div class='w-max p-1 rounded-xl' style='background: white;'>{name} <span class='climbing-{__difficulty:char}'>{climbing:grade:french}</span></div>"
},
{
"if": "name~*",
"then": "<div class='w-max p-1 rounded-xl' style='background: white;'>{name}</div>"
}
]
}
},
{
"color": {
"render": "#0f0"
},
"width": {
"render": "4"
}
}
]
}