From 23f9431bda97fa2e1846b9110389ca301958d1e5 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Wed, 1 Mar 2017 22:50:22 -0500 Subject: [PATCH] Add service_times field to all amenity=place_of_worship presets (re: #3439) --- data/presets.yaml | 3 + data/presets/fields.json | 5 ++ data/presets/presets.json | 87 ++++++++++++------- .../presets/amenity/place_of_worship.json | 3 +- .../amenity/place_of_worship/buddhist.json | 3 +- .../amenity/place_of_worship/christian.json | 3 +- .../amenity/place_of_worship/jewish.json | 3 +- .../amenity/place_of_worship/muslim.json | 3 +- dist/locales/en.json | 3 + 9 files changed, 79 insertions(+), 34 deletions(-) diff --git a/data/presets.yaml b/data/presets.yaml index cd7dc829b..9df896c55 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -1057,6 +1057,9 @@ en: spur: Spur # service=yard yard: Yard + service_times: + # service_times=* + label: Service Times shelter: # shelter=* label: Shelter diff --git a/data/presets/fields.json b/data/presets/fields.json index abd337d2c..7b09f6803 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -1388,6 +1388,11 @@ } } }, + "service_times": { + "key": "service_times", + "type": "text", + "label": "Service Times" + }, "service": { "key": "service", "type": "combo", diff --git a/data/presets/presets.json b/data/presets/presets.json index f0f34b113..549b1e567 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -1658,7 +1658,8 @@ "religion", "denomination", "address", - "building_area" + "building_area", + "service_times" ], "geometry": [ "point", @@ -1699,7 +1700,8 @@ "fields": [ "denomination", "building_area", - "address" + "address", + "service_times" ], "geometry": [ "point", @@ -1725,7 +1727,8 @@ "fields": [ "denomination", "building_area", - "address" + "address", + "service_times" ], "geometry": [ "point", @@ -1765,7 +1768,8 @@ "fields": [ "denomination", "building_area", - "address" + "address", + "service_times" ], "geometry": [ "point", @@ -1785,7 +1789,8 @@ "fields": [ "denomination", "building_area", - "address" + "address", + "service_times" ], "geometry": [ "point", @@ -9898,7 +9903,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "geometry": [ "point", @@ -37541,7 +37547,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37561,7 +37568,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37581,7 +37589,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37601,7 +37610,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37621,7 +37631,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37641,7 +37652,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37661,7 +37673,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37681,7 +37694,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37701,7 +37715,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37721,7 +37736,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37741,7 +37757,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37761,7 +37778,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37781,7 +37799,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37801,7 +37820,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37821,7 +37841,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37841,7 +37862,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37861,7 +37883,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37881,7 +37904,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37901,7 +37925,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37921,7 +37946,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37941,7 +37967,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37961,7 +37988,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, @@ -37981,7 +38009,8 @@ "address", "building_area", "opening_hours", - "second_hand" + "second_hand", + "service/vehicle" ], "suggestion": true }, diff --git a/data/presets/presets/amenity/place_of_worship.json b/data/presets/presets/amenity/place_of_worship.json index b0ed988f0..1267dd81d 100644 --- a/data/presets/presets/amenity/place_of_worship.json +++ b/data/presets/presets/amenity/place_of_worship.json @@ -4,7 +4,8 @@ "religion", "denomination", "address", - "building_area" + "building_area", + "service_times" ], "geometry": [ "point", diff --git a/data/presets/presets/amenity/place_of_worship/buddhist.json b/data/presets/presets/amenity/place_of_worship/buddhist.json index 3cfea5548..a5a68bc18 100644 --- a/data/presets/presets/amenity/place_of_worship/buddhist.json +++ b/data/presets/presets/amenity/place_of_worship/buddhist.json @@ -3,7 +3,8 @@ "fields": [ "denomination", "building_area", - "address" + "address", + "service_times" ], "geometry": [ "point", diff --git a/data/presets/presets/amenity/place_of_worship/christian.json b/data/presets/presets/amenity/place_of_worship/christian.json index 8f10af709..964530aaf 100644 --- a/data/presets/presets/amenity/place_of_worship/christian.json +++ b/data/presets/presets/amenity/place_of_worship/christian.json @@ -3,7 +3,8 @@ "fields": [ "denomination", "building_area", - "address" + "address", + "service_times" ], "geometry": [ "point", diff --git a/data/presets/presets/amenity/place_of_worship/jewish.json b/data/presets/presets/amenity/place_of_worship/jewish.json index 4a031cc7e..5b5e9b4a6 100644 --- a/data/presets/presets/amenity/place_of_worship/jewish.json +++ b/data/presets/presets/amenity/place_of_worship/jewish.json @@ -3,7 +3,8 @@ "fields": [ "denomination", "building_area", - "address" + "address", + "service_times" ], "geometry": [ "point", diff --git a/data/presets/presets/amenity/place_of_worship/muslim.json b/data/presets/presets/amenity/place_of_worship/muslim.json index a677176e2..d24a8ce71 100644 --- a/data/presets/presets/amenity/place_of_worship/muslim.json +++ b/data/presets/presets/amenity/place_of_worship/muslim.json @@ -3,7 +3,8 @@ "fields": [ "denomination", "building_area", - "address" + "address", + "service_times" ], "geometry": [ "point", diff --git a/dist/locales/en.json b/dist/locales/en.json index 097f8bfa8..d323fb668 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -1612,6 +1612,9 @@ "crossover": "Crossover" } }, + "service_times": { + "label": "Service Times" + }, "service": { "label": "Type" },