mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
Add connectivity preset (close #7105)
This commit is contained in:
@@ -442,6 +442,9 @@ en:
|
||||
# 'communication:=*'
|
||||
label: Communication Types
|
||||
terms: '[translate with synonyms or related terms for ''Communication Types'', separated by commas]'
|
||||
connectivity:
|
||||
# connectivity=*
|
||||
label: Connectivity
|
||||
construction:
|
||||
# construction=*
|
||||
label: Type
|
||||
@@ -8272,6 +8275,10 @@ en:
|
||||
# 'type=boundary, boundary=administrative'
|
||||
name: Administrative Boundary
|
||||
terms: '<translate with synonyms or related terms for ''Administrative Boundary'', separated by commas>'
|
||||
type/connectivity:
|
||||
# type=connectivity
|
||||
name: Lane Connectivity
|
||||
terms: '<translate with synonyms or related terms for ''Lane Connectivity'', separated by commas>'
|
||||
type/enforcement:
|
||||
# type=enforcement
|
||||
name: Enforcement
|
||||
|
||||
@@ -73,6 +73,7 @@
|
||||
"colour": {"key": "colour", "type": "text", "label": "Color"},
|
||||
"comment": {"key": "comment", "type": "textarea", "label": "Changeset Comment", "placeholder": "Brief description of your contributions (required)"},
|
||||
"communication_multi": {"key": "communication:", "type": "multiCombo", "label": "Communication Types"},
|
||||
"connectivity": {"key": "connectivity", "type": "text", "label": "Connectivity"},
|
||||
"construction": {"key": "construction", "type": "combo", "label": "Type"},
|
||||
"consulate": {"key": "consulate", "type": "combo", "label": "Type"},
|
||||
"consulting": {"key": "consulting", "type": "semiCombo", "label": "Expertise"},
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"key": "connectivity",
|
||||
"type": "text",
|
||||
"label": "Connectivity"
|
||||
}
|
||||
@@ -1225,6 +1225,7 @@
|
||||
"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"},
|
||||
"type/boundary/administrative": {"icon": "iD-boundary", "fields": ["name", "admin_level"], "moreFields": ["gnis/feature_id"], "geometry": ["relation"], "tags": {"type": "boundary", "boundary": "administrative"}, "reference": {"key": "boundary", "value": "administrative"}, "name": "Administrative Boundary"},
|
||||
"type/connectivity": {"icon": "iD-relation", "fields": ["connectivity"], "geometry": ["relation"], "tags": {"type": "connectivity"}, "name": "Lane Connectivity"},
|
||||
"type/enforcement": {"icon": "iD-relation", "fields": ["name", "enforcement"], "geometry": ["relation"], "tags": {"type": "enforcement"}, "name": "Enforcement"},
|
||||
"type/public_transport/stop_area_group": {"icon": "iD-relation", "fields": ["name", "ref", "network", "operator"], "geometry": ["relation"], "tags": {"type": "public_transport", "public_transport": "stop_area_group"}, "reference": {"key": "public_transport", "value": "stop_area_group"}, "name": "Transit Stop Area Group"},
|
||||
"type/restriction": {"icon": "iD-restriction", "fields": ["restriction", "except"], "geometry": ["relation"], "tags": {"type": "restriction"}, "name": "Restriction"},
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"icon": "iD-relation",
|
||||
"fields": [
|
||||
"connectivity"
|
||||
],
|
||||
"geometry": [
|
||||
"relation"
|
||||
],
|
||||
"tags": {
|
||||
"type": "connectivity"
|
||||
},
|
||||
"name": "Lane Connectivity"
|
||||
}
|
||||
@@ -1163,6 +1163,7 @@
|
||||
{"key": "traffic_sign", "value": "maxspeed", "description": "🄿 Speed Limit Sign", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/square-stroked-15.svg"},
|
||||
{"key": "type", "value": "multipolygon", "description": "🄿 Multipolygon (unsearchable)", "object_types": ["area", "relation"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@master/svg/iD-sprite/presets/multipolygon.svg"},
|
||||
{"key": "type", "value": "boundary", "description": "🄿 Boundary", "object_types": ["relation"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@master/svg/iD-sprite/presets/boundary.svg"},
|
||||
{"key": "type", "value": "connectivity", "description": "🄿 Lane Connectivity", "object_types": ["relation"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@master/svg/iD-sprite/presets/relation.svg"},
|
||||
{"key": "type", "value": "enforcement", "description": "🄿 Enforcement", "object_types": ["relation"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@master/svg/iD-sprite/presets/relation.svg"},
|
||||
{"key": "public_transport", "value": "stop_area_group", "description": "🄿 Transit Stop Area Group", "object_types": ["relation"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@master/svg/iD-sprite/presets/relation.svg"},
|
||||
{"key": "type", "value": "restriction", "description": "🄿 Restriction", "object_types": ["relation"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@master/svg/iD-sprite/presets/restriction.svg"},
|
||||
@@ -1342,6 +1343,7 @@
|
||||
{"key": "colour", "description": "🄵 Color"},
|
||||
{"key": "comment", "description": "🄵 Changeset Comment"},
|
||||
{"key": "communication:", "description": "🄵 Communication Types"},
|
||||
{"key": "connectivity", "description": "🄵 Connectivity"},
|
||||
{"key": "construction", "description": "🄵 Type"},
|
||||
{"key": "consulate", "description": "🄵 Type"},
|
||||
{"key": "consulting", "description": "🄵 Expertise"},
|
||||
|
||||
Vendored
+7
@@ -2896,6 +2896,9 @@
|
||||
"label": "Communication Types",
|
||||
"terms": ""
|
||||
},
|
||||
"connectivity": {
|
||||
"label": "Connectivity"
|
||||
},
|
||||
"construction": {
|
||||
"label": "Type"
|
||||
},
|
||||
@@ -9575,6 +9578,10 @@
|
||||
"name": "Administrative Boundary",
|
||||
"terms": ""
|
||||
},
|
||||
"type/connectivity": {
|
||||
"name": "Lane Connectivity",
|
||||
"terms": ""
|
||||
},
|
||||
"type/enforcement": {
|
||||
"name": "Enforcement",
|
||||
"terms": ""
|
||||
|
||||
Reference in New Issue
Block a user