diff --git a/data/presets.yaml b/data/presets.yaml index c643e8429..d4ce9a5df 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -631,6 +631,9 @@ en: timetable: Timetable # departures_board=yes 'yes': 'Yes' + depth: + # depth=* + label: Depth (Meters) description: # description=* label: Description diff --git a/data/presets/fields.json b/data/presets/fields.json index 49a893a33..d79eebfa1 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -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}, diff --git a/data/presets/fields/depth.json b/data/presets/fields/depth.json new file mode 100644 index 000000000..f559f25d1 --- /dev/null +++ b/data/presets/fields/depth.json @@ -0,0 +1,6 @@ +{ + "key": "depth", + "minValue": 0, + "type": "number", + "label": "Depth (Meters)" +} diff --git a/data/presets/presets.json b/data/presets/presets.json index 423f60094..1279a16c7 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -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"}, diff --git a/data/presets/presets/ford.json b/data/presets/presets/ford.json index c76451baa..238304880 100644 --- a/data/presets/presets/ford.json +++ b/data/presets/presets/ford.json @@ -2,6 +2,7 @@ "icon": "temaki-pedestrian", "fields": [ "name", + "depth", "access", "seasonal" ], @@ -15,4 +16,4 @@ "ford": "yes" }, "name": "Ford" -} +} \ No newline at end of file diff --git a/data/taginfo.json b/data/taginfo.json index a5b6b0f91..bc469e9fd 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -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"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index dcc0fa1a7..ffce967b8 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -3139,6 +3139,9 @@ "no": "None" } }, + "depth": { + "label": "Depth (Meters)" + }, "description": { "label": "Description", "terms": "summary"