Skip to content

Commit

Permalink
Update loading dock fields (#1043)
Browse files Browse the repository at this point in the history
  • Loading branch information
arch0345 authored Nov 20, 2023
1 parent 2d07a40 commit 4184e16
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 3 deletions.
4 changes: 4 additions & 0 deletions data/deprecated.json
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,10 @@
"old": {"disabled_spaces":"*"},
"replace": {"capacity:disabled": "$1"}
},
{
"old": {"door": "loadingdock"},
"replace": {"amenity": "loading_dock"}
},
{
"old": {"drinkable": "*"},
"replace": {"drinking_water": "$1"}
Expand Down
6 changes: 6 additions & 0 deletions data/fields/dock/height.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"key": "dock:height",
"minValue": 0,
"type": "number",
"label": "Dock Height (Meters)"
}
6 changes: 6 additions & 0 deletions data/fields/dock/width.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"key": "dock:width",
"minValue": 0,
"type": "number",
"label": "Dock Width (Meters)"
}
6 changes: 6 additions & 0 deletions data/fields/door/height.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"key": "door:height",
"minValue": 0,
"type": "number",
"label": "Door Height (Meters)"
}
6 changes: 6 additions & 0 deletions data/fields/door/width.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"key": "door:width",
"minValue": 0,
"type": "number",
"label": "Door Width (Meters)"
}
11 changes: 8 additions & 3 deletions data/presets/amenity/loading_dock.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,20 @@
"ref",
"operator",
"access_simple",
"door",
"width",
"height"
"door"
],
"moreFields": [
"address",
"dock/height",
"dock/width",
"door/height",
"door/width",
"colour",
"level",
"lit",
"maxheight",
"maxlength",
"maxwidth",
"wheelchair"
],
"geometry": [
Expand Down

0 comments on commit 4184e16

Please sign in to comment.