Skip to content

Commit

Permalink
add preset for highway=cyclist_waiting_aid (#1069)
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yle authored Dec 15, 2023
1 parent 25ff354 commit f3e7603
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 0 deletions.
6 changes: 6 additions & 0 deletions data/fields/count.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"key": "count",
"type": "number",
"minValue": 1,
"label": "Number of Features"
}
5 changes: 5 additions & 0 deletions data/fields/footrest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "footrest",
"type": "check",
"label": "Footrest"
}
6 changes: 6 additions & 0 deletions data/fields/handrest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"key": "handrest",
"type": "check",
"label": "Handrest",
"default": "yes"
}
12 changes: 12 additions & 0 deletions data/fields/side.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"key": "side",
"type": "combo",
"label": "Side",
"strings": {
"options": {
"left": "Left",
"right": "Right"
}
},
"autoSuggestions": false
}
31 changes: 31 additions & 0 deletions data/presets/highway/cyclist_waiting_aid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "Cyclist Waiting Aid",
"icon": "temaki-guard_rail",
"fields": [
"footrest",
"handrest",
"direction_vertex",
"side",
"count"
],
"moreFields": [
"capacity"
],
"geometry": [
"vertex"
],
"tags": {
"highway": "cyclist_waiting_aid"
},
"terms": [
"foot rail",
"footrail",
"footrest",
"grip",
"hand rail",
"handle",
"handrail",
"handrest",
"holding rail"
]
}

0 comments on commit f3e7603

Please sign in to comment.