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.

327 lines
12 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",
"ca": "Oportunitats d'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,…",
"ca": "Una àrea on l'escalada és possible, p.e. una penya, lloc, bloc, … Conté l'agregació de rutes"
2022-04-23 15:20:54 +02:00
},
"minzoom": 10,
"source": {
"osmTags": {
"and": [
"sport=climbing",
"climbing!~route",
"leisure!~sports_centre",
"climbing!=route_top",
"climbing!=route_bottom"
]
}
},
"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",
"ca": "Oportunitat d'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-01-06 04:18:29 +01:00
"nl": "Klimrots of klimzone <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>",
"it": "Area di arrampicata <b>{name}</b>"
}
},
{
"if": {
"or": [
"climbing=site",
"climbing=area"
]
},
"then": {
"en": "Climbing site",
"nl": "Klimsite",
"fr": "Site descalade",
"de": "Klettergebiet",
"it": "Sito di arrampicata",
"ca": "Llocs d'escalada"
}
},
{
"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>",
"ca": "Oportunitat d'escalada <b>{name}</b>"
2022-04-23 15:20:54 +02:00
}
}
]
},
"calculatedTags": [
2023-05-16 03:27:49 +02:00
"_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"
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)}",
"nl": "<h3>Overzicht van lengtes</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)}",
"nl": "<h3>Overzicht van moeilijkheidsgraden</h>{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>",
"nl": "<h3>Bevat {_contained_climbing_routes_count} routes</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>",
"eu": "<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 ?",
"it": "Qual è il nome di questa opportunità di arrampicata?"
},
"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",
"it": "Questa opportunità di arrampicata non ha un nome"
}
}
],
"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",
"de": "Ein Kletterfelsen - ein einzelner Felsen oder eine Klippe mit einer oder wenigen Kletterrouten, 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)",
2022-12-16 13:40:25 +01:00
"nl": "Een klimboulder - een enkele rots of klif met één of enkele klimroutes die veilig zonder touw kunnen worden beklommen"
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",
"nl": "Een klimzone - een enkele rots of klif met klimroutes"
2022-04-23 15:20:54 +02:00
}
},
{
"if": "climbing=area",
"then": "A climbing area with one or more climbing crags and/or boulders"
}
],
"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?",
"ca": "Quin és el tipus 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}",
"ca": "El tipus de roca és {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": "چونہ پتھر",
"eu": "Kareharria"
2022-04-23 15:20:54 +02:00
}
}
],
"condition": {
"or": [
"climbing=crag",
"natural=cliff",
"natural=bare_rock"
]
},
"id": "Rock type (crag/rock/cliff only)"
},
{
"id": "default_climbing_questions",
2022-04-23 15:20:54 +02:00
"builtin": [
"climbing.website",
"climbing.fee",
"climbing.bouldering"
]
}
],
"presets": [
{
"tags": [
"sport=climbing"
],
"title": {
"en": "a climbing opportunity",
"nl": "een klimgelegenheid",
2022-06-27 09:29:23 +02:00
"de": "eine Klettereinrichtung",
2022-04-23 15:20:54 +02:00
"ja": "登坂教室",
"nb_NO": "en klatremulighet",
"fr": "une opportunité descalade",
2023-09-19 14:22:52 +02:00
"it": "una opportunità di arrampicata",
"ca": "una oportuinitat d'escalada"
2022-04-23 15:20:54 +02:00
},
"description": {
"nl": "Een klimgelegenheid",
2022-06-27 09:29:23 +02:00
"de": "Eine Klettereinrichtung",
2022-04-23 15:20:54 +02:00
"en": "A climbing opportunity",
"ja": "登坂教室",
"nb_NO": "En klatremulighet",
"fr": "Opportunité descalade",
2023-09-19 14:22:52 +02:00
"it": "Unopportunità di arrampicata",
"ca": "Una oportunitat d'escalada"
2022-04-23 15:20:54 +02:00
}
}
],
"mapRendering": [
{
"icon": "./assets/themes/climbing/climbing_no_rope.svg",
"iconSize": "40,40",
2022-04-23 15:20:54 +02:00
"location": [
"point",
"centroid"
],
"anchor": "center"
2022-04-23 15:20:54 +02:00
},
{
2022-05-27 03:00:09 +02:00
"dashArray": "8 16",
"lineCap": "square",
"color": "#d38d5fAA",
"fill": "no",
"width": "8"
2022-04-23 15:20:54 +02:00
}
]
2023-05-16 03:27:49 +02:00
}