mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-30 17:00:35 +02:00
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:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
5
data/presets/fields/social_facility.json
Normal file
5
data/presets/fields/social_facility.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"key": "social_facility",
|
||||
"type": "combo",
|
||||
"label": "Type"
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -5,10 +5,9 @@
|
||||
"phone",
|
||||
"opening_hours",
|
||||
"wheelchair"
|
||||
|
||||
],
|
||||
"geometry": [
|
||||
"area",
|
||||
"area",
|
||||
"point"
|
||||
],
|
||||
"tags": {
|
||||
@@ -16,4 +15,4 @@
|
||||
},
|
||||
"terms": ["cemetery","funeral"],
|
||||
"name": "Crematorium"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
@@ -3,8 +3,9 @@
|
||||
"operator",
|
||||
"address",
|
||||
"building_area",
|
||||
"opening_hours",
|
||||
"social_facility_for"
|
||||
"social_facility",
|
||||
"social_facility_for",
|
||||
"opening_hours"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
|
||||
@@ -3,9 +3,10 @@
|
||||
"operator",
|
||||
"address",
|
||||
"building_area",
|
||||
"social_facility",
|
||||
"social_facility_for",
|
||||
"opening_hours",
|
||||
"wheelchair",
|
||||
"social_facility_for"
|
||||
"wheelchair"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
|
||||
@@ -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"
|
||||
|
||||
6
dist/locales/en.json
vendored
6
dist/locales/en.json
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user