From 10a6719ea245f3153c687e6d911b5dbb0c53a6fa Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Wed, 9 Nov 2016 11:14:22 +0100 Subject: [PATCH] add presets for tourism=information subtags * guidepost * board * map * office --- data/presets.yaml | 25 ++++++++ data/presets/fields.json | 15 +++++ data/presets/fields/board_type.json | 5 ++ data/presets/fields/map_size.json | 5 ++ data/presets/fields/map_type.json | 5 ++ data/presets/presets.json | 63 +++++++++++++++++++ .../presets/tourism/information/board.json | 15 +++++ .../tourism/information/guidepost.json | 15 +++++ .../presets/tourism/information/map.json | 16 +++++ .../presets/tourism/information/office.json | 17 +++++ data/taginfo.json | 16 +++++ dist/locales/en.json | 25 ++++++++ 12 files changed, 222 insertions(+) create mode 100644 data/presets/fields/board_type.json create mode 100644 data/presets/fields/map_size.json create mode 100644 data/presets/fields/map_type.json create mode 100644 data/presets/presets/tourism/information/board.json create mode 100644 data/presets/presets/tourism/information/guidepost.json create mode 100644 data/presets/presets/tourism/information/map.json create mode 100644 data/presets/presets/tourism/information/office.json diff --git a/data/presets.yaml b/data/presets.yaml index 7aa559841..93d04ca5f 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -191,6 +191,9 @@ en: stemcells: stem cell samples # 'blood:=whole' whole: whole blood + board_type: + # board_type=* + label: Type boundary: # boundary=* label: Type @@ -583,6 +586,12 @@ en: man_made: # man_made=* label: Type + map_size: + # map_size=* + label: Coverage + map_type: + # map_type=* + label: Type maxspeed: # maxspeed=* label: Speed Limit @@ -3882,6 +3891,22 @@ en: # tourism=information name: Information terms: '' + tourism/information/board: + # 'tourism=information, information=board' + name: Information Board + terms: '' + tourism/information/guidepost: + # 'tourism=information, information=guidepost' + name: Guidepost + terms: '' + tourism/information/map: + # 'tourism=information, information=map' + name: Map + terms: '' + tourism/information/office: + # 'tourism=information, information=office' + name: Tourist Information Office + terms: '' tourism/motel: # tourism=motel name: Motel diff --git a/data/presets/fields.json b/data/presets/fields.json index 561340768..d9651315c 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -256,6 +256,11 @@ } } }, + "board_type": { + "key": "board_type", + "type": "typeCombo", + "label": "Type" + }, "boundary": { "key": "boundary", "type": "combo", @@ -806,6 +811,16 @@ "type": "typeCombo", "label": "Type" }, + "map_size": { + "key": "map_size", + "type": "typeCombo", + "label": "Coverage" + }, + "map_type": { + "key": "map_type", + "type": "typeCombo", + "label": "Type" + }, "maxspeed": { "key": "maxspeed", "type": "maxspeed", diff --git a/data/presets/fields/board_type.json b/data/presets/fields/board_type.json new file mode 100644 index 000000000..f54b6b484 --- /dev/null +++ b/data/presets/fields/board_type.json @@ -0,0 +1,5 @@ +{ + "key": "board_type", + "type": "typeCombo", + "label": "Type" +} diff --git a/data/presets/fields/map_size.json b/data/presets/fields/map_size.json new file mode 100644 index 000000000..418fd5a8e --- /dev/null +++ b/data/presets/fields/map_size.json @@ -0,0 +1,5 @@ +{ + "key": "map_size", + "type": "typeCombo", + "label": "Coverage" +} diff --git a/data/presets/fields/map_type.json b/data/presets/fields/map_type.json new file mode 100644 index 000000000..4341ed6b5 --- /dev/null +++ b/data/presets/fields/map_type.json @@ -0,0 +1,5 @@ +{ + "key": "map_type", + "type": "typeCombo", + "label": "Type" +} diff --git a/data/presets/presets.json b/data/presets/presets.json index a27ac3b8d..e0d84dedb 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -10903,6 +10903,69 @@ }, "name": "Information" }, + "tourism/information/board": { + "fields": [ + "operator", + "board_type" + ], + "geometry": [ + "point", + "vertex" + ], + "tags": { + "tourism": "information", + "information": "board" + }, + "name": "Information Board" + }, + "tourism/information/guidepost": { + "fields": [ + "operator", + "ref" + ], + "geometry": [ + "point", + "vertex" + ], + "tags": { + "tourism": "information", + "information": "guidepost" + }, + "name": "Guidepost" + }, + "tourism/information/map": { + "fields": [ + "operator", + "map_type", + "map_size" + ], + "geometry": [ + "point", + "vertex" + ], + "tags": { + "tourism": "information", + "information": "map" + }, + "name": "Map" + }, + "tourism/information/office": { + "fields": [ + "operator", + "address", + "building_area" + ], + "geometry": [ + "point", + "vertex", + "area" + ], + "tags": { + "tourism": "information", + "information": "office" + }, + "name": "Tourist Information Office" + }, "tourism/motel": { "icon": "lodging", "fields": [ diff --git a/data/presets/presets/tourism/information/board.json b/data/presets/presets/tourism/information/board.json new file mode 100644 index 000000000..5333b01f0 --- /dev/null +++ b/data/presets/presets/tourism/information/board.json @@ -0,0 +1,15 @@ +{ + "fields": [ + "operator", + "board_type" + ], + "geometry": [ + "point", + "vertex" + ], + "tags": { + "tourism": "information", + "information": "board" + }, + "name": "Information Board" +} diff --git a/data/presets/presets/tourism/information/guidepost.json b/data/presets/presets/tourism/information/guidepost.json new file mode 100644 index 000000000..88f35e4a6 --- /dev/null +++ b/data/presets/presets/tourism/information/guidepost.json @@ -0,0 +1,15 @@ +{ + "fields": [ + "operator", + "ref" + ], + "geometry": [ + "point", + "vertex" + ], + "tags": { + "tourism": "information", + "information": "guidepost" + }, + "name": "Guidepost" +} diff --git a/data/presets/presets/tourism/information/map.json b/data/presets/presets/tourism/information/map.json new file mode 100644 index 000000000..179def1fc --- /dev/null +++ b/data/presets/presets/tourism/information/map.json @@ -0,0 +1,16 @@ +{ + "fields": [ + "operator", + "map_type", + "map_size" + ], + "geometry": [ + "point", + "vertex" + ], + "tags": { + "tourism": "information", + "information": "map" + }, + "name": "Map" +} diff --git a/data/presets/presets/tourism/information/office.json b/data/presets/presets/tourism/information/office.json new file mode 100644 index 000000000..945f213ba --- /dev/null +++ b/data/presets/presets/tourism/information/office.json @@ -0,0 +1,17 @@ +{ + "fields": [ + "operator", + "address", + "building_area" + ], + "geometry": [ + "point", + "vertex", + "area" + ], + "tags": { + "tourism": "information", + "information": "office" + }, + "name": "Tourist Information Office" +} diff --git a/data/taginfo.json b/data/taginfo.json index 6c167eb39..213105593 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -2473,6 +2473,22 @@ "key": "tourism", "value": "information" }, + { + "key": "information", + "value": "board" + }, + { + "key": "information", + "value": "guidepost" + }, + { + "key": "information", + "value": "map" + }, + { + "key": "information", + "value": "office" + }, { "key": "tourism", "value": "motel" diff --git a/dist/locales/en.json b/dist/locales/en.json index d566fe4c8..ebfc82efa 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -805,6 +805,9 @@ "stemcells": "stem cell samples" } }, + "board_type": { + "label": "Type" + }, "boundary": { "label": "Type" }, @@ -1148,6 +1151,12 @@ "man_made": { "label": "Type" }, + "map_size": { + "label": "Coverage" + }, + "map_type": { + "label": "Type" + }, "maxspeed": { "label": "Speed Limit", "placeholder": "40, 50, 60..." @@ -4114,6 +4123,22 @@ "name": "Information", "terms": "" }, + "tourism/information/board": { + "name": "Information Board", + "terms": "" + }, + "tourism/information/guidepost": { + "name": "Guidepost", + "terms": "" + }, + "tourism/information/map": { + "name": "Map", + "terms": "" + }, + "tourism/information/office": { + "name": "Tourist Information Office", + "terms": "" + }, "tourism/motel": { "name": "Motel", "terms": ""