Skip to content

Commit 4184e16

Browse files
authored
Update loading dock fields (#1043)
1 parent 2d07a40 commit 4184e16

File tree

6 files changed

+36
-3
lines changed

6 files changed

+36
-3
lines changed

data/deprecated.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,10 @@
550550
"old": {"disabled_spaces":"*"},
551551
"replace": {"capacity:disabled": "$1"}
552552
},
553+
{
554+
"old": {"door": "loadingdock"},
555+
"replace": {"amenity": "loading_dock"}
556+
},
553557
{
554558
"old": {"drinkable": "*"},
555559
"replace": {"drinking_water": "$1"}

data/fields/dock/height.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"key": "dock:height",
3+
"minValue": 0,
4+
"type": "number",
5+
"label": "Dock Height (Meters)"
6+
}

data/fields/dock/width.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"key": "dock:width",
3+
"minValue": 0,
4+
"type": "number",
5+
"label": "Dock Width (Meters)"
6+
}

data/fields/door/height.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"key": "door:height",
3+
"minValue": 0,
4+
"type": "number",
5+
"label": "Door Height (Meters)"
6+
}

data/fields/door/width.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"key": "door:width",
3+
"minValue": 0,
4+
"type": "number",
5+
"label": "Door Width (Meters)"
6+
}

data/presets/amenity/loading_dock.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,20 @@
44
"ref",
55
"operator",
66
"access_simple",
7-
"door",
8-
"width",
9-
"height"
7+
"door"
108
],
119
"moreFields": [
1210
"address",
11+
"dock/height",
12+
"dock/width",
13+
"door/height",
14+
"door/width",
1315
"colour",
1416
"level",
1517
"lit",
18+
"maxheight",
19+
"maxlength",
20+
"maxwidth",
1621
"wheelchair"
1722
],
1823
"geometry": [

0 commit comments

Comments
 (0)