From 5014680cdefc07cf573635d4a0f6e88ab15dcea7 Mon Sep 17 00:00:00 2001 From: UKChris-osm <59393694+UKChris-osm@users.noreply.github.com> Date: Wed, 1 Mar 2023 21:30:42 +0000 Subject: [PATCH] UK specific Post Box tagging. (#804) adding fields for tags: post_box:type and royal_cypher --- data/fields/post_box/type.json | 14 ++++++++++ data/fields/royal_cypher.json | 20 ++++++++++++++ data/presets/amenity/post_box.json | 5 ++++ .../presets/amenity/post_box/post_box-GB.json | 27 +++++++++++++++++++ 4 files changed, 66 insertions(+) create mode 100644 data/fields/post_box/type.json create mode 100644 data/fields/royal_cypher.json create mode 100644 data/presets/amenity/post_box/post_box-GB.json diff --git a/data/fields/post_box/type.json b/data/fields/post_box/type.json new file mode 100644 index 00000000..3d2eaf84 --- /dev/null +++ b/data/fields/post_box/type.json @@ -0,0 +1,14 @@ +{ + "key": "post_box:type", + "type": "typeCombo", + "label": "Type", + "strings": { + "options": { + "pillar": "Pillar", + "lamp": "Lamp", + "wall": "Wall" + } + }, + "autoSuggestions": false, + "customValues": false +} diff --git a/data/fields/royal_cypher.json b/data/fields/royal_cypher.json new file mode 100644 index 00000000..b546596f --- /dev/null +++ b/data/fields/royal_cypher.json @@ -0,0 +1,20 @@ +{ + "key": "royal_cypher", + "type": "typeCombo", + "label": "Royal Cypher", + "strings": { + "options": { + "VR": "VR (Victoria)", + "EVIIR": "EVIIR (Edward VII)", + "EVIIIR": "EVIIIR (Edward VIII)", + "GR": "GR (George V)", + "GVIR": "GVIR (George VI)", + "EIIR": "EIIR (Elizabeth II)", + "CIIIR": "CIIIR (Charles III)", + "scottish_crown": "Scottish Crown", + "no": "No" + } + }, + "autoSuggestions": false, + "customValues": false +} diff --git a/data/presets/amenity/post_box.json b/data/presets/amenity/post_box.json index 4818b35c..24be6135 100644 --- a/data/presets/amenity/post_box.json +++ b/data/presets/amenity/post_box.json @@ -44,5 +44,10 @@ "postal box", "postbox" ], + "locationSet": { + "exclude": [ + "gb" + ] + }, "name": "Mail Drop Box" } diff --git a/data/presets/amenity/post_box/post_box-GB.json b/data/presets/amenity/post_box/post_box-GB.json new file mode 100644 index 00000000..77a774f0 --- /dev/null +++ b/data/presets/amenity/post_box/post_box-GB.json @@ -0,0 +1,27 @@ +{ + "icon": "temaki-post_box", + "locationSet": { + "include": [ + "gb" + ] + }, + "fields": [ + "operator", + "collection_times", + "post_box/type", + "royal_cypher", + "ref" + ], + "moreFields": [ + "{amenity/post_box}", + "drive_through" + ], + "geometry": [ + "point", + "vertex" + ], + "tags": { + "amenity": "post_box" + }, + "name": "{amenity/post_box}" +}