{ "id": "climbing_area", "name": { "nl": "Klimgelegenheden", "de": "Klettermöglichkeiten", "en": "Climbing opportunities", "ja": "登坂教室", "fr": "Opportunité d’escalade", "it": "Opportunità di arrampicata" }, "description": { "en": "An area where climbing is possible, e.g. a crag, site, boulder, ... Contains aggregation of routes" }, "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", "de": "Klettermöglichkeit", "ja": "登坂教室", "nb_NO": "Klatremulighet", "fr": "Opportunité d’escalade", "it": "Opportunità di arrampicata" }, "mappings": [ { "if": "climbing=crag", "then": { "en": "Climbing crag {name}", "fr": "Mur d’escalade {name}", "it": "Muro da arrampicata {name}", "de": "Klettergarten {name}" } }, { "if": { "and": [ { "or": [ "climbing=area", "climbing=site" ] }, "name~*" ] }, "then": { "en": "Climbing area {name}", "nl": "Klimsite {name}", "fr": "Zone d’escalade {name}", "de": "Klettergebiet {name}", "it": "Area di arrampicata {name}" } }, { "if": { "or": [ "climbing=site", "climbing=area" ] }, "then": { "en": "Climbing site", "nl": "Klimsite", "fr": "Site d’escalade", "de": "Klettergebiet", "it": "Sito di arrampicata", "ca": "Llocs d'escalada" } }, { "if": "name~*", "then": { "nl": "Klimgelegenheid {name}", "en": "Climbing opportunity {name}", "fr": "Opportunité d’escalade {name}", "de": "Klettermöglichkeit {name}", "it": "Opportunità di arrampicata {name}" } } ] }, "calculatedTags": [ "_contained_climbing_routes_properties=feat.overlapWith('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=feat.get('_contained_climbing_routes_properties')?.map(p => `