mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 13:38:26 +02:00
Adds the traffic_sign/direction field
Replaces the direction_vertex field in the vertex Traffic Sign presets with the traffic_sign/direction field
This commit is contained in:
@@ -1733,6 +1733,16 @@ en:
|
||||
traffic_sign:
|
||||
# traffic_sign=*
|
||||
label: Traffic Sign
|
||||
traffic_sign/direction:
|
||||
# 'traffic_sign:direction=*'
|
||||
label: Direction
|
||||
options:
|
||||
# 'traffic_sign:direction=backward'
|
||||
backward: Backward
|
||||
# 'traffic_sign:direction=both'
|
||||
both: Both / All
|
||||
# 'traffic_sign:direction=forward'
|
||||
forward: Forward
|
||||
traffic_signals:
|
||||
# traffic_signals=*
|
||||
label: Type
|
||||
|
||||
@@ -302,6 +302,7 @@
|
||||
"trade": {"key": "trade", "type": "typeCombo", "label": "Type"},
|
||||
"traffic_calming": {"key": "traffic_calming", "type": "typeCombo", "label": "Type"},
|
||||
"traffic_sign": {"key": "traffic_sign", "type": "typeCombo", "label": "Traffic Sign"},
|
||||
"traffic_sign/direction": {"key": "traffic_sign:direction", "type": "combo", "label": "Direction", "strings": {"options": {"forward": "Forward", "backward": "Backward", "both": "Both / All"}}},
|
||||
"traffic_signals": {"key": "traffic_signals", "type": "combo", "label": "Type", "default": "signal"},
|
||||
"traffic_signals/direction": {"key": "traffic_signals:direction", "type": "combo", "label": "Direction", "strings": {"options": {"forward": "Forward", "backward": "Backward", "both": "Both / All"}}},
|
||||
"trail_visibility": {"key": "trail_visibility", "type": "combo", "label": "Trail Visibility", "placeholder": "Excellent, Good, Bad...", "strings": {"options": {"excellent": "Excellent: unambiguous path or markers everywhere", "good": "Good: markers visible, sometimes require searching", "intermediate": "Intermediate: few markers, path mostly visible", "bad": "Bad: no markers, path sometimes invisible/pathless", "horrible": "Horrible: often pathless, some orientation skills required", "no": "No: pathless, excellent orientation skills required"}}},
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"key": "traffic_sign:direction",
|
||||
"type": "combo",
|
||||
"label": "Direction",
|
||||
"strings": {
|
||||
"options": {
|
||||
"forward": "Forward",
|
||||
"backward": "Backward",
|
||||
"both": "Both / All"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -926,11 +926,11 @@
|
||||
"traffic_calming/island": {"icon": "temaki-diamond", "geometry": ["vertex"], "terms": ["circle", "roundabout", "slow"], "tags": {"traffic_calming": "island"}, "name": "Traffic Island"},
|
||||
"traffic_calming/rumble_strip": {"icon": "temaki-diamond", "fields": ["direction_vertex"], "geometry": ["vertex", "line"], "terms": ["audible lines", "sleeper lines", "growlers"], "tags": {"traffic_calming": "rumble_strip"}, "name": "Rumble Strip"},
|
||||
"traffic_calming/table": {"icon": "temaki-diamond", "fields": ["surface"], "geometry": ["vertex"], "tags": {"traffic_calming": "table"}, "terms": ["flat top", "hump", "speed", "slow"], "name": "Speed Table"},
|
||||
"traffic_sign_vertex": {"icon": "maki-square-stroked", "fields": ["traffic_sign", "direction_vertex"], "geometry": ["vertex"], "tags": {"traffic_sign": "*"}, "terms": ["road", "highway"], "name": "Traffic Sign"},
|
||||
"traffic_sign_vertex": {"icon": "maki-square-stroked", "fields": ["traffic_sign", "traffic_sign/direction"], "geometry": ["vertex"], "tags": {"traffic_sign": "*"}, "terms": ["road", "highway"], "name": "Traffic Sign"},
|
||||
"traffic_sign": {"icon": "maki-square-stroked", "fields": ["traffic_sign", "direction"], "geometry": ["point"], "tags": {"traffic_sign": "*"}, "terms": ["road", "highway"], "name": "Traffic Sign"},
|
||||
"traffic_sign/city_limit_vertex": {"icon": "maki-square-stroked", "fields": ["traffic_sign", "direction_vertex", "name"], "geometry": ["vertex"], "tags": {"traffic_sign": "city_limit"}, "terms": ["town", "village", "hamlet", "boundary", "edge", "border", "road", "highway"], "name": "City Limit Sign"},
|
||||
"traffic_sign/city_limit_vertex": {"icon": "maki-square-stroked", "fields": ["traffic_sign", "traffic_sign/direction", "name"], "geometry": ["vertex"], "tags": {"traffic_sign": "city_limit"}, "terms": ["town", "village", "hamlet", "boundary", "edge", "border", "road", "highway"], "name": "City Limit Sign"},
|
||||
"traffic_sign/city_limit": {"icon": "maki-square-stroked", "fields": ["traffic_sign", "direction", "name"], "geometry": ["point"], "tags": {"traffic_sign": "city_limit"}, "terms": ["town", "village", "hamlet", "boundary", "edge", "border", "road", "highway"], "name": "City Limit Sign"},
|
||||
"traffic_sign/maxspeed_vertex": {"icon": "maki-square-stroked", "fields": ["traffic_sign", "direction_vertex", "maxspeed"], "geometry": ["vertex"], "tags": {"traffic_sign": "maxspeed"}, "terms": ["max speed", "maximum speed", "road", "highway"], "name": "Speed Limit Sign"},
|
||||
"traffic_sign/maxspeed_vertex": {"icon": "maki-square-stroked", "fields": ["traffic_sign", "traffic_sign/direction", "maxspeed"], "geometry": ["vertex"], "tags": {"traffic_sign": "maxspeed"}, "terms": ["max speed", "maximum speed", "road", "highway"], "name": "Speed Limit Sign"},
|
||||
"traffic_sign/maxspeed": {"icon": "maki-square-stroked", "fields": ["traffic_sign", "direction", "maxspeed"], "geometry": ["point"], "tags": {"traffic_sign": "maxspeed"}, "terms": ["max speed", "maximum speed", "road", "highway"], "name": "Speed Limit Sign"},
|
||||
"type/multipolygon": {"icon": "iD-multipolygon", "geometry": ["area", "relation"], "tags": {"type": "multipolygon"}, "removeTags": {}, "name": "Multipolygon", "searchable": false, "matchScore": 0.1},
|
||||
"type/boundary": {"icon": "iD-boundary", "fields": ["name", "boundary"], "geometry": ["relation"], "tags": {"type": "boundary"}, "name": "Boundary"},
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"icon": "maki-square-stroked",
|
||||
"fields": [
|
||||
"traffic_sign",
|
||||
"direction_vertex",
|
||||
"traffic_sign/direction",
|
||||
"name"
|
||||
],
|
||||
"geometry": [
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"icon": "maki-square-stroked",
|
||||
"fields": [
|
||||
"traffic_sign",
|
||||
"direction_vertex",
|
||||
"traffic_sign/direction",
|
||||
"maxspeed"
|
||||
],
|
||||
"geometry": [
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"icon": "maki-square-stroked",
|
||||
"fields": [
|
||||
"traffic_sign",
|
||||
"direction_vertex"
|
||||
"traffic_sign/direction"
|
||||
],
|
||||
"geometry": [
|
||||
"vertex"
|
||||
|
||||
@@ -7356,6 +7356,21 @@
|
||||
{"key": "tracktype", "value": "grade4", "description": "Track Type"},
|
||||
{"key": "tracktype", "value": "grade5", "description": "Track Type"},
|
||||
{"key": "trade", "description": "Type"},
|
||||
{
|
||||
"key": "traffic_sign:direction",
|
||||
"value": "forward",
|
||||
"description": "Direction"
|
||||
},
|
||||
{
|
||||
"key": "traffic_sign:direction",
|
||||
"value": "backward",
|
||||
"description": "Direction"
|
||||
},
|
||||
{
|
||||
"key": "traffic_sign:direction",
|
||||
"value": "both",
|
||||
"description": "Direction"
|
||||
},
|
||||
{"key": "traffic_signals", "description": "Type"},
|
||||
{
|
||||
"key": "traffic_signals:direction",
|
||||
|
||||
Vendored
+8
@@ -2906,6 +2906,14 @@
|
||||
"traffic_sign": {
|
||||
"label": "Traffic Sign"
|
||||
},
|
||||
"traffic_sign/direction": {
|
||||
"label": "Direction",
|
||||
"options": {
|
||||
"forward": "Forward",
|
||||
"backward": "Backward",
|
||||
"both": "Both / All"
|
||||
}
|
||||
},
|
||||
"traffic_signals": {
|
||||
"label": "Type"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user