Add admin boundary preset (#1113)

This commit is contained in:
John Firebaugh
2013-04-01 11:45:20 -07:00
parent c1701c1514
commit ab4cb465d3
6 changed files with 52 additions and 0 deletions

View File

@@ -321,6 +321,9 @@ locale.en = {
"city": "City"
}
},
"admin_level": {
"label": "Admin Level"
},
"aeroway": {
"label": "Type"
},
@@ -745,6 +748,10 @@ locale.en = {
"name": "Wall",
"terms": ""
},
"boundary/administrative": {
"name": "Administrative Boundary",
"terms": ""
},
"building": {
"name": "Building",
"terms": ""
@@ -757,6 +764,10 @@ locale.en = {
"name": "Entrance",
"terms": ""
},
"building/house": {
"name": "House",
"terms": ""
},
"entrance": {
"name": "Entrance",
"terms": ""

View File

@@ -10,6 +10,8 @@ en:
number: "123"
street: Street
city: City
admin_level:
label: Admin Level
aeroway:
label: Type
amenity:
@@ -315,6 +317,9 @@ en:
barrier/wall:
name: Wall
terms: ""
boundary/administrative:
name: Administrative Boundary
terms: ""
building:
name: Building
terms: ""

View File

@@ -24,6 +24,11 @@
}
}
},
"admin_level": {
"key": "admin_level",
"type": "number",
"label": "Admin Level"
},
"aeroway": {
"key": "aeroway",
"type": "combo",

View File

@@ -0,0 +1,5 @@
{
"key": "admin_level",
"type": "number",
"label": "Admin Level"
}

View File

@@ -1006,6 +1006,19 @@
},
"name": "Wall"
},
"boundary/administrative": {
"name": "Administrative Boundary",
"geometry": [
"line",
"area"
],
"tags": {
"boundary": "administrative"
},
"fields": [
"admin_level"
]
},
"building": {
"icon": "warehouse",
"fields": [

View File

@@ -0,0 +1,13 @@
{
"name": "Administrative Boundary",
"geometry": [
"line",
"area"
],
"tags": {
"boundary": "administrative"
},
"fields": [
"admin_level"
]
}