mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-28 10:51:45 +02:00
Add turn restriction presets
This commit is contained in:
@@ -138,6 +138,8 @@ en:
|
||||
label: Emergency
|
||||
entrance:
|
||||
label: Type
|
||||
except:
|
||||
label: Exceptions
|
||||
fax:
|
||||
label: Fax
|
||||
placeholder: +31 42 123 4567
|
||||
@@ -1788,6 +1790,18 @@ en:
|
||||
type/restriction:
|
||||
name: Restriction
|
||||
terms: "<translate with synonyms or related terms for 'Restriction', separated by commas>"
|
||||
type/restriction/no_left_turn:
|
||||
name: No Left Turn
|
||||
terms: "<translate with synonyms or related terms for 'No Left Turn', separated by commas>"
|
||||
type/restriction/no_right_turn:
|
||||
name: No Right Turn
|
||||
terms: "<translate with synonyms or related terms for 'No Right Turn', separated by commas>"
|
||||
type/restriction/no_straight_on:
|
||||
name: No Straight On
|
||||
terms: "<translate with synonyms or related terms for 'No Straight On', separated by commas>"
|
||||
type/restriction/no_u_turn:
|
||||
name: No U Turn
|
||||
terms: "<translate with synonyms or related terms for 'No U Turn', separated by commas>"
|
||||
type/route:
|
||||
name: Route
|
||||
terms: "<translate with synonyms or related terms for 'Route', separated by commas>"
|
||||
|
||||
@@ -320,6 +320,11 @@
|
||||
"type": "typeCombo",
|
||||
"label": "Type"
|
||||
},
|
||||
"except": {
|
||||
"key": "except",
|
||||
"type": "combo",
|
||||
"label": "Exceptions"
|
||||
},
|
||||
"fax": {
|
||||
"key": "fax",
|
||||
"type": "tel",
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"key": "except",
|
||||
"type": "combo",
|
||||
"label": "Exceptions"
|
||||
}
|
||||
@@ -7964,9 +7964,66 @@
|
||||
"name": "Restriction",
|
||||
"icon": "restriction",
|
||||
"fields": [
|
||||
"restriction"
|
||||
"restriction",
|
||||
"except"
|
||||
]
|
||||
},
|
||||
"type/restriction/no_left_turn": {
|
||||
"name": "No Left Turn",
|
||||
"geometry": [
|
||||
"relation"
|
||||
],
|
||||
"tags": {
|
||||
"type": "restriction",
|
||||
"restriction": "no_left_turn"
|
||||
},
|
||||
"fields": [
|
||||
"except"
|
||||
],
|
||||
"icon": "restriction"
|
||||
},
|
||||
"type/restriction/no_right_turn": {
|
||||
"name": "No Right Turn",
|
||||
"geometry": [
|
||||
"relation"
|
||||
],
|
||||
"tags": {
|
||||
"type": "restriction",
|
||||
"restriction": "no_right_turn"
|
||||
},
|
||||
"fields": [
|
||||
"except"
|
||||
],
|
||||
"icon": "restriction"
|
||||
},
|
||||
"type/restriction/no_straight_on": {
|
||||
"name": "No Straight On",
|
||||
"geometry": [
|
||||
"relation"
|
||||
],
|
||||
"tags": {
|
||||
"type": "restriction",
|
||||
"restriction": "no_straight_on"
|
||||
},
|
||||
"fields": [
|
||||
"except"
|
||||
],
|
||||
"icon": "restriction"
|
||||
},
|
||||
"type/restriction/no_u_turn": {
|
||||
"name": "No U Turn",
|
||||
"geometry": [
|
||||
"relation"
|
||||
],
|
||||
"tags": {
|
||||
"type": "restriction",
|
||||
"restriction": "no_u_turn"
|
||||
},
|
||||
"fields": [
|
||||
"except"
|
||||
],
|
||||
"icon": "restriction"
|
||||
},
|
||||
"type/route": {
|
||||
"geometry": [
|
||||
"relation"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"name": "Restriction",
|
||||
"icon": "restriction",
|
||||
"fields": [
|
||||
"restriction"
|
||||
"restriction",
|
||||
"except"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "No Left Turn",
|
||||
"geometry": [
|
||||
"relation"
|
||||
],
|
||||
"tags": {
|
||||
"type": "restriction",
|
||||
"restriction": "no_left_turn"
|
||||
},
|
||||
"fields": [
|
||||
"except"
|
||||
],
|
||||
"icon": "restriction"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "No Right Turn",
|
||||
"geometry": [
|
||||
"relation"
|
||||
],
|
||||
"tags": {
|
||||
"type": "restriction",
|
||||
"restriction": "no_right_turn"
|
||||
},
|
||||
"fields": [
|
||||
"except"
|
||||
],
|
||||
"icon": "restriction"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "No Straight On",
|
||||
"geometry": [
|
||||
"relation"
|
||||
],
|
||||
"tags": {
|
||||
"type": "restriction",
|
||||
"restriction": "no_straight_on"
|
||||
},
|
||||
"fields": [
|
||||
"except"
|
||||
],
|
||||
"icon": "restriction"
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "No U Turn",
|
||||
"geometry": [
|
||||
"relation"
|
||||
],
|
||||
"tags": {
|
||||
"type": "restriction",
|
||||
"restriction": "no_u_turn"
|
||||
},
|
||||
"fields": [
|
||||
"except"
|
||||
],
|
||||
"icon": "restriction"
|
||||
}
|
||||
Vendored
+19
@@ -598,6 +598,9 @@
|
||||
"entrance": {
|
||||
"label": "Type"
|
||||
},
|
||||
"except": {
|
||||
"label": "Exceptions"
|
||||
},
|
||||
"fax": {
|
||||
"label": "Fax",
|
||||
"placeholder": "+31 42 123 4567"
|
||||
@@ -2825,6 +2828,22 @@
|
||||
"name": "Restriction",
|
||||
"terms": ""
|
||||
},
|
||||
"type/restriction/no_left_turn": {
|
||||
"name": "No Left Turn",
|
||||
"terms": ""
|
||||
},
|
||||
"type/restriction/no_right_turn": {
|
||||
"name": "No Right Turn",
|
||||
"terms": ""
|
||||
},
|
||||
"type/restriction/no_straight_on": {
|
||||
"name": "No Straight On",
|
||||
"terms": ""
|
||||
},
|
||||
"type/restriction/no_u_turn": {
|
||||
"name": "No U Turn",
|
||||
"terms": ""
|
||||
},
|
||||
"type/route": {
|
||||
"name": "Route",
|
||||
"terms": ""
|
||||
|
||||
Reference in New Issue
Block a user