Add 'width', 'length', 'lit' for appropriate presets (cycleways, sidewalks, sports pitch, etc)

This commit is contained in:
Bryan Housel
2014-04-30 16:29:48 -04:00
parent b55bb0e55d
commit 11f3336024
27 changed files with 146 additions and 54 deletions
+4
View File
@@ -195,6 +195,8 @@ en:
label: Layer
leisure:
label: Type
length:
label: Length (Meters)
levels:
label: Levels
placeholder: "2, 4, 6..."
@@ -348,6 +350,8 @@ en:
label: Type
wheelchair:
label: Wheelchair Access
width:
label: Width (Meters)
wikipedia:
label: Wikipedia
wood:
+10
View File
@@ -456,6 +456,11 @@
"type": "typeCombo",
"label": "Type"
},
"length": {
"key": "length",
"type": "number",
"label": "Length (Meters)"
},
"levels": {
"key": "building:levels",
"type": "number",
@@ -906,6 +911,11 @@
"universal": true,
"label": "Wheelchair Access"
},
"width": {
"key": "width",
"type": "number",
"label": "Width (Meters)"
},
"wikipedia": {
"key": "wikipedia",
"type": "wikipedia",
+5
View File
@@ -0,0 +1,5 @@
{
"key": "length",
"type": "number",
"label": "Length (Meters)"
}
+5
View File
@@ -0,0 +1,5 @@
{
"key": "width",
"type": "number",
"label": "Width (Meters)"
}
+53 -22
View File
@@ -279,7 +279,9 @@
],
"fields": [
"ref",
"surface"
"surface",
"length",
"width"
],
"tags": {
"aeroway": "runway"
@@ -3479,6 +3481,8 @@
"fields": [
"surface",
"lit",
"width",
"structure",
"access"
],
"geometry": [
@@ -3614,9 +3618,10 @@
},
"highway/bridleway": {
"fields": [
"access",
"surface",
"structure"
"width",
"structure",
"access"
],
"icon": "highway-bridleway",
"geometry": [
@@ -3673,9 +3678,10 @@
"fields": [
"surface",
"lit",
"width",
"oneway",
"structure",
"access",
"oneway"
"access"
],
"geometry": [
"line"
@@ -3689,9 +3695,11 @@
"highway/footway": {
"icon": "highway-footway",
"fields": [
"surface",
"lit",
"width",
"structure",
"access",
"surface"
"access"
],
"geometry": [
"line",
@@ -3815,10 +3823,11 @@
"highway/path": {
"icon": "highway-path",
"fields": [
"surface",
"width",
"structure",
"access",
"sac_scale",
"surface",
"incline",
"trail_visibility",
"ref"
@@ -3834,9 +3843,12 @@
},
"highway/pedestrian": {
"fields": [
"access",
"surface",
"lit",
"width",
"oneway",
"surface"
"structure",
"access"
],
"geometry": [
"line",
@@ -4103,8 +4115,10 @@
},
"highway/steps": {
"fields": [
"access",
"surface"
"surface",
"lit",
"width",
"access"
],
"icon": "highway-steps",
"geometry": [
@@ -4819,7 +4833,8 @@
"icon": "pitch",
"fields": [
"sport",
"surface"
"surface",
"lit"
],
"geometry": [
"point",
@@ -4834,7 +4849,8 @@
"leisure/pitch/american_football": {
"icon": "america-football",
"fields": [
"surface"
"surface",
"lit"
],
"geometry": [
"point",
@@ -4849,6 +4865,9 @@
},
"leisure/pitch/baseball": {
"icon": "baseball",
"fields": [
"lit"
],
"geometry": [
"point",
"area"
@@ -4864,7 +4883,8 @@
"icon": "basketball",
"fields": [
"surface",
"hoops"
"hoops",
"lit"
],
"geometry": [
"point",
@@ -4880,7 +4900,8 @@
"leisure/pitch/skateboard": {
"icon": "pitch",
"fields": [
"surface"
"surface",
"lit"
],
"geometry": [
"point",
@@ -4896,7 +4917,8 @@
"leisure/pitch/soccer": {
"icon": "soccer",
"fields": [
"surface"
"surface",
"lit"
],
"geometry": [
"point",
@@ -4912,7 +4934,8 @@
"leisure/pitch/tennis": {
"icon": "tennis",
"fields": [
"surface"
"surface",
"lit"
],
"geometry": [
"point",
@@ -4928,7 +4951,8 @@
"leisure/pitch/volleyball": {
"icon": "pitch",
"fields": [
"surface"
"surface",
"lit"
],
"geometry": [
"point",
@@ -5011,7 +5035,9 @@
"leisure/track": {
"icon": "pitch",
"fields": [
"surface"
"surface",
"lit",
"width"
],
"geometry": [
"point",
@@ -8132,6 +8158,9 @@
},
"waterway/canal": {
"icon": "waterway-canal",
"fields": [
"width"
],
"geometry": [
"line"
],
@@ -8182,7 +8211,8 @@
"waterway/river": {
"icon": "waterway-river",
"fields": [
"tunnel"
"tunnel",
"width"
],
"geometry": [
"line"
@@ -8220,7 +8250,8 @@
"waterway/stream": {
"icon": "waterway-stream",
"fields": [
"tunnel"
"tunnel",
"width"
],
"geometry": [
"line"
+3 -1
View File
@@ -8,7 +8,9 @@
],
"fields": [
"ref",
"surface"
"surface",
"length",
"width"
],
"tags": {
"aeroway": "runway"
+3 -1
View File
@@ -2,6 +2,8 @@
"fields": [
"surface",
"lit",
"width",
"structure",
"access"
],
"geometry": [
@@ -13,4 +15,4 @@
},
"terms": [],
"name": "Sidewalk"
}
}
+3 -2
View File
@@ -1,8 +1,9 @@
{
"fields": [
"access",
"surface",
"structure"
"width",
"structure",
"access"
],
"icon": "highway-bridleway",
"geometry": [
+4 -3
View File
@@ -3,9 +3,10 @@
"fields": [
"surface",
"lit",
"width",
"oneway",
"structure",
"access",
"oneway"
"access"
],
"geometry": [
"line"
@@ -15,4 +16,4 @@
},
"terms": [],
"name": "Cycle Path"
}
}
+4 -2
View File
@@ -1,9 +1,11 @@
{
"icon": "highway-footway",
"fields": [
"surface",
"lit",
"width",
"structure",
"access",
"surface"
"access"
],
"geometry": [
"line", "area"
+3 -2
View File
@@ -1,10 +1,11 @@
{
"icon": "highway-path",
"fields": [
"surface",
"width",
"structure",
"access",
"sac_scale",
"surface",
"incline",
"trail_visibility",
"ref"
@@ -17,4 +18,4 @@
},
"terms": [],
"name": "Path"
}
}
+5 -2
View File
@@ -1,8 +1,11 @@
{
"fields": [
"access",
"surface",
"lit",
"width",
"oneway",
"surface"
"structure",
"access"
],
"geometry": [
"line", "area"
+4 -2
View File
@@ -1,7 +1,9 @@
{
"fields": [
"access",
"surface"
"surface",
"lit",
"width",
"access"
],
"icon": "highway-steps",
"geometry": [
+3 -2
View File
@@ -2,7 +2,8 @@
"icon": "pitch",
"fields": [
"sport",
"surface"
"surface",
"lit"
],
"geometry": [
"point",
@@ -13,4 +14,4 @@
},
"terms": [],
"name": "Sport Pitch"
}
}
@@ -1,7 +1,8 @@
{
"icon": "america-football",
"fields": [
"surface"
"surface",
"lit"
],
"geometry": [
"point",
@@ -13,4 +14,4 @@
},
"terms": [],
"name": "American Football Field"
}
}
@@ -1,5 +1,8 @@
{
"icon": "baseball",
"fields": [
"lit"
],
"geometry": [
"point",
"area"
@@ -10,4 +13,4 @@
},
"terms": [],
"name": "Baseball Diamond"
}
}
@@ -2,7 +2,8 @@
"icon": "basketball",
"fields": [
"surface",
"hoops"
"hoops",
"lit"
],
"geometry": [
"point",
@@ -1,7 +1,8 @@
{
"icon": "pitch",
"fields": [
"surface"
"surface",
"lit"
],
"geometry": [
"point",
@@ -1,7 +1,8 @@
{
"icon": "soccer",
"fields": [
"surface"
"surface",
"lit"
],
"geometry": [
"point",
@@ -13,4 +14,4 @@
},
"terms": [],
"name": "Soccer Field"
}
}
@@ -1,7 +1,8 @@
{
"icon": "tennis",
"fields": [
"surface"
"surface",
"lit"
],
"geometry": [
"point",
@@ -13,4 +14,4 @@
},
"terms": [],
"name": "Tennis Court"
}
}
@@ -1,7 +1,8 @@
{
"icon": "pitch",
"fields": [
"surface"
"surface",
"lit"
],
"geometry": [
"point",
+4 -2
View File
@@ -1,7 +1,9 @@
{
"icon": "pitch",
"fields": [
"surface"
"surface",
"lit",
"width"
],
"geometry": [
"point",
@@ -12,4 +14,4 @@
"leisure": "track"
},
"name": "Race Track"
}
}
@@ -15,4 +15,4 @@
"public_transport": "platform"
},
"name": "Platform"
}
}
+3
View File
@@ -1,5 +1,8 @@
{
"icon": "waterway-canal",
"fields": [
"width"
],
"geometry": [
"line"
],
+2 -1
View File
@@ -1,7 +1,8 @@
{
"icon": "waterway-river",
"fields": [
"tunnel"
"tunnel",
"width"
],
"geometry": [
"line"
+2 -1
View File
@@ -1,7 +1,8 @@
{
"icon": "waterway-stream",
"fields": [
"tunnel"
"tunnel",
"width"
],
"geometry": [
"line"
+6
View File
@@ -679,6 +679,9 @@
"leisure": {
"label": "Type"
},
"length": {
"label": "Length (Meters)"
},
"levels": {
"label": "Levels",
"placeholder": "2, 4, 6..."
@@ -900,6 +903,9 @@
"wheelchair": {
"label": "Wheelchair Access"
},
"width": {
"label": "Width (Meters)"
},
"wikipedia": {
"label": "Wikipedia"
},