Added field for depth=* for fords

This commit is contained in:
hikemaniac
2020-02-28 21:16:22 +01:00
parent 3ae009ea49
commit 7344f97a66
7 changed files with 17 additions and 2 deletions
+3
View File
@@ -631,6 +631,9 @@ en:
timetable: Timetable
# departures_board=yes
'yes': 'Yes'
depth:
# depth=*
label: Depth (Meters)
description:
# description=*
label: Description
+1
View File
@@ -105,6 +105,7 @@
"denomination": {"key": "denomination", "type": "combo", "label": "Denomination", "prerequisiteTag": {"key": "religion", "valueNot": "none"}},
"denotation": {"key": "denotation", "type": "combo", "label": "Denotation"},
"departures_board": {"key": "departures_board", "type": "combo", "label": "Departures Board", "strings": {"options": {"yes": "Yes", "timetable": "Timetable", "realtime": "Realtime", "no": "None"}}},
"depth": {"key": "depth", "minValue": 0, "type": "number", "label": "Depth (Meters)"},
"description": {"key": "description", "type": "textarea", "label": "Description", "universal": true, "terms": ["summary"]},
"design": {"key": "design", "type": "combo", "label": "Design"},
"destination_oneway": {"key": "destination", "type": "semiCombo", "label": "Destinations", "prerequisiteTag": {"key": "oneway", "value": "yes"}, "snake_case": false},
+6
View File
@@ -0,0 +1,6 @@
{
"key": "depth",
"minValue": 0,
"type": "number",
"label": "Depth (Meters)"
}
+1 -1
View File
@@ -464,7 +464,7 @@
"emergency/water_tank": {"icon": "maki-water", "fields": ["name", "ref", "operator"], "geometry": ["point", "vertex"], "terms": ["water tank", "cistern", "reservoir"], "tags": {"emergency": "water_tank"}, "name": "Emergency Water Tank"},
"entrance": {"icon": "maki-entrance-alt1", "fields": ["ref", "entrance", "door", "access_simple", "wheelchair", "level", "address"], "geometry": ["vertex"], "tags": {"entrance": "*"}, "terms": ["entrance", "exit", "door"], "matchScore": 0.8, "name": "Entrance / Exit"},
"entrance/emergency": {"icon": "maki-entrance-alt1", "fields": ["ref", "door", "access_simple", "level"], "geometry": ["vertex"], "tags": {"entrance": "emergency"}, "terms": ["fire exit", "door"], "matchScore": 0.8, "name": "Emergency Exit"},
"ford": {"icon": "temaki-pedestrian", "fields": ["name", "access", "seasonal"], "moreFields": ["gnis/feature_id"], "geometry": ["vertex"], "tags": {"ford": "yes"}, "name": "Ford"},
"ford": {"icon": "temaki-pedestrian", "fields": ["name", "depth", "access", "seasonal"], "moreFields": ["gnis/feature_id"], "geometry": ["vertex"], "tags": {"ford": "yes"}, "name": "Ford"},
"golf/bunker": {"icon": "maki-golf", "fields": ["name"], "geometry": ["area"], "tags": {"golf": "bunker"}, "addTags": {"golf": "bunker", "natural": "sand"}, "terms": ["hazard", "bunker"], "name": "Sand Trap"},
"golf/cartpath": {"icon": "temaki-golf_cart", "fields": ["{golf/path}", "maxspeed"], "geometry": ["line"], "tags": {"golf": "cartpath"}, "addTags": {"golf": "cartpath", "golf_cart": "designated", "highway": "service"}, "name": "Golf Cartpath"},
"golf/driving_range": {"icon": "maki-golf", "fields": ["name", "capacity"], "geometry": ["area"], "tags": {"golf": "driving_range"}, "addTags": {"golf": "driving_range", "landuse": "grass"}, "name": "Driving Range"},
+2 -1
View File
@@ -2,6 +2,7 @@
"icon": "temaki-pedestrian",
"fields": [
"name",
"depth",
"access",
"seasonal"
],
@@ -15,4 +16,4 @@
"ford": "yes"
},
"name": "Ford"
}
}
+1
View File
@@ -1436,6 +1436,7 @@
{"key": "departures_board", "value": "timetable", "description": "🄵 Departures Board"},
{"key": "departures_board", "value": "realtime", "description": "🄵 Departures Board"},
{"key": "departures_board", "value": "no", "description": "🄵 Departures Board"},
{"key": "depth", "description": "🄵 Depth (Meters)"},
{"key": "description", "description": "🄵 Description"},
{"key": "design", "description": "🄵 Design"},
{"key": "destination", "description": "🄵 Destinations"},
+3
View File
@@ -3139,6 +3139,9 @@
"no": "None"
}
},
"depth": {
"label": "Depth (Meters)"
},
"description": {
"label": "Description",
"terms": "summary"