-
Notifications
You must be signed in to change notification settings - Fork 252
Add climbing presets + fields #1113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
c6e1f01
a6b5ed9
301beb4
71835c2
076e09d
1cd8df8
7a147ce
08f1597
4e87f0c
8cf49ba
d90bdad
f141bc0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "key": "climbing:bolted", | ||
| "type": "check", | ||
| "label": "Bolted" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "key": "climbing:bolts", | ||
| "type": "number", | ||
| "minValue": 0, | ||
| "label": "Number of Bolts" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "key": "climbing:grade:french", | ||
| "type": "text", | ||
| "label": "Grade (French)", | ||
| "placeholder": "5c" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "key": "climbing:grade:saxon", | ||
| "type": "text", | ||
| "label": "Grade (Saxon)", | ||
| "placeholder": "VIIa" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "key": "climbing:grade:uiaa", | ||
| "type": "text", | ||
| "label": "Grade (UIAA)", | ||
| "placeholder": "6-" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "key": "climbing:grade:yds_class", | ||
| "type": "text", | ||
| "label": "Grade (YDS)", | ||
| "placeholder": "5.10a" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "key": "climbing:length", | ||
| "type": "number", | ||
| "minValue": 0, | ||
| "label": "Length (m)" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| { | ||
| "key": "climbing:orientation", | ||
| "type": "combo", | ||
| "label": "Orientation", | ||
| "strings": { | ||
| "options": { | ||
| "N": "North", | ||
| "NE": "North-East", | ||
| "E": "East", | ||
| "SE": "South-East", | ||
| "S": "South", | ||
| "SW": "South-West", | ||
| "W": "West", | ||
| "NW": "North-West" | ||
| } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| { | ||
| "key": "climbing:quality", | ||
| "type": "combo", | ||
| "options": [ | ||
| "fragile", | ||
| "medium", | ||
| "solid" | ||
| ], | ||
| "label": "Rock Quality" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| { | ||
| "key": "climbing:rock", | ||
| "type": "combo", | ||
| "label": "Rock Type", | ||
| "strings": { | ||
| "options": { | ||
| "limestone": "Limestone", | ||
| "sandstone": "Sandstone", | ||
| "granite": "Granite", | ||
| "quartzite": "Quartzite", | ||
| "gritstone": "Gritstone", | ||
| "gneiss": "Gneiss", | ||
| "porphyry": "Porphyry", | ||
| "basalt": "Basalt", | ||
| "conglomerate": "Conglomerate", | ||
| "slate": "Slate" | ||
| } | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "key": "climbing:routes", | ||
| "type": "number", | ||
| "minValue": 0, | ||
| "label": "Number of Routes" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "key": "climbing:summit_log", | ||
| "type": "check", | ||
| "label": "Summit Log", | ||
| "terms": [ | ||
| "route log", | ||
| "summit register" | ||
| ] | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| { | ||
| "icon": "temaki-abseiling", | ||
| "geometry": [ | ||
| "point", | ||
| "line", | ||
| "area", | ||
| "relation" | ||
| ], | ||
| "fields": [ | ||
| "name" | ||
| ], | ||
| "moreFields": [ | ||
| "climbing/length", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does it really make sense to specify the length of a climbing crag? Is it the sum of the routes on it? What practical use would such a number have?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The Often the crag has almost all routes with the same lenght, but usually there are few shorter routes, or perhaps one longer. So this value on the crag works as a default for all the routes, but each route can overwrite it. Of course, if each route is different length, the it probably wouldn't make sense to tag it on |
||
| "climbing/routes", | ||
| "climbing/bolted", | ||
| "climbing/orientation", | ||
| "climbing/quality", | ||
| "climbing/rock", | ||
| "website", | ||
| "ele" | ||
| ], | ||
| "terms": [ | ||
| "rock climbing", | ||
| "climbing" | ||
| ], | ||
| "tags": { | ||
| "climbing": "crag" | ||
| }, | ||
| "addTags": { | ||
| "sport": "climbing", | ||
| "climbing": "crag" | ||
| }, | ||
| "name": "Climbing Crag" | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| { | ||
| "icon": "temaki-abseiling", | ||
| "geometry": [ | ||
| "point", | ||
| "line" | ||
| ], | ||
| "fields": [ | ||
| "name", | ||
| "climbing/length", | ||
| "climbing/bolted", | ||
| "climbing/rock" | ||
| ], | ||
| "moreFields": [ | ||
| "climbing/grade/uiaa", | ||
| "climbing/grade/french", | ||
| "climbing/grade/saxon", | ||
| "climbing/grade/yds_class", | ||
| "climbing/bolts", | ||
| "climbing/orientation", | ||
| "climbing/quality", | ||
| "climbing/summit_log", | ||
| "website", | ||
| "ele" | ||
| ], | ||
| "terms": [ | ||
| "rock climbing", | ||
| "climbing" | ||
| ], | ||
| "tags": { | ||
| "climbing": "route" | ||
| }, | ||
| "addTags": { | ||
| "sport": "climbing", | ||
| "climbing": "route" | ||
| }, | ||
| "name": "Climbing Route" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| { | ||
| "icon": "temaki-abseiling", | ||
| "geometry": [ | ||
| "point", | ||
| "vertex" | ||
| ], | ||
| "fields": [ | ||
| "{climbing/route}" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it does not make sense to just copy-paste the fields from the climbing route preset here. There are quite a few of them which do not make sense (e.g. what is the length of the bottom of a climbing route?), and/or which would just duplicate the property of the respective climbing route object (e.g. the rock type of the route, etc.). Please specify a list of tag which make sense to be used for these features. 🙇 For example,
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the issue here is that Eg. there are 4822 nodes with this tag, and 4575 have name (overpass) which may imply this case. The wiki even specifies this scenario:
Do you think we can leave the "route" fields on the "route_bottoms" then? |
||
| ], | ||
| "moreFields": [ | ||
| "{climbing/route}" | ||
| ], | ||
| "terms": [ | ||
| "rock climbing", | ||
| "climbing" | ||
| ], | ||
| "tags": { | ||
| "climbing": "route_bottom" | ||
| }, | ||
| "addTags": { | ||
| "sport": "climbing", | ||
| "climbing": "route_bottom" | ||
| }, | ||
| "name": "Climbing Route Start" | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| { | ||
| "icon": "temaki-abseiling", | ||
| "geometry": [ | ||
| "point", | ||
| "vertex" | ||
| ], | ||
| "fields": [ | ||
| "{climbing/route}" | ||
| ], | ||
| "moreFields": [ | ||
| "{climbing/route}" | ||
|
Comment on lines
+8
to
+11
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. see above
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. see above :) |
||
| ], | ||
| "terms": [ | ||
| "rock climbing", | ||
| "climbing" | ||
| ], | ||
| "tags": { | ||
| "climbing": "route_top" | ||
| }, | ||
| "addTags": { | ||
| "sport": "climbing", | ||
| "climbing": "route_top" | ||
| }, | ||
| "name": "Climbing Route Top" | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.