mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-21 19:26:41 +02:00
Add low-visibility Unknown Road Bridge preset to help new mappers discover how to map bridges in OSM
This commit is contained in:
@@ -5314,6 +5314,10 @@ en:
|
||||
name: Unknown Road
|
||||
# 'terms: road,street'
|
||||
terms: '<translate with synonyms or related terms for ''Unknown Road'', separated by commas>'
|
||||
highway/road/bridge:
|
||||
# 'highway=road, bridge=*'
|
||||
name: Unknown Road Bridge
|
||||
terms: '<translate with synonyms or related terms for ''Unknown Road Bridge'', separated by commas>'
|
||||
highway/secondary:
|
||||
# highway=secondary
|
||||
name: Secondary Road
|
||||
|
||||
@@ -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"},
|
||||
|
||||
@@ -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
|
||||
}
|
||||
+1
-1
@@ -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"},
|
||||
|
||||
Vendored
+4
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user