{
  "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."
  },
  "descriptionTail": {
    "nl": "De Open Klimkaart is oorspronkelijk gemaakt door <a href='https://utopicode.de/en/?ref=kletterspots' target='_blank'>Christian Neumann</a> op <a href='https://kletterspots.de' target='_blank'>kletterspots.de</a>.",
    "en": "The climbing map was originally made by <a href='https://utopicode.de/en/?ref=kletterspots' target='_blank'>Christian Neumann</a>. Please <a href='https://utopicode.de/en/contact/?project=kletterspots&ref=kletterspots' target='blank'>get in touch</a> if you have feedback or questions.</p><p>The project uses data of the <a href='https://www.openstreetmap.org/' target='_blank'>OpenStreetMap</a> project.</p>",
    "de": "<p><strong>kletterspots.de</strong> wird betrieben von <a href='https://utopicode.de/?ref=kletterspots' target='_blank'>Christian Neumann</a>. Bitte <a href='https://utopicode.de/kontakt/?project=kletterspots&ref=kletterspots' target='blank'>melden Sie sich</a>, wenn Sie Feedback oder Fragen haben.</p><p>Das Projekt nutzt Daten des <a href='https://www.openstreetmap.org/' target='_blank'>OpenStreetMap</a> Projekts und basiert auf der freien Software <a href='https://github.com/pietervdvn/MapComplete' target='_blank'>MapComplete</a>.</p>"
  },
  "language": [
    "de",
    "en",
    "nl"
  ],
  "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_club",
      "name": {
        "de": "Kletterverein",
        "nl": "Klimclub",
        "en": "Climbing club"
      },
      "minzoom": 10,
      "overpassTags": {
        "or": [
          "club=climbing",
          {
            "and": [
              "sport=climbing",
              {
                "or": [
                  "office~*",
                  "club~*"
                ]
              }
            ]
          }
        ]
      },
      "title": {
        "render": {
          "en": "Climbing club",
          "nl": "Klimclub",
          "de": "Kletterverein"
        },
        "mappings": [
          {
            "if": "office~*",
            "then": {
              "nl": "Klimorganisatie",
              "en": "Climbing NGO",
              "de": "Kletter-Organisation"
            }
          }
        ]
      },
      "description": {
        "de": "Ein Kletterverein oder eine Organisation",
        "nl": "Een klimclub of organisatie",
        "en": "A climbing club or organisations"
      },
      "tagRenderings": [
        {
          "render": {
            "en": "<strong>{name}</strong>",
            "nl": "<strong>{name}</strong>",
            "de": "<strong>{name}</strong>"
          },
          "question": {
            "en": "What is the name of this climbing club or NGO?",
            "de": "Wie lautet der Name dieses Vereins oder Organisation?",
            "nl": "Wat is de naam van deze klimclub?"
          },
          "freeform": {
            "key": "name"
          }
        },
        "website",
        "email",
        "phone",
        "opening_hours"
      ],
      "hideUnderlayingFeaturesMinPercentage": 0,
      "icon": {
        "render": "./assets/themes/climbing/club.svg"
      },
      "iconOverlays": [
        {
          "if": "opening_hours~*",
          "then": "isOpen",
          "badge": true
        }
      ],
      "width": {
        "render": "8"
      },
      "iconSize": {
        "render": "40,40,center"
      },
      "color": {
        "render": "#00f"
      },
      "presets": [
        {
          "tags": [
            "club=sport",
            "sport=climbing"
          ],
          "title": {
            "de": "Kletterverein",
            "en": "Climbing club",
            "nl": "Klimclub"
          },
          "description": {
            "de": "Ein Kletterverein",
            "nl": "Een klimclub",
            "en": "A climbing club"
          }
        },
        {
          "tags": [
            "office=ngo",
            "sport=climbing"
          ],
          "title": {
            "de": "Eine Kletter-Organisation",
            "en": "Climbing NGO",
            "nl": "Een klimorganisatie"
          },
          "description": {
            "de": "Eine Organisation, welche sich mit dem Klettern beschäftigt",
            "nl": "Een VZW die werkt rond klimmen",
            "en": "A NGO working around climbing"
          }
        }
      ],
      "wayHandling": 1
    },
    {
      "id": "climbing_gym",
      "name": {
        "de": "Kletterhallen",
        "en": "Climbing gyms",
        "nl": "Klimzalen"
      },
      "minzoom": 10,
      "overpassTags": {
        "and": [
          "sport=climbing",
          "leisure=sports_centre"
        ]
      },
      "title": {
        "render": {
          "nl": "Klimzaal",
          "de": "Kletterhalle",
          "en": "Climbing gym"
        },
        "mappings": [
          {
            "if": "name~*",
            "then": {
              "nl": "Klimzaal <strong>{name}</strong>",
              "de": "Kletterhalle <strong>{name}</strong>",
              "en": "Climbing gym <strong>{name}</strong>"
            }
          }
        ]
      },
      "description": {
        "de": "Eine Kletterhalle",
        "en": "A climbing gym"
      },
      "tagRenderings": [
        "images",
        "questions",
        {"#": "name",
          "render": {
            "en": "<strong>{name}</strong>",
            "nl": "<strong>{name}</strong>",
            "de": "<strong>{name}</strong>"
          },
          "question": {
            "en": "What is the name of this climbing gym?",
            "nl": "Wat is de naam van dit Klimzaal?",
            "de": "Wie heißt diese Kletterhalle?"
          },
          "freeform": {
            "key": "name"
          }
        },
        "website",
        "phone",
        "email",
        "opening_hours",
        "reviews"
      ],
      "hideUnderlayingFeaturesMinPercentage": 0,
      "icon": {
        "render": "./assets/themes/climbing/climbing_gym.svg"
      },
      "iconOverlays": [
        {
          "if": "opening_hours~*",
          "then": "isOpen",
          "badge": true
        }
      ],
      "width": "0",
      "iconSize": {
        "render": "40,40,center"
      },
      "wayHandling": 1
    },
    {
      "id": "climbing_route",
      "name": {
        "en": "Climbing routes",
        "de": "Kletterrouten",
        "nl": "Klimroute"
      },
      "minzoom": 18,
      "overpassTags": {
        "and": [
          "climbing=route"
        ]
      },
      "title": {
        "render": {
          "de": "Kleterroute",
          "en": "Climbing route",
          "nl": "Klimroute"
        },
        "mappings": [
          {
            "if": "name~*",
            "then": {
              "de": "Kleterroute <strong>{name}</strong>",
              "en": "Climbing route <strong>{name}</strong>",
              "nl": "Klimroute <strong>{name}</strong>"
            }
          }
        ]
      },
      "tagRenderings": [
        "images",
        "questions",
        {
          "#": "Name",
          "render": {
            "en": "<strong>{name}</strong>",
            "nl": "<strong>{name}</strong>",
            "de": "<strong>{name}</strong>"
          },
          "question": {
            "en": "What is the name of this climbing route?",
            "de": "Wie heißt diese Kletterroute?",
            "nl": "Hoe heet deze klimroute?"
          },
          "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"
              }
            }
          ]
        },
        {
          "#": "Length",
          "render": {
            "de": "Diese Route ist {climbing:length} Meter lang",
            "en": "This route is {climbing:length} meter long",
            "nl": "Deze klimroute is {climbing:length} meter lang"
          },
          "freeform": {
            "key": "climbing:length",
            "type": "pnat"
          }
        },
        {
          "#": "Difficulty",
          "render": {
            "en": "Die Schwierigkeit ist {climbing:grade:french} entsprechend des französisch/belgischen Systems",
            "en": "The difficulty is {climbing:grade:french} according to the french/belgian system",
            "nl": "De klimmoeilijkheid is {climbing:grade:french} volgens het Franse/Belgische systeem"
          },
          "freeform": {
            "key": "climbing:grade:french"
          }
        },
        "reviews"
      ],
      "hideUnderlayingFeaturesMinPercentage": 0,
      "icon": {
        "render": "./assets/themes/climbing/climbing_route.svg"
      },
      "width": {
        "render": "4"
      },
      "iconSize": {
        "render": "20,20,center"
      },
      "color": {
        "render": "#0f0"
      }
    },
    {
      "id": "climbing",
      "name": {
        "nl": "Klimgelegenheden",
        "de": "Klettermöglichkeiten",
        "en": "Climbing opportunities"
      },
      "minzoom": 10,
      "overpassTags": {
        "and": [
          "sport=climbing",
          "climbing!~route",
          "leisure!~sports_centre",
          "climbing!=route_top",
          "climbing!=route_bottom"
        ]
      },
      "title": {
        "render": {
          "en": "Climbing opportunity",
          "nl": "Klimgelegenheid",
          "de": "Klettermöglichkeit"
        }
      },
      "description": {
        "nl": "Een klimgelegenheid",
        "de": "Eine Klettergelegenheit",
        "en": "A climbing opportunity"
      },
      "tagRenderings": [
        "images",
        "questions",
        {"#": "name",
          "render": {
            "en": "<strong>{name}</strong>",
            "nl": "<strong>{name}</strong>",
            "de": "<strong>{name}</strong>"
          },
          "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"
              }
            }
          ]
        },
        "reviews"
      ],
      "hideUnderlayingFeaturesMinPercentage": 0,
      "icon": {
        "render": "./assets/themes/climbing/climbing_no_rope.svg"
      },
      "width": {
        "render": "8"
      },
      "iconSize": {
        "render": "40,40,center"
      },
      "color": {
        "render": "#d38d5fAA"
      },
      "presets": [
        {
          "tags": [
            "sport=climbing"
          ],
          "title": {
            "en": "Climbing opportunity",
            "nl": "Klimgelegenheid",
            "de": "Klettermöglichkeit"
          },
          "description": {
            "nl": "Een klimgelegenheid",
            "de": "Eine Klettergelegenheit",
            "en": "A climbing opportunity"
          }
        }
      ],
      "wayHandling": 2
    },
    {
      "id": "maybe_climbing",
      "name": {
        "nl": "Klimgelegenheiden?",
        "de": "Klettermöglichkeiten?",
        "en": "Climbing opportunities?"
      },
      "minzoom": 19,
      "overpassTags": {
        "or": [
          "leisure=sports_centre",
          "barrier=wall",
          "barrier=retaining_wall",
          "natural=cliff",
          "natural=rock",
          "natural=stone"
        ]
      },
      "title": {
        "render": {
          "en": "Climbing opportunity?",
          "nl": "Klimgelegenheid?",
          "de": "Klettermöglichkeit?"
        }
      },
      "description": {
        "nl": "Een klimgelegenheid?",
        "de": "Eine Klettergelegenheit?",
        "en": "A climbing opportunity?"
      },
      "tagRenderings": [
        {
          "render": {
            "en": "<strong>{name}</strong>",
            "de": "<strong>{name}</strong>"
          },
          "condition": "name~*"
        },
        {
          "question": {
            "en": "Is climbing possible here?",
            "de": "Kann hier geklettert werden?"
          },
          "mappings": [
            {
              "if": {
                "and": [
                  "sport!~climbing"
                ]
              },
              "then": {
                "en": "Climbing is not possible here",
                "de": "Hier kann nicht geklettert werden"
              },
              "hideInAnswer": true
            },
            {
              "if": {
                "and": [
                  "sport=climbing"
                ]
              },
              "then": {
                "en": "Climbing is possible here",
                "de": "Hier kann geklettert werden"
              }
            }
          ]
        }
      ],
      "icon": "./assets/themes/climbing/climbing_unknown.svg",
      "hideUnderlayingFeaturesMinPercentage": 0,
      "width": {
        "render": "2"
      },
      "color": {
        "render": "#ddff55AA"
      },
      "wayHandling": 0
    }
  ],
  "roamingRenderings": [
    {
      "#": "Website",
      "question": {
        "en": "Is there a (unofficial) website with more informations (e.g. topos)?",
        "de": "Gibt es eine (inoffizielle) Website mit mehr Informationen (z.B. Topos)?"
      },
      "condition": {
        "and": [
          "leisure!~sports_centre",
          "sport=climbing",
          "office=",
          "club="
        ]
      },
      "render": "<a href='{url}' target='_blank'>{url}</a>",
      "freeform": {
        "key": "url",
        "type": "url"
      }
    },
    {
      "#": "Avg length?",
      "render": {
        "de": "Die Routen sind durchschnittlich <b>{climbing:length}m</b> lang",
        "en": "The routes are <b>{climbing:length}m</b> long on average",
        "nl": "De klimroutes zijn gemiddeld <b>{climbing:length}m</b> lang"
      },
      "condition": {
        "and": [
          "climbing!~route",
          "office=",
          "club=",
          {
            "or": [
              "climbing=sport",
              "climbing=traditional"
            ]
          }
        ]
      },
      "question": {
        "de": "Wie lang sind die Routen (durchschnittlich) in Metern?",
        "en": "What is the (average) length of the routes in meters?",
        "nl": "Wat is de (gemiddelde) lengte van de klimroutes, in meter?"
      },
      "freeform": {
        "key": "climbing:length",
        "type": "pnat"
      }
    },
    {
      "#": "Difficulty-min",
      "question": {
        "de": "Welche Schwierigkeit hat hier die leichteste Route (französisch/belgisches System)?",
        "en": "What is the level of the easiest route here, accoring to the french classification system?",
        "nl": "Wat is het niveau van de makkelijkste route, volgens het Franse classificatiesysteem?"
      },
      "render": {
        "de": "Die leichteste Route hat hier die Schwierigkeit {climbing:grade:french} (französisch/belgisches System)",
        "en": "The minimal difficulty is {climbing:grade:french} according to the french/belgian system",
        "nl": "De minimale klimmoeilijkheid is {climbing:grade:french} volgens het Franse/Belgische systeem"
      },
      "freeform": {
        "key": "climbing:grade:french:min"
      },
      "condition": {
        "and": [
          "climbing!~route",
          "office=",
          "club="
        ]
      }
    },
    {
      "#": "Difficulty-max",
      "question": {
        "de": "Welche Schwierigkeit hat hier die schwerste Route (französisch/belgisches System)?",
        "en": "What is the level of the most difficult route here, accoring to the french classification system?",
        "nl": "Wat is het niveau van de moeilijkste route, volgens het Franse classificatiesysteem?"
      },
      "render": {
        "de": "Die schwerste Route hat hier die Schwierigkeit {climbing:grade:french} (französisch/belgisches System)",
        "en": "The maximal difficulty is {climbing:grade:french} according to the french/belgian system",
        "nl": "De maximale klimmoeilijkheid is {climbing:grade:french} volgens het Franse/Belgische systeem"
      },
      "freeform": {
        "key": "climbing:grade:french:max"
      },
      "condition": {
        "and": [
          "climbing!~route",
          "office=",
          "club="
        ]
      }
    },
    {
      "#": "Boldering?",
      "question": {
        "de": "Kann hier gebouldert werden?",
        "en": "Is bouldering possible here?",
        "nl": "Is het mogelijk om hier te bolderen?"
      },
      "mappings": [
        {
          "if": "climbing:boulder=yes",
          "then": {
            "de": "Hier kann gebouldert werden",
            "en": "Bouldering is possible here",
            "nl": "Bolderen kan hier"
          }
        },
        {
          "if": "climbing:boulder=no",
          "then": {
            "de": "Hier kann nicht gebouldert werden",
            "en": "Bouldering is not possible here",
            "nl": "Bolderen kan hier niet"
          }
        },
        {
          "if": "climbing:boulder=limited",
          "then": {
            "de": "Bouldern ist hier nur an wenigen Routen möglich",
            "en": "Bouldering is possible, allthough there are only a few routes",
            "nl": "Bolderen kan hier, maar er zijn niet zoveel routes"
          }
        },
        {
          "if": "climbing:boulder~*",
          "then": {
            "de": "Hier gibt es {climbing:boulder} Boulder-Routen",
            "en": "There are {climbing:boulder} boulder routes",
            "nl": "Er zijn hier {climbing:boulder} bolderroutes"
          },
          "hideInAnswer": true
        }
      ],
      "condition": {
        "and": [
          "sport=climbing",
          "office=",
          "club="
        ]
      }
    },
    {
      "#": "Toproping?",
      "question": {
        "de": "Ist Toprope-Klettern hier möglich?",
        "en": "Is toprope climbing possible here?",
        "nl": "Is het mogelijk om hier te toprope-klimmen?"
      },
      "mappings": [
        {
          "if": "climbing:toprope=yes",
          "then": {
            "de": "Toprope-Klettern ist hier möglich",
            "en": "Toprope climbing is possible here",
            "nl": "Toprope-klimmen kan hier"
          }
        },
        {
          "if": "climbing:toprope=no",
          "then": {
            "de": "Toprope-Climbing ist hier nicht möglich",
            "en": "Toprope climbing is not possible here",
            "nl": "Toprope-klimmen kan hier niet"
          }
        },
        {
          "if": "climbing:toprope~*",
          "then": {
            "de": "Hier gibt es {climbing:toprope} Toprope-Routen",
            "en": "There are {climbing:toprope} toprope routes",
            "nl": "Er zijn hier {climbing:toprope} toprope routes"
          },
          "hideInAnswer": true
        }
      ],
      "condition": {
        "and": [
          "sport=climbing",
          "office=",
          "club="
        ]
      }
    },
    {
      "#": "Sportclimbing?",
      "question": {
        "de": "Ist hier Sportklettern möglich (feste Ankerpunkte)?",
        "en": "Is sport climbing possible here on fixed anchors?",
        "nl": "Is het mogelijk om hier te sportklimmen/voorklimmen op reeds aangebrachte haken?"
      },
      "mappings": [
        {
          "if": "climbing:sport=yes",
          "then": {
            "de": "Sportklettern ist hier möglich",
            "en": "Sport climbing is possible here",
            "nl": "Sportklimmen/voorklimmen kan hier"
          }
        },
        {
          "if": "climbing:sport=no",
          "then": {
            "de": "Sportklettern ist hier nicht möglich",
            "en": "Sport climbing is not possible here",
            "nl": "Sportklimmen/voorklimmen kan hier niet"
          }
        },
        {
          "if": "climbing:sport~*",
          "then": {
            "de": "Hier gibt es {climbing:sport} Sportkletter-Routen",
            "en": "There are {climbing:sport} sport climbing routes",
            "nl": "Er zijn hier {climbing:sport} sportklimroutes/voorklimroutes"
          },
          "hideInAnswer": true
        }
      ],
      "condition": {
        "and": [
          "sport=climbing",
          "office=",
          "club="
        ]
      }
    },
    {
      "#": "Traditional climbing?",
      "question": {
        "de": "Ist hier traditionelles Klettern möglich (eigene Sicherung z.B. mit Klemmkleilen)?",
        "en": "Is traditional climbing possible here (using own gear e.g. chocks)?",
        "nl": "Is het mogelijk om hier traditioneel te klimmen? <br/><span class='subtle'>(Dit is klimmen met klemblokjes en friends)</span>"
      },
      "mappings": [
        {
          "if": "climbing:traditional=yes",
          "then": {
            "de": "Traditionelles Klettern ist hier möglich",
            "en": "Traditional climbing is possible here",
            "nl": "Traditioneel klimmen kan hier"
          }
        },
        {
          "if": "climbing:traditional=no",
          "then": {
            "de": "Traditionelles Klettern ist hier nicht möglich",
            "en": "Traditional climbing is not possible here",
            "nl": "Traditioneel klimmen kan hier niet"
          }
        },
        {
          "if": "climbing:traditional~*",
          "then": {
            "de": "Hier gibt es {climbing:traditional} Routen für traditionelles Klettern",
            "en": "There are {climbing:traditional} traditional climbing routes",
            "nl": "Er zijn hier {climbing:traditional} traditionele klimroutes"
          },
          "hideInAnswer": true
        }
      ],
      "condition": {
        "and": [
          "sport=climbing",
          "office=",
          "club="
        ]
      }
    },
    {
      "#": "Speed climbing?",
      "question": {
        "de": "Gibt es hier eine Speedkletter-Wand?",
        "en": "Is there a speed climbing wall?",
        "nl": "Is er een snelklimmuur (speed climbing)?"
      },
      "condition": {
        "and": [
          "leisure=sports_centre",
          "climbing:sport=yes",
          "office=",
          "club="
        ]
      },
      "mappings": [
        {
          "if": "climbing:speed=yes",
          "then": {
            "de": "Hier gibt es eine Speedkletter-Wand",
            "en": "There is a speed climbing wall",
            "nl": "Er is een snelklimmuur voor speed climbing"
          }
        },
        {
          "if": "climbing:speed=no",
          "then": {
            "de": "Hier gibt es keine Speedkletter-Wand",
            "en": "There is no speed climbing wall",
            "nl": "Er is geen snelklimmuur voor speed climbing"
          }
        },
        {
          "if": "climbing:speed~*",
          "then": {
            "de": "Hier gibt es {climbing:speed} Speedkletter-Routen",
            "en": "There are {climbing:speed} speed climbing walls",
            "nl": "Er zijn hier {climbing:speed} snelklimmuren"
          },
          "hideInAnswer": true
        }
      ]
    }
  ]
}
