Social Facility preset improvements

(closes #3702)

* Add `social facility` field
* Make sure Social Facility presets have both `social_facility` and `social_facility:for`
* Change `social_facility:for` from radio to combo, because so many choices
This commit is contained in:
Bryan Housel
2016-12-30 23:32:00 -05:00
parent 9033c9d638
commit e9dfa04dd4
11 changed files with 48 additions and 64 deletions

View File

@@ -1062,11 +1062,12 @@ en:
very_horrible: 'Specialized off-road: tractor, ATV'
# smoothness field placeholder
placeholder: 'Thin Rollers, Wheels, Off-Road...'
social_facility:
# social_facility=*
label: Type
social_facility_for:
# 'social_facility:for=*'
label: People served
# social_facility_for field placeholder
placeholder: 'Homeless, Disabled, Child, etc'
label: People Served
source:
# source=*
label: Source

View File

@@ -1409,25 +1409,13 @@
},
"social_facility_for": {
"key": "social_facility:for",
"type": "radio",
"label": "People served",
"placeholder": "Homeless, Disabled, Child, etc",
"options": [
"abused",
"child",
"disabled",
"diseased",
"drug_addicted",
"homeless",
"juvenile",
"mental_health",
"migrant",
"orphan",
"senior",
"underprivileged",
"unemployed",
"victim"
]
"type": "combo",
"label": "People Served"
},
"social_facility": {
"key": "social_facility",
"type": "combo",
"label": "Type"
},
"source": {
"key": "source",

View File

@@ -0,0 +1,5 @@
{
"key": "social_facility",
"type": "combo",
"label": "Type"
}

View File

@@ -1,23 +1,5 @@
{
"key": "social_facility:for",
"type": "radio",
"label": "People served",
"placeholder": "Homeless, Disabled, Child, etc",
"options": [
"abused",
"child",
"disabled",
"diseased",
"drug_addicted",
"homeless",
"juvenile",
"mental_health",
"migrant",
"orphan",
"senior",
"underprivileged",
"unemployed",
"victim"
]
}
"type": "combo",
"label": "People Served"
}

View File

@@ -2109,9 +2109,10 @@
"operator",
"address",
"building_area",
"social_facility",
"social_facility_for",
"opening_hours",
"wheelchair",
"social_facility_for"
"wheelchair"
],
"geometry": [
"point",
@@ -2128,8 +2129,9 @@
"operator",
"address",
"building_area",
"opening_hours",
"social_facility_for"
"social_facility",
"social_facility_for",
"opening_hours"
],
"geometry": [
"point",
@@ -2147,9 +2149,10 @@
"operator",
"address",
"building_area",
"social_facility",
"social_facility_for",
"opening_hours",
"wheelchair",
"social_facility_for"
"wheelchair"
],
"geometry": [
"point",
@@ -2172,9 +2175,10 @@
"operator",
"address",
"building_area",
"social_facility",
"social_facility_for",
"opening_hours",
"wheelchair",
"social_facility_for",
"internet_access",
"internet_access/fee",
"internet_access/ssid"

View File

@@ -5,10 +5,9 @@
"phone",
"opening_hours",
"wheelchair"
],
"geometry": [
"area",
"area",
"point"
],
"tags": {
@@ -16,4 +15,4 @@
},
"terms": ["cemetery","funeral"],
"name": "Crematorium"
}
}

View File

@@ -3,16 +3,16 @@
"operator",
"address",
"building_area",
"social_facility",
"social_facility_for",
"opening_hours",
"wheelchair",
"social_facility_for"
"wheelchair"
],
"geometry": [
"point",
"area"
],
"terms": [
],
"terms": [],
"tags": {
"amenity": "social_facility"
},

View File

@@ -3,8 +3,9 @@
"operator",
"address",
"building_area",
"opening_hours",
"social_facility_for"
"social_facility",
"social_facility_for",
"opening_hours"
],
"geometry": [
"point",

View File

@@ -3,9 +3,10 @@
"operator",
"address",
"building_area",
"social_facility",
"social_facility_for",
"opening_hours",
"wheelchair",
"social_facility_for"
"wheelchair"
],
"geometry": [
"point",

View File

@@ -3,9 +3,10 @@
"operator",
"address",
"building_area",
"social_facility",
"social_facility_for",
"opening_hours",
"wheelchair",
"social_facility_for",
"internet_access",
"internet_access/fee",
"internet_access/ssid"

View File

@@ -1607,8 +1607,10 @@
}
},
"social_facility_for": {
"label": "People served",
"placeholder": "Homeless, Disabled, Child, etc"
"label": "People Served"
},
"social_facility": {
"label": "Type"
},
"source": {
"label": "Source"