Use restriction preset icons

This commit is contained in:
John Firebaugh
2014-05-16 13:43:13 -07:00
parent 15fb547bcc
commit f74f6ad54a
17 changed files with 170 additions and 20 deletions
File diff suppressed because one or more lines are too long
+13 -2
View File
@@ -11,6 +11,8 @@ en:
name: Path
"category-rail":
name: Rail
"category-restriction":
name: Restriction
"category-road":
name: Road
"category-route":
@@ -1802,8 +1804,17 @@ en:
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>"
name: "No U-turn"
terms: "<translate with synonyms or related terms for 'No U-turn', separated by commas>"
type/restriction/only_left_turn:
name: Left Turn Only
terms: "<translate with synonyms or related terms for 'Left Turn Only', separated by commas>"
type/restriction/only_right_turn:
name: Right Turn Only
terms: "<translate with synonyms or related terms for 'Right Turn Only', separated by commas>"
type/restriction/only_straight_ahead:
name: No Turns
terms: "<translate with synonyms or related terms for 'No Turns', separated by commas>"
type/route:
name: Route
terms: "<translate with synonyms or related terms for 'Route', separated by commas>"
+15
View File
@@ -68,6 +68,21 @@
"railway/abandoned"
]
},
"category-restriction": {
"geometry": "relation",
"name": "Restriction",
"icon": "restriction",
"members": [
"type/restriction/no_left_turn",
"type/restriction/no_right_turn",
"type/restriction/no_straight_on",
"type/restriction/no_u_turn",
"type/restriction/only_left_turn",
"type/restriction/only_right_turn",
"type/restriction/only_straight_ahead",
"type/restriction"
]
},
"category-road": {
"geometry": "line",
"name": "Road",
+15
View File
@@ -0,0 +1,15 @@
{
"geometry": "relation",
"name": "Restriction",
"icon": "restriction",
"members": [
"type/restriction/no_left_turn",
"type/restriction/no_right_turn",
"type/restriction/no_straight_on",
"type/restriction/no_u_turn",
"type/restriction/only_left_turn",
"type/restriction/only_right_turn",
"type/restriction/only_straight_ahead",
"type/restriction"
]
}
+1 -1
View File
@@ -40,8 +40,8 @@
],
"relation": [
"category-route",
"category-restriction",
"type/boundary",
"type/restriction",
"type/multipolygon",
"relation"
]
+47 -5
View File
@@ -7980,7 +7980,7 @@
"fields": [
"except"
],
"icon": "restriction"
"icon": "restriction-no-left-turn"
},
"type/restriction/no_right_turn": {
"name": "No Right Turn",
@@ -7994,7 +7994,7 @@
"fields": [
"except"
],
"icon": "restriction"
"icon": "restriction-no-right-turn"
},
"type/restriction/no_straight_on": {
"name": "No Straight On",
@@ -8008,10 +8008,10 @@
"fields": [
"except"
],
"icon": "restriction"
"icon": "restriction-no-straight-on"
},
"type/restriction/no_u_turn": {
"name": "No U Turn",
"name": "No U-turn",
"geometry": [
"relation"
],
@@ -8022,7 +8022,49 @@
"fields": [
"except"
],
"icon": "restriction"
"icon": "restriction-no-u-turn"
},
"type/restriction/only_left_turn": {
"name": "Left Turn Only",
"geometry": [
"relation"
],
"tags": {
"type": "restriction",
"restriction": "only_left_turn"
},
"fields": [
"except"
],
"icon": "restriction-only-left-turn"
},
"type/restriction/only_right_turn": {
"name": "Right Turn Only",
"geometry": [
"relation"
],
"tags": {
"type": "restriction",
"restriction": "only_right_turn"
},
"fields": [
"except"
],
"icon": "restriction-only-right-turn"
},
"type/restriction/only_straight_ahead": {
"name": "No Turns",
"geometry": [
"relation"
],
"tags": {
"type": "restriction",
"restriction": "only_straight_ahead"
},
"fields": [
"except"
],
"icon": "restriction-only-straight-ahead"
},
"type/route": {
"geometry": [
@@ -10,5 +10,5 @@
"fields": [
"except"
],
"icon": "restriction"
"icon": "restriction-no-left-turn"
}
@@ -10,5 +10,5 @@
"fields": [
"except"
],
"icon": "restriction"
"icon": "restriction-no-right-turn"
}
@@ -10,5 +10,5 @@
"fields": [
"except"
],
"icon": "restriction"
"icon": "restriction-no-straight-on"
}
@@ -1,5 +1,5 @@
{
"name": "No U Turn",
"name": "No U-turn",
"geometry": [
"relation"
],
@@ -10,5 +10,5 @@
"fields": [
"except"
],
"icon": "restriction"
"icon": "restriction-no-u-turn"
}
@@ -0,0 +1,14 @@
{
"name": "Left Turn Only",
"geometry": [
"relation"
],
"tags": {
"type": "restriction",
"restriction": "only_left_turn"
},
"fields": [
"except"
],
"icon": "restriction-only-left-turn"
}
@@ -0,0 +1,14 @@
{
"name": "Right Turn Only",
"geometry": [
"relation"
],
"tags": {
"type": "restriction",
"restriction": "only_right_turn"
},
"fields": [
"except"
],
"icon": "restriction-only-right-turn"
}
@@ -0,0 +1,14 @@
{
"name": "No Turns",
"geometry": [
"relation"
],
"tags": {
"type": "restriction",
"restriction": "only_straight_ahead"
},
"fields": [
"except"
],
"icon": "restriction-only-straight-ahead"
}
+8 -1
View File
@@ -14,5 +14,12 @@
"route-ferry": [740, 25],
"route-power": [800, 25],
"route-pipeline": [860, 25],
"route-master": [920, 25]
"route-master": [920, 25],
"restriction-no-straight-on": [980, 25],
"restriction-no-u-turn": [1040, 25],
"restriction-no-left-turn": [1100, 25],
"restriction-no-right-turn": [1160, 25],
"restriction-only-straight-ahead": [1220, 25],
"restriction-only-left-turn": [1280, 25],
"restriction-only-right-turn": [1340, 25]
}