Split "other" preset into geometry specific fallbacks

This way the name and icon can be geometry-specific.
This commit is contained in:
John Firebaugh
2013-05-24 11:14:45 -07:00
parent ab10f8ac38
commit 5868875833
15 changed files with 144 additions and 77 deletions
+15 -6
View File
@@ -370,6 +370,9 @@ en:
amenity/waste_basket:
name: Waste Basket
terms: "rubbish bin,litter bin,trash can,garbage can"
area:
name: Area
terms: ""
barrier:
name: Barrier
terms: ""
@@ -670,6 +673,9 @@ en:
leisure/swimming_pool:
name: Swimming Pool
terms: ""
line:
name: Line
terms: ""
man_made:
name: Man Made
terms: ""
@@ -763,12 +769,6 @@ en:
office:
name: Office
terms: ""
other:
name: Other
terms: ""
other_area:
name: Other
terms: ""
place:
name: Place
terms: ""
@@ -793,6 +793,9 @@ en:
place/village:
name: Village
terms: ""
point:
name: Point
terms: ""
power:
name: Power
terms: ""
@@ -847,6 +850,9 @@ en:
railway/tram:
name: Tram
terms: streetcar
relation:
name: Relation
terms: ""
shop:
name: Shop
terms: ""
@@ -1096,6 +1102,9 @@ en:
type/route/tram:
name: Tram Route
terms: ""
vertex:
name: Other
terms: ""
waterway:
name: Waterway
terms: ""
+4 -4
View File
@@ -8,7 +8,7 @@
"amenity/place_of_worship",
"amenity/cafe",
"amenity/restaurant",
"other_area"
"area"
],
"line": [
"category-road",
@@ -16,7 +16,7 @@
"category-path",
"category-water",
"power/line",
"other"
"line"
],
"point": [
"leisure/park",
@@ -27,7 +27,7 @@
"amenity/bar",
"amenity/bank",
"shop/supermarket",
"other"
"point"
],
"vertex": [
"highway/crossing",
@@ -36,6 +36,6 @@
"highway/turning_circle",
"highway/mini_roundabout",
"highway/motorway_junction",
"other"
"vertex"
]
}
+36 -22
View File
@@ -1035,6 +1035,13 @@
],
"name": "Waste Basket"
},
"area": {
"name": "Area",
"tags": {},
"geometry": [
"area"
]
},
"barrier": {
"geometry": [
"point",
@@ -2511,6 +2518,13 @@
"icon": "swimming",
"name": "Swimming Pool"
},
"line": {
"name": "Line",
"tags": {},
"geometry": [
"line"
]
},
"man_made": {
"fields": [
"man_made"
@@ -2920,28 +2934,6 @@
"terms": [],
"name": "Office"
},
"other": {
"name": "Other",
"tags": {},
"geometry": [
"point",
"vertex",
"line",
"area",
"relation"
],
"fields": []
},
"other_area": {
"name": "Other",
"tags": {
"area": "yes"
},
"geometry": [
"area"
],
"fields": []
},
"place": {
"fields": [
"place"
@@ -3041,6 +3033,13 @@
},
"name": "Village"
},
"point": {
"name": "Point",
"tags": {},
"geometry": [
"point"
]
},
"power": {
"geometry": [
"point",
@@ -3274,6 +3273,14 @@
],
"name": "Tram"
},
"relation": {
"name": "Relation",
"icon": "relation",
"tags": {},
"geometry": [
"relation"
]
},
"shop": {
"icon": "shop",
"fields": [
@@ -4620,6 +4627,13 @@
"name": "Tram Route",
"icon": "route-tram"
},
"vertex": {
"name": "Other",
"tags": {},
"geometry": [
"vertex"
]
},
"waterway": {
"fields": [
"waterway"
+5
View File
@@ -0,0 +1,5 @@
{
"name": "Area",
"tags": {},
"geometry": ["area"]
}
+5
View File
@@ -0,0 +1,5 @@
{
"name": "Line",
"tags": {},
"geometry": ["line"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Other",
"tags": {},
"geometry": ["point", "vertex", "line", "area", "relation"],
"fields": []
}
-8
View File
@@ -1,8 +0,0 @@
{
"name": "Other",
"tags": {
"area": "yes"
},
"geometry": ["area"],
"fields": []
}
+5
View File
@@ -0,0 +1,5 @@
{
"name": "Point",
"tags": {},
"geometry": ["point"]
}
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Relation",
"icon": "relation",
"tags": {},
"geometry": ["relation"]
}
+5
View File
@@ -0,0 +1,5 @@
{
"name": "Other",
"tags": {},
"geometry": ["vertex"]
}