From e45cb9619b2e8cb3f3bd78860e4599bc459b19c4 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Mon, 1 Feb 2016 14:14:23 -0500 Subject: [PATCH] Add Site Relation to `defaults.json`, run make (closes #2930) --- data/presets.yaml | 7 +++++++ data/presets/defaults.json | 1 + data/presets/fields.json | 5 +++++ data/presets/presets.json | 13 +++++++++++++ data/taginfo.json | 4 ++++ dist/locales/en.json | 7 +++++++ 6 files changed, 37 insertions(+) diff --git a/data/presets.yaml b/data/presets.yaml index 64a9c2803..38783d7c1 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -887,6 +887,9 @@ en: shop: # 'shop=*' label: Type + site: + # 'site=*' + label: Type sloped_curb: # 'sloped_curb=*' label: Sloped Curb @@ -3761,6 +3764,10 @@ en: # type=route_master name: Route Master terms: "" + type/site: + # type=site + name: Site + terms: "" vertex: name: Other terms: "" diff --git a/data/presets/defaults.json b/data/presets/defaults.json index 10267672a..906641933 100644 --- a/data/presets/defaults.json +++ b/data/presets/defaults.json @@ -45,6 +45,7 @@ "category-restriction", "type/boundary", "type/multipolygon", + "type/site", "relation" ] } diff --git a/data/presets/fields.json b/data/presets/fields.json index d07d50b42..3dceea2af 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -1190,6 +1190,11 @@ "type": "typeCombo", "label": "Type" }, + "site": { + "key": "site", + "type": "combo", + "label": "Type" + }, "sloped_curb": { "key": "sloped_curb", "type": "combo", diff --git a/data/presets/presets.json b/data/presets/presets.json index 86f029770..9579dd21e 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -10475,6 +10475,19 @@ "network" ] }, + "type/site": { + "geometry": [ + "relation" + ], + "tags": { + "type": "site" + }, + "name": "Site", + "icon": "relation", + "fields": [ + "site" + ] + }, "vertex": { "name": "Other", "tags": {}, diff --git a/data/taginfo.json b/data/taginfo.json index 86c444c45..3e4c4d5ab 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -2438,6 +2438,10 @@ "key": "type", "value": "route_master" }, + { + "key": "type", + "value": "site" + }, { "key": "waterway" }, diff --git a/dist/locales/en.json b/dist/locales/en.json index 69ab223b3..1f8c2fb6c 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -1368,6 +1368,9 @@ "shop": { "label": "Type" }, + "site": { + "label": "Type" + }, "sloped_curb": { "label": "Sloped Curb" }, @@ -3985,6 +3988,10 @@ "name": "Route Master", "terms": "" }, + "type/site": { + "name": "Site", + "terms": "" + }, "vertex": { "name": "Other", "terms": ""