mapcomplete/assets/layers/climbing_area/climbing_area.json

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

383 lines
15 KiB
JSON
Raw Normal View History

2022-04-23 15:20:54 +02:00
{
"id": "climbing_area",
"name": {
"nl": "Klimgelegenheden",
2022-06-27 09:29:23 +02:00
"de": "Klettereinrichtungen",
2022-04-23 15:20:54 +02:00
"en": "Climbing opportunities",
"ja": "登坂教室",
"fr": "Opportunité descalade",
2023-09-19 14:22:52 +02:00
"it": "Opportunità di arrampicata",
2023-10-16 13:49:20 +02:00
"ca": "Oportunitats d'escalada",
2024-11-05 14:14:53 +01:00
"cs": "Lezecké příležitosti",
"es": "Posibilidades de escalada"
2022-04-23 15:20:54 +02:00
},
"description": {
2022-06-01 20:21:16 +02:00
"en": "An area where climbing is possible, e.g. a crag, site, boulder, … Contains aggregation of routes",
2022-06-22 18:56:02 +02:00
"de": "Ein Gebiet, in dem Klettern möglich ist, z. B. ein Felsen, ein Klettergarten, eine Boulderhalle, … Enthält eine Sammlung von Routen",
2023-01-10 19:34:07 +01:00
"nl": "Een gebied waar klimmen mogelijk is, bv. een klimsite, een bolder of klimrots,…",
2023-10-30 13:44:27 +01:00
"ca": "Una àrea on l'escalada és possible, p.e. una penya, lloc, bloc, … Conté l'agregació de rutes",
2024-11-05 14:14:53 +01:00
"cs": "Oblast, kde je možné lezení, např. skalisko, místo, balvan, … Obsahuje agregaci cest",
"es": "Un área donde es posible escalar, p. ej., una pared, un sitio, un bloque de roca, ... Contiene una agregación de vías"
2022-04-23 15:20:54 +02:00
},
"source": {
"osmTags": {
"and": [
"sport=climbing",
"climbing!~route",
"leisure!~sports_centre",
"climbing!=route_top",
"climbing!=route_bottom"
]
}
},
"calculatedTags": [
"_contained_climbing_routes_properties=overlapWith(feat)('climbing_route').map(f => f.feat.properties).map(p => {return {id: p.id, name: p.name, 'climbing:grade:french': p['climbing:grade:french'], 'climbing:length': p['climbing:length']} })",
"_contained_climbing_routes=get(feat)('_contained_climbing_routes_properties')?.map(p => `<li><a href='#${p.id}'>${p.name ?? 'climbing route'}</a> (<b class='climbing-${p['__difficulty:char']} rounded-full p-l-1 p-r-1'>${p['climbing:grade:french'] ?? 'unknown difficulty'}</b>, ${p['climbing:length'] ?? 'unkown length'} meter)</li>`).join('')",
"_contained_climbing_route_ids=get(feat)('_contained_climbing_routes_properties')?.map(p => p.id)",
"_difficulty_hist=get(feat)('_contained_climbing_routes_properties')?.map(p => p['climbing:grade:french'])?.filter(p => (p ?? null) !== null)?.sort()",
"_difficulty_max=get(feat)('_difficulty_hist')?.at(-1)",
"_difficulty_min=get(feat)('_difficulty_hist')?.at(0)",
"_length_hist=get(feat)('_contained_climbing_routes_properties')?.map(p => p['climbing:length'])?.filter(p => (p ?? null) !== null)?.sort()",
"_length_max=get(feat)('_length_hist')?.at(-1)",
"_length_min=get(feat)('_length_hist')?.at(0)",
"_bolts_hist=get(feat)('_contained_climbing_routes_properties')?.map(p => p['climbing:bolts'])?.filter(p => (p ?? null) !== null)?.sort()",
"_bolts_max=get(feat)('_bolts_hist')?.at(-1)",
"_bolts_min=get(feat)('_bolts_hist')?.at(0)",
"_contained_climbing_routes_count=get(feat)('_contained_climbing_routes_properties')?.length"
],
"minzoom": 10,
2022-04-23 15:20:54 +02:00
"title": {
"render": {
"en": "Climbing opportunity",
"nl": "Klimgelegenheid",
2022-06-27 09:29:23 +02:00
"de": "Klettereinrichtung",
2022-04-23 15:20:54 +02:00
"ja": "登坂教室",
"nb_NO": "Klatremulighet",
"fr": "Opportunité descalade",
2023-09-19 14:22:52 +02:00
"it": "Opportunità di arrampicata",
2023-10-16 13:49:20 +02:00
"ca": "Oportunitat d'escalada",
2024-11-05 14:14:53 +01:00
"cs": "Příležitost k lezení",
"es": "Posibilidad de escalada"
2022-04-23 15:20:54 +02:00
},
"mappings": [
{
"if": "climbing=crag",
"then": {
"en": "Climbing crag <b>{name}</b>",
"fr": "Mur descalade <b>{name}</b>",
"it": "Muro da arrampicata <b>{name}</b>",
2022-10-27 01:50:01 +02:00
"de": "Klettergarten <b>{name}</b>",
2023-10-16 13:49:20 +02:00
"nl": "Klimrots of klimzone <b>{name}</b>",
2024-11-05 14:14:53 +01:00
"cs": "Lezecká cesta <b>{name}</b>",
"es": "Pared de escalada <b>{name}</b>"
2022-04-23 15:20:54 +02:00
}
},
{
"if": {
"and": [
{
"or": [
"climbing=area",
"climbing=site"
]
},
"name~*"
]
},
"then": {
"en": "Climbing area <b>{name}</b>",
"nl": "Klimsite <b>{name}</b>",
"fr": "Zone descalade <b>{name}</b>",
"de": "Klettergebiet <b>{name}</b>",
2023-10-16 13:49:20 +02:00
"it": "Area di arrampicata <b>{name}</b>",
2024-11-05 14:14:53 +01:00
"cs": "Lezecká oblast <b>{name}</b>",
"es": "Área de escalada <b>{name}</b>"
2022-04-23 15:20:54 +02:00
}
},
{
"if": {
"or": [
"climbing=site",
"climbing=area"
]
},
"then": {
"en": "Climbing site",
"nl": "Klimsite",
"fr": "Site descalade",
"de": "Klettergebiet",
"it": "Sito di arrampicata",
2023-10-16 13:49:20 +02:00
"ca": "Llocs d'escalada",
2024-11-05 14:14:53 +01:00
"cs": "Lezecká lokalita",
"es": "Sitio de escalada"
2022-04-23 15:20:54 +02:00
}
},
{
"if": "name~*",
"then": {
"nl": "Klimgelegenheid <b>{name}</b>",
"en": "Climbing opportunity <b>{name}</b>",
"fr": "Opportunité descalade <b>{name}</b>",
2022-06-27 09:29:23 +02:00
"de": "Klettereinrichtung <b>{name}</b>",
2023-09-19 14:22:52 +02:00
"it": "Opportunità di arrampicata <b>{name}</b>",
2023-10-16 13:49:20 +02:00
"ca": "Oportunitat d'escalada <b>{name}</b>",
2024-11-05 14:14:53 +01:00
"cs": "Lezecká příležitost <b>{name}</b>",
"es": "Posibilidad de escalada <b>{name}</b>"
2022-04-23 15:20:54 +02:00
}
}
]
},
"pointRendering": [
{
"iconSize": "40,40",
"location": [
"point",
"centroid"
],
"anchor": "center",
"marker": [
{
"icon": "./assets/themes/climbing/climbing_no_rope.svg"
}
]
}
],
"lineRendering": [
{
"dashArray": "8 16",
"lineCap": "square",
"color": "#d38d5fAA",
"fill": "no",
"width": "8"
}
],
"presets": [
{
"tags": [
"sport=climbing"
],
"title": {
"en": "a climbing opportunity",
"nl": "een klimgelegenheid",
"de": "eine Klettereinrichtung",
"ja": "登坂教室",
"nb_NO": "en klatremulighet",
"fr": "une opportunité descalade",
"it": "una opportunità di arrampicata",
"ca": "una oportuinitat d'escalada",
2024-11-05 14:14:53 +01:00
"cs": "lezecká příležitost",
"es": "una posibilidad de escalada"
},
"description": {
"nl": "Een klimgelegenheid",
"de": "Eine Klettereinrichtung",
"en": "A climbing opportunity",
"ja": "登坂教室",
"nb_NO": "En klatremulighet",
"fr": "Opportunité descalade",
"it": "Unopportunità di arrampicata",
"ca": "Una oportunitat d'escalada",
2024-11-05 14:14:53 +01:00
"cs": "Lezecká příležitost",
"es": "Una posibilidad de escalada"
}
}
2022-04-23 15:20:54 +02:00
],
"tagRenderings": [
"images",
{
"id": "minimap",
"render": "{minimap(18, id, _contained_climbing_route_ids): height: 9rem; overflow: hidden; border-radius:3rem; }"
},
{
"render": {
"en": "<h3>Length overview</h3>{histogram(_length_hist)}",
"fr": "<h3>Résumé de longueur</h3>{histogram(_length_hist)}",
"de": "<h3>Längenübersicht</h3>{histogram(_length_hist)}",
2022-06-22 18:56:02 +02:00
"it": "<h3>Riassunto della lunghezza</h3>{histogram(_length_hist)}",
2023-10-30 13:44:27 +01:00
"nl": "<h3>Overzicht van lengtes</h3>{histogram(_length_hist)}",
2024-11-05 14:14:53 +01:00
"cs": "<h3>Přehled délky</h3>{histogram(_length_hist)}",
"es": "<h3>Resumen de longitudes</h3>{histogram(_length_hist)}"
2022-04-23 15:20:54 +02:00
},
"condition": "_length_hist!~\\[\\]",
"id": "Contained routes length hist"
},
{
"render": {
"en": "<h3>Grades overview</h3>{histogram(_difficulty_hist)}",
"fr": "<h3>Résumé des difficultés</h3>{histogram(_difficulty_hist)}",
"de": "<h3>Schwierigkeitsübersicht</h3>{histogram(_difficulty_hist)}",
2022-06-22 18:56:02 +02:00
"it": "<h3>Riassunto delle difficoltà</h3>{histogram(_difficulty_hist)}",
2023-10-30 13:44:27 +01:00
"nl": "<h3>Overzicht van moeilijkheidsgraden</h>{histogram(_difficulty_hist)}",
2024-11-05 14:14:53 +01:00
"cs": "<h3>Přehled hodnocení</h3>{histogram(_difficulty_hist)}",
"es": "<h3>Resumen de grados</h3>{histogram(_difficulty_hist)}"
2022-04-23 15:20:54 +02:00
},
"condition": "_difficulty_hist!~\\[\\]",
"id": "Contained routes hist"
},
{
"render": {
"en": "<h3>Contains {_contained_climbing_routes_count} routes</h3> <ul>{_contained_climbing_routes}</ul>",
"fr": "<h3>Contient {_contained_climbing_routes_count} voies</h3> <ul>{_contained_climbing_routes}</ul>",
"it": "<h3>Contiene {_contained_climbing_routes_count} vie</h3> <ul>{_contained_climbing_routes}</ul>",
2022-07-13 12:51:14 +02:00
"de": "<h3> Enthält {_contained_climbing_routes_count} Routen</h3> <ul>{_contained_climbing_routes}</ul>",
2023-09-30 15:36:19 +02:00
"nl": "<h3>Bevat {_contained_climbing_routes_count} routes</h3> <ul>{_contained_climbing_routes}</ul>",
2023-10-30 13:44:27 +01:00
"ca": "<h3>Conté {_contained_climbing_routes_count} rutes</h3> <ul>{_contained_climbing_routes}</ul>",
2024-11-05 14:14:53 +01:00
"cs": "<h3>Obsahuje {_contained_climbing_routes_count} tras</h3> <ul>{_contained_climbing_routes}</ul>",
"es": "<h3>Contiene {_contained_climbing_routes_count} vías</h3> <ul>{_contained_climbing_routes}</ul>"
2022-04-23 15:20:54 +02:00
},
"condition": "_contained_climbing_routes~*",
"id": "Contained_climbing_routes"
},
{
"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>",
2023-09-16 18:52:42 +02:00
"it": "<strong>{name}</strong>",
2023-10-16 13:49:20 +02:00
"eu": "<strong>{name}</strong>",
2024-11-05 14:14:53 +01:00
"cs": "<strong>{name}</strong>",
"es": "<strong>{name}</strong>"
2022-04-23 15:20:54 +02:00
},
"question": {
"en": "What is the name of this climbing opportunity?",
"nl": "Wat is de naam van dit Klimgelegenheid?",
2022-06-27 09:29:23 +02:00
"de": "Wie heißt die Klettereinrichtung?",
2022-04-23 15:20:54 +02:00
"ja": "この登坂教室の名前は何ですか?",
"fr": "Quel est le nom de ce site ?",
2023-10-16 13:49:20 +02:00
"it": "Qual è il nome di questa opportunità di arrampicata?",
2024-11-05 14:14:53 +01:00
"cs": "Jak se jmenuje tato lezecká příležitost?",
"es": "¿Cuál es el nombre de esta posibilidad de escalada?"
2022-04-23 15:20:54 +02:00
},
"freeform": {
"key": "name"
},
"mappings": [
{
"if": {
"and": [
"noname=yes",
"name="
]
},
"then": {
"en": "This climbing opportunity doesn't have a name",
"nl": "Dit Klimgelegenheid heeft geen naam",
2022-06-27 09:29:23 +02:00
"de": "Die Klettereinrichtung hat keinen Namen",
2022-04-23 15:20:54 +02:00
"ja": "この登坂教室には名前がついていない",
"fr": "Ce site na pas de nom",
2023-10-16 13:49:20 +02:00
"it": "Questa opportunità di arrampicata non ha un nome",
2024-11-05 14:14:53 +01:00
"cs": "Tato lezecká příležitost nemá jméno",
"es": "Esta posibilidad de escalada no tiene nombre"
2022-04-23 15:20:54 +02:00
}
}
],
"id": "name"
},
{
"question": "What kind of climbing opportunity is this?",
"mappings": [
{
"if": "climbing=boulder",
"then": {
"en": "A climbing boulder - a single rock or cliff with one or a few climbing routes which can be climbed safely without rope",
"fr": "Rocher descalade, rocher avec une ou peu de voie permettant descalader sans corde",
2024-09-11 15:53:09 +02:00
"de": "Ein Boulderfelsen - ein einzelner Felsen oder eine Klippe mit einer oder wenigen Boulderrouten, die ohne Seil sicher bestiegen werden können",
2022-09-10 13:25:18 +02:00
"it": "Un masso per arrampicata (una singola roccia o falesia con una o poche vie di arrampicata che possono essere scalate in sicurezza senza una corda)",
2023-09-30 15:36:19 +02:00
"nl": "Een klimboulder - een enkele rots of klif met één of enkele klimroutes die veilig zonder touw kunnen worden beklommen",
2023-10-16 13:49:20 +02:00
"ca": "Una roca d'escalada: una única roca o penya-segat amb una o unes quantes vies d'escalada que es poden escalar amb seguretat sense corda",
2024-11-05 14:14:53 +01:00
"cs": "Lezecký balvan - jediná skála nebo útes s jednou nebo několika lezeckými cestami, na které lze bezpečně vylézt bez lana",
"es": "Un bloque de escalada - una sola roca o acantilado con una o pocas vías de escalada que se pueden escalar de forma segura sin cuerda"
2022-04-23 15:20:54 +02:00
}
},
{
"if": "climbing=crag",
"then": {
"en": "A climbing crag - a single rock or cliff with at least a few climbing routes",
"fr": "Mur descalade, rocher avec plusieurs voies descalades",
"it": "Un muro da arrampicata (un singolo masso o falesia con almeno qualche via per arrampicata)",
2023-01-06 04:18:29 +01:00
"de": "Ein Kletterfelsen - ein einzelner Fels oder eine Klippe mit mindestens einigen Kletterrouten",
2023-10-16 13:49:20 +02:00
"nl": "Een klimzone - een enkele rots of klif met klimroutes",
2024-11-05 14:14:53 +01:00
"cs": "Lezecká skála - jediná skála nebo útes s alespoň několika lezeckými cestami",
"es": "Una pared de escalada - una sola roca o acantilado con al menos algunas vías de escalada"
2022-04-23 15:20:54 +02:00
}
},
{
"if": "climbing=area",
"then": {
2024-09-09 10:45:36 +02:00
"en": "A climbing area with one or more climbing crags and/or boulders",
2024-11-05 14:14:53 +01:00
"de": "Ein Klettergebiet mit einem oder meheren Kletter- und/oder Boulderfelsen",
"es": "Un área de escalada con una o más paredes y/o bloques de escalada"
}
2022-04-23 15:20:54 +02:00
}
],
"id": "Type"
},
{
"question": {
"en": "What is the rock type here?",
"fr": "Quel est le type de roche ?",
"de": "Welchen Gesteinstyp gibt es hier?",
2022-06-22 18:56:02 +02:00
"it": "Qual è il tipo di roccia qua?",
2023-09-19 14:22:52 +02:00
"nl": "Wat is de rotssoort?",
2023-10-16 13:49:20 +02:00
"ca": "Quin és el tipus de roca aquí?",
2024-11-05 14:14:53 +01:00
"cs": "Jaký je zde typ skály?",
"es": "¿Cuál es el tipo de roca aquí?"
2022-04-23 15:20:54 +02:00
},
"render": {
"en": "The rock type is {rock}",
"fr": "La roche est du {rock}",
"de": "Der Gesteinstyp ist {rock}",
2022-06-22 18:56:02 +02:00
"it": "Il tipo di roccia è {rock}",
2023-09-19 14:22:52 +02:00
"nl": "De rotssoort is {rock}",
2023-10-16 13:49:20 +02:00
"ca": "El tipus de roca és {rock}",
2024-11-05 14:14:53 +01:00
"cs": "Typ skály je {rock}",
"es": "El tipo de roca es {rock}"
2022-04-23 15:20:54 +02:00
},
"freeform": {
"key": "rock"
},
"mappings": [
{
"if": "rock=limestone",
"then": {
"en": "Limestone",
"nl": "Kalksteen",
"fr": "Calcaire",
"de": "Kalkstein",
2022-11-02 13:47:34 +01:00
"it": "Calcare",
2023-09-16 18:52:42 +02:00
"pa_PK": "چونہ پتھر",
2023-09-30 15:36:19 +02:00
"eu": "Kareharria",
2023-10-16 13:49:20 +02:00
"ca": "Calcària",
2024-09-11 15:53:09 +02:00
"cs": "Vápenec",
2024-11-05 14:14:53 +01:00
"pl": "Wapień",
"es": "Caliza"
2022-04-23 15:20:54 +02:00
}
}
],
"condition": {
"or": [
"climbing=crag",
"natural=cliff",
"natural=bare_rock"
]
},
"id": "Rock type (crag/rock/cliff only)"
},
"reviews",
2022-04-23 15:20:54 +02:00
{
"id": "default_climbing_questions",
2022-04-23 15:20:54 +02:00
"builtin": [
"climbing.website",
"climbing.fee",
"climbing.bouldering"
]
}
],
"allowMove": false
2023-05-16 03:27:49 +02:00
}