Add highway=corridor and universal level field

For now, `highway=corridor`:
  * styled like highway=pedestrian
  * and matches 'paths' feature filter.

(closes #2687, closes #2218)
This commit is contained in:
Bryan Housel
2015-06-30 22:02:22 -04:00
parent 56a563d345
commit 58cb66f472
11 changed files with 83 additions and 3 deletions
+8
View File
@@ -507,6 +507,9 @@ en:
length:
# 'length=*'
label: Length (Meters)
level:
# 'level=*'
label: Level
levels:
# 'building:levels=*'
label: Levels
@@ -1993,6 +1996,11 @@ en:
# highway=bus_stop
name: Bus Stop
terms: "<translate with synonyms or related terms for 'Bus Stop', separated by commas>"
highway/corridor:
# highway=corridor
name: Indoor Corridor
# 'terms: indoor'
terms: "<translate with synonyms or related terms for 'Indoor Corridor', separated by commas>"
highway/crossing:
# highway=crossing
name: Crossing
+6
View File
@@ -677,6 +677,12 @@
"type": "number",
"label": "Length (Meters)"
},
"level": {
"key": "level",
"type": "combo",
"label": "Level",
"universal": true
},
"levels": {
"key": "building:levels",
"type": "number",
+6
View File
@@ -0,0 +1,6 @@
{
"key": "level",
"type": "combo",
"label": "Level",
"universal": true
}
+19
View File
@@ -3853,6 +3853,24 @@
"terms": [],
"name": "Bus Stop"
},
"highway/corridor": {
"icon": "highway-footway",
"fields": [
"width",
"level",
"access_simple"
],
"geometry": [
"line"
],
"tags": {
"highway": "corridor"
},
"terms": [
"indoor"
],
"name": "Indoor Corridor"
},
"highway/crossing": {
"fields": [
"crossing",
@@ -4056,6 +4074,7 @@
"name": "Path"
},
"highway/pedestrian": {
"icon": "highway-footway",
"fields": [
"surface",
"lit",
@@ -0,0 +1,18 @@
{
"icon": "highway-footway",
"fields": [
"width",
"level",
"access_simple"
],
"geometry": [
"line"
],
"tags": {
"highway": "corridor"
},
"terms": [
"indoor"
],
"name": "Indoor Corridor"
}
+3 -1
View File
@@ -1,4 +1,5 @@
{
"icon": "highway-footway",
"fields": [
"surface",
"lit",
@@ -8,7 +9,8 @@
"access"
],
"geometry": [
"line", "area"
"line",
"area"
],
"tags": {
"highway": "pedestrian"
+4
View File
@@ -879,6 +879,10 @@
"key": "highway",
"value": "bus_stop"
},
{
"key": "highway",
"value": "corridor"
},
{
"key": "highway",
"value": "crossing"