mapcomplete/assets/themes/climbing/climbing.json
2020-11-18 12:48:41 +01:00

353 lines
8.7 KiB
JSON

{
"id": "climbing",
"title": {
"nl": "Open Klimkaart",
"de": "Offene Kletterkarte",
"en": "Open Climbing Map"
},
"description": {
"nl": "Op deze kaart vind je verschillende klimgelegenheden, zoals klimzalen, bolderzalen en klimmen in de natuur",
"de": "Auf dieser Karte finden Sie verschiedene Klettermöglichkeiten wie Kletterhallen, Boulderhallen und Felsen in der Natur.",
"en": "On this map you will find various climbing opportunities such as climbing gyms, bouldering halls and rocks in nature."
},
"language": [
"de",
"en"
],
"maintainer": "Christian Neumann <christian@utopicode.de>",
"icon": "./assets/themes/climbing/climbing_no_rope.svg",
"version": "0",
"startLat": 0,
"startLon": 0,
"startZoom": 1,
"widenFactor": 0.05,
"socialImage": "",
"layers": [
{
"id": "climbing",
"name": {
"nl": "Klimgelegenheiden",
"de": "Klettermöglichkeiten",
"en": "Climbing opportunities"
},
"minzoom": 10,
"overpassTags": {
"and": [
"sport=climbing",
"climbing!~route"
]
},
"title": {
"render": {
"en": "Climbing opportunity",
"nl": "Klimgelegenheid",
"de": "Klettermöglichkeit"
},
"mappings": [
{
"if": {
"and": [
"leisure=sports_centre"
]
},
"then": {
"nl": "Klimzaal",
"de": "Kletterhalle",
"en": "Climbing gym"
}
}
]
},
"description": {
"nl": "Een klimgelegenheid",
"de": "Eine Klettergelegenheit",
"en": "A climbing opportunity"
},
"tagRenderings": [
{
"render": "<a href='{website}' target='_blank'>{website}</a>",
"freeform": {
"key": "website"
}
},
{
"render": "<a href='tel:{phone}'>{phone}</a>",
"freeform": {
"key": "phone"
}
},
{
"render": "<a href='mailto:{email}' target='_blank'>{email}</a>",
"freeform": {
"key": "email"
}
},
{
"render": "{opening_hours_table(opening_hours)}",
"freeform": {
"key": "opening_hours"
}
},
{
"question": {
"de": "Kann hier gebouldert werden?",
"en": "Is bouldering possible here?"
},
"mappings": [
{
"if": "climbing:boulder=yes",
"then": {
"de": "Hier kann gebouldert werden",
"en": "Bouldering is possible here"
}
},
{
"if": "climbing:boulder=no",
"then": {
"de": "Hier kann nicht gebouldert werden",
"en": "Bouldering is not possible here"
}
},
{
"if": "climbing:boulder~*",
"then": {
"de": "Hier gibt es {climbing:boulder} Boulder-Routen",
"en": "There are {climbing:boulder} boulder routes"
},
"hideInAnswer": true
}
]
},
{
"mappings": [
{
"if": {
"and": [
"climbing:toprope=yes"
]
},
"then": {
"nl": "Toprope klimmen kan hier",
"de": "Toprope ist hier möglich",
"en": "Toprope is possible here"
}
}
]
}
],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "./assets/themes/climbing/climbing_no_rope.svg"
},
"width": {
"render": "8"
},
"iconSize": {
"render": "40,40,center"
},
"color": {
"render": "#00f"
},
"presets": [
{
"tags": [
"sport=climbing"
],
"title": {
"de": "Klettermöglichkeit",
"en": "",
"nl": "Kletterkarte"
},
"description": {
"de": "",
"en": "",
"nl": "Een klimroute op rots"
}
}
],
"wayHandling": 2
},
{
"id": "routes",
"name": {
"en": "",
"nl": "",
"de": ""
},
"minzoom": 18,
"overpassTags": {
"and": [
"climbing=route"
]
},
"title": {
"render": {
"nl": "Klimroute",
"de": "Kletterroute",
"en": "Climbing route"
},
"mappings": [
{
"if": {
"and": [
"name~*"
]
},
"then": {
"nl": "Klimroute <i>{name}</i>",
"de": "Kletterroute <i>{name}</i>",
"en": "Climbing route <i>{name}</i>"
}
}
]
},
"description": {
"nl": "Individuele klimroutes",
"de": "Kletterrouten",
"en": "Climbing routes"
},
"tagRenderings": [
{
"render": {
"nl": "Moeilijkheidsgraad <b>{climbing:grade:french}</b>",
"en": "Difficulty level <b>{climbing:grade:french}</b>",
"de": "Schwierigkeitsgrad <b>{climbing:grade:french}</b>"
},
"question": {
"nl": "Wat is de moelijkheidsgraad van dit parcour?",
"en": "What is the difficulty of this route?",
"de": "Was ist die Schwierigkeit dieser Route?"
},
"freeform": {
"key": "climbing:grade:french"
}
},
{
"freeform": {
"key": "climbing:bolted",
"type": "nat"
},
"render": {
"de": "",
"en": "",
"nl": "Aantal tussenhaken <b>{climbing:bolted}</b>"
},
"question": {
"de": "",
"en": "",
"nl": "Hoeveel tussenhaken zijn er hier?"
}
},
{
"render": {
"de": "",
"en": "",
"nl": "Deze route heet <b>{name}</b>"
},
"question": {
"de": "",
"en": "",
"nl": "Wat is de naam van deze route?"
},
"freeform": {
"key": "name",
"addExtraTags": [
"noname="
]
},
"mappings": [
{
"if": {
"and": [
"noname=yes",
"name="
]
},
"then": {
"de": "",
"en": "",
"nl": "Deze route heeft geen naam"
}
}
]
}
],
"hideUnderlayingFeaturesMinPercentage": 1,
"icon": {
"render": "./assets/themes/climbing/climbing_route.svg"
},
"width": {
"render": "4"
},
"iconSize": {
"render": "20,20,center"
},
"color": {
"render": "#0f0"
},
"presets": [
{
"tags": [
"climbing=route"
],
"title": {
"de": "",
"en": "",
"nl": "Klimroute"
},
"description": {
"de": "",
"en": "",
"nl": "Een klimroute op rots"
}
}
]
}
],
"roamingRenderings": [
{
"render": {
"en": "Name: {name}",
"nl": "Naam: {name}",
"de": "Name: {name}"
},
"question": {
"en": "What is the name of this climbing opportunity?",
"nl": "Wat is de naam van dit Klimgelegenheid?",
"de": "Wie heißt diese Klettergelegenheit?"
},
"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",
"de": "Diese Klettergelegenheit hat keinen Namen"
}
}
]
},
{
"render": {
"de": "Die Routen sind durchschnittlich <b>{climbing:length}m</b> lang",
"en": "The routes are <b>{climbing:length}m</b> long in average"
},
"question": {
"de": "Wie lang sind die Routen (durchschnittlich) in Metern?",
"en": "What is the (average) length of the routes in meters?"
},
"freeform": {
"key": "climbing:length",
"type": "pnat"
}
}
]
}