diff --git a/data/presets.yaml b/data/presets.yaml index cac140999..f87912a90 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -5314,6 +5314,10 @@ en: name: Unknown Road # 'terms: road,street' terms: '' + highway/road/bridge: + # 'highway=road, bridge=*' + name: Unknown Road Bridge + terms: '' highway/secondary: # highway=secondary name: Secondary Road diff --git a/data/presets/presets.json b/data/presets/presets.json index 257c2509f..f23d93760 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -550,6 +550,7 @@ "highway/residential": {"icon": "iD-highway-residential", "fields": ["name", "oneway", "maxspeed", "lanes", "surface", "structure", "access"], "moreFields": ["covered", "cycleway", "flood_prone", "incline", "junction_line", "lit", "maxheight", "maxspeed/advisory", "maxweight_bridge", "not/name", "oneway/bicycle", "smoothness", "trolley_wire", "width"], "geometry": ["line"], "tags": {"highway": "residential"}, "terms": ["road", "street"], "name": "Residential Road"}, "highway/rest_area": {"icon": "maki-car", "fields": ["name", "operator", "opening_hours", "opening_hours/covid19"], "moreFields": ["address", "email", "fax", "phone", "website", "wheelchair"], "geometry": ["point", "vertex", "area"], "tags": {"highway": "rest_area"}, "terms": ["rest stop"], "name": "Rest Area"}, "highway/road": {"icon": "iD-other-line", "fields": ["highway", "{highway/residential}"], "moreFields": ["{highway/residential}"], "geometry": ["line"], "tags": {"highway": "road"}, "terms": ["road", "street"], "name": "Unknown Road"}, + "highway/road/bridge": {"icon": "iD-other-line", "fields": ["highway", "{highway/residential}"], "moreFields": ["{highway/residential}"], "geometry": ["line"], "tags": {"highway": "road", "bridge": "*"}, "addTags": {"highway": "road", "bridge": "yes", "layer": "1"}, "name": "Unknown Road Bridge", "matchScore": 0.25}, "highway/secondary_link": {"icon": "iD-highway-secondary-link", "fields": ["{highway/primary_link}"], "moreFields": ["{highway/primary_link}"], "geometry": ["line"], "tags": {"highway": "secondary_link"}, "terms": ["on ramp", "off ramp", "ramp", "road", "street"], "name": "Secondary Link"}, "highway/secondary": {"icon": "iD-highway-secondary", "fields": ["{highway/primary}"], "moreFields": ["{highway/primary}"], "geometry": ["line"], "tags": {"highway": "secondary"}, "terms": ["road", "street"], "name": "Secondary Road"}, "highway/service": {"icon": "iD-highway-service", "fields": ["name", "service", "oneway", "maxspeed", "surface", "covered", "structure", "access"], "moreFields": ["flood_prone", "incline", "lanes", "lit", "maxheight", "maxspeed/advisory", "maxweight_bridge", "oneway/bicycle", "smoothness", "trolley_wire", "width"], "geometry": ["line"], "tags": {"highway": "service"}, "terms": ["road", "street"], "matchScore": 0.9, "name": "Service Road"}, diff --git a/data/presets/presets/highway/road/bridge.json b/data/presets/presets/highway/road/bridge.json new file mode 100644 index 000000000..baa29d42a --- /dev/null +++ b/data/presets/presets/highway/road/bridge.json @@ -0,0 +1,24 @@ +{ + "icon": "iD-other-line", + "fields": [ + "highway", + "{highway/residential}" + ], + "moreFields": [ + "{highway/residential}" + ], + "geometry": [ + "line" + ], + "tags": { + "highway": "road", + "bridge": "*" + }, + "addTags": { + "highway": "road", + "bridge": "yes", + "layer": "1" + }, + "name": "Unknown Road Bridge", + "matchScore": 0.25 +} diff --git a/data/taginfo.json b/data/taginfo.json index a98e3b325..0f4283592 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -534,6 +534,7 @@ {"key": "highway", "value": "residential", "description": "🄿 Residential Road", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/iD-sprite/presets/highway-residential.svg"}, {"key": "highway", "value": "rest_area", "description": "🄿 Rest Area", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/car-15.svg"}, {"key": "highway", "value": "road", "description": "🄿 Unknown Road", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/iD-sprite/presets/other-line.svg"}, + {"key": "bridge", "description": "🄿 Unknown Road Bridge, 🄵 Type, 🄵 Structure", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/iD-sprite/presets/other-line.svg"}, {"key": "highway", "value": "secondary_link", "description": "🄿 Secondary Link", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/iD-sprite/presets/highway-secondary-link.svg"}, {"key": "highway", "value": "secondary", "description": "🄿 Secondary Road", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/iD-sprite/presets/highway-secondary.svg"}, {"key": "highway", "value": "service", "description": "🄿 Service Road", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@develop/svg/iD-sprite/presets/highway-service.svg"}, @@ -1378,7 +1379,6 @@ {"key": "boules", "description": "🄵 Type"}, {"key": "brand", "description": "🄵 Brand"}, {"key": "brewery", "description": "🄵 Draft Beers"}, - {"key": "bridge", "description": "🄵 Type, 🄵 Structure"}, {"key": "building:levels", "description": "🄵 Building Levels, 🄵 Levels"}, {"key": "building:levels:underground", "description": "🄵 Underground Levels"}, {"key": "building:material", "description": "🄵 Material"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index b4e8d16a7..68941149b 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -7199,6 +7199,10 @@ "name": "Unknown Road", "terms": "road,street" }, + "highway/road/bridge": { + "name": "Unknown Road Bridge", + "terms": "" + }, "highway/secondary_link": { "name": "Secondary Link", "terms": "on ramp,off ramp,ramp,road,street"