From 718c02c61805b470b1f1907c0eef82bbcf3f62b8 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Mon, 31 Oct 2016 01:10:32 -0400 Subject: [PATCH] Add Billboard preset (closes #3386) --- data/presets.yaml | 4 ++++ data/presets/presets.json | 15 +++++++++++++++ data/presets/presets/advertising/billboard.json | 15 +++++++++++++++ data/taginfo.json | 4 ++++ dist/locales/en.json | 4 ++++ 5 files changed, 42 insertions(+) create mode 100644 data/presets/presets/advertising/billboard.json diff --git a/data/presets.yaml b/data/presets.yaml index b3e01cbf2..70d00e176 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -1173,6 +1173,10 @@ en: # 'addr:housenumber=*' name: Address terms: '' + advertising/billboard: + # advertising=billboard + name: Billboard + terms: '' aerialway: # aerialway=* name: Aerialway diff --git a/data/presets/presets.json b/data/presets/presets.json index 4e6913f61..b0e59990b 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -157,6 +157,21 @@ "matchScore": 0.2, "name": "Address" }, + "advertising/billboard": { + "fields": [ + "parallel_direction", + "lit" + ], + "geometry": [ + "point", + "vertex", + "line" + ], + "tags": { + "advertising": "billboard" + }, + "name": "Billboard" + }, "aerialway/cable_car": { "geometry": [ "line" diff --git a/data/presets/presets/advertising/billboard.json b/data/presets/presets/advertising/billboard.json new file mode 100644 index 000000000..e3cc660ba --- /dev/null +++ b/data/presets/presets/advertising/billboard.json @@ -0,0 +1,15 @@ +{ + "fields": [ + "parallel_direction", + "lit" + ], + "geometry": [ + "point", + "vertex", + "line" + ], + "tags": { + "advertising": "billboard" + }, + "name": "Billboard" +} diff --git a/data/taginfo.json b/data/taginfo.json index 17fe55b57..50f37cd09 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -43,6 +43,10 @@ { "key": "addr:housenumber" }, + { + "key": "advertising", + "value": "billboard" + }, { "key": "aerialway", "value": "cable_car" diff --git a/dist/locales/en.json b/dist/locales/en.json index ed9d79ff8..1ecb70639 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -1652,6 +1652,10 @@ "name": "Address", "terms": "" }, + "advertising/billboard": { + "name": "Billboard", + "terms": "" + }, "aerialway/cable_car": { "name": "Cable Car", "terms": "tramway,ropeway"