From 5c2e8a860853f426c8d6c9aff99dbe9b2c04c552 Mon Sep 17 00:00:00 2001 From: Harald Husum Date: Tue, 24 Jun 2025 22:10:00 +0200 Subject: [PATCH] Add preset for `climbing=route` point, way and relation (#1598) --- data/preset_categories/climbing.json | 3 +++ data/preset_categories/route.json | 1 + data/presets/climbing/route.json | 33 +++++++++++++++++++++++ data/presets/type/route/climbing.json | 38 +++++++++++++++++++++++++++ 4 files changed, 75 insertions(+) create mode 100644 data/presets/climbing/route.json create mode 100644 data/presets/type/route/climbing.json diff --git a/data/preset_categories/climbing.json b/data/preset_categories/climbing.json index 71faa275..8d9a3f25 100644 --- a/data/preset_categories/climbing.json +++ b/data/preset_categories/climbing.json @@ -2,7 +2,10 @@ "icon": "temaki-climbing", "name": "Climbing Features", "members": [ + "climbing/route", + "climbing/route_bottom", "climbing/crag", + "type/route/climbing", "type/site/climbing/crag", "type/site/climbing/area" ] diff --git a/data/preset_categories/route.json b/data/preset_categories/route.json index 26bc08e6..c1bd3ce1 100644 --- a/data/preset_categories/route.json +++ b/data/preset_categories/route.json @@ -20,6 +20,7 @@ "type/route/pipeline", "type/route/detour", "type/route_master", + "type/route/climbing", "type/route" ] } diff --git a/data/presets/climbing/route.json b/data/presets/climbing/route.json new file mode 100644 index 00000000..8aa53f13 --- /dev/null +++ b/data/presets/climbing/route.json @@ -0,0 +1,33 @@ +{ + "icon": "temaki-climbing", + "geometry": [ + "line", + "point" + ], + "fields": [ + "{climbing/route_bottom}" + ], + "moreFields": [ + "{climbing/route_bottom}" + ], + "terms": [ + "boulder problem", + "climb", + "climbing", + "rock climbing", + "rock climbing route", + "sport climbing" + ], + "tags": { + "climbing": "route" + }, + "addTags": { + "climbing": "route", + "sport": "climbing" + }, + "name": "Climbing Route", + "aliases": [ + "Boulder Problem", + "Climb" + ] +} diff --git a/data/presets/type/route/climbing.json b/data/presets/type/route/climbing.json new file mode 100644 index 00000000..2f0f0d93 --- /dev/null +++ b/data/presets/type/route/climbing.json @@ -0,0 +1,38 @@ +{ + "icon": "temaki-climbing", + "geometry": [ + "relation" + ], + "fields": [ + "{climbing/route_bottom}" + ], + "moreFields": [ + "{climbing/route_bottom}" + ], + "terms": [ + "climb", + "climbing", + "rock climbing", + "rock climbing route", + "mountain climbing" + ], + "tags": { + "type": "route", + "route": "climbing" + }, + "addTags": { + "climbing": "route", + "route": "climbing", + "sport": "climbing", + "type": "route" + }, + "reference": { + "key": "climbing", + "value": "route" + }, + "name": "Climbing Route", + "aliases": [ + "Climb", + "Mountaineering Route" + ] +}