Add turn restriction presets

This commit is contained in:
John Firebaugh
2014-05-09 16:39:09 -07:00
parent 173d379316
commit 93758b7ab9
10 changed files with 159 additions and 2 deletions
+14
View File
@@ -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>"
+5
View File
@@ -320,6 +320,11 @@
"type": "typeCombo",
"label": "Type"
},
"except": {
"key": "except",
"type": "combo",
"label": "Exceptions"
},
"fax": {
"key": "fax",
"type": "tel",
+5
View File
@@ -0,0 +1,5 @@
{
"key": "except",
"type": "combo",
"label": "Exceptions"
}
+58 -1
View File
@@ -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"
+2 -1
View File
@@ -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"
}
+19
View File
@@ -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": ""