From 2263f212904bf671181ca705bfbaa2d1336e498c Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Fri, 15 Mar 2019 10:13:43 -0400 Subject: [PATCH] Add Valley preset --- data/presets.yaml | 5 ++++ data/presets/presets.json | 1 + data/presets/presets/natural/valley.json | 33 ++++++++++++++++++++++++ data/taginfo.json | 1 + dist/locales/en.json | 4 +++ 5 files changed, 44 insertions(+) create mode 100644 data/presets/presets/natural/valley.json diff --git a/data/presets.yaml b/data/presets.yaml index 8f3af3948..4367c7291 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -5208,6 +5208,11 @@ en: # natural=tree_row name: Tree Row terms: '' + natural/valley: + # natural=valley + name: Valley + # 'terms: canyon,dale,dell,dene,depression,glen,gorge,gully,gulley,gultch,hollow,ravine,rift,vale' + terms: '' natural/volcano: # natural=volcano name: Volcano diff --git a/data/presets/presets.json b/data/presets/presets.json index a10c84d5d..8fabcf81e 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -678,6 +678,7 @@ "natural/spring": {"icon": "maki-water", "fields": ["name", "intermittent"], "geometry": ["point", "vertex"], "tags": {"natural": "spring"}, "terms": [], "name": "Spring"}, "natural/tree_row": {"icon": "maki-park", "fields": ["leaf_type", "leaf_cycle", "denotation"], "geometry": ["line"], "tags": {"natural": "tree_row"}, "terms": [], "name": "Tree Row"}, "natural/tree": {"icon": "maki-park", "fields": ["leaf_type_singular", "leaf_cycle_singular", "denotation"], "geometry": ["point", "vertex"], "tags": {"natural": "tree"}, "terms": [], "name": "Tree"}, + "natural/valley": {"icon": "maki-triangle-stroked", "fields": ["name", "elevation", "description"], "geometry": ["vertex", "point", "line"], "tags": {"natural": "valley"}, "terms": ["canyon", "dale", "dell", "dene", "depression", "glen", "gorge", "gully", "gulley", "gultch", "hollow", "ravine", "rift", "vale"], "name": "Valley"}, "natural/volcano": {"icon": "maki-volcano", "fields": ["name", "elevation", "volcano/status", "volcano/type"], "geometry": ["point", "vertex"], "tags": {"natural": "volcano"}, "terms": ["mountain", "crater"], "name": "Volcano"}, "natural/water": {"icon": "maki-water", "fields": ["name", "water", "intermittent"], "moreFields": ["salt", "tidal"], "geometry": ["area"], "tags": {"natural": "water"}, "name": "Water"}, "natural/water/basin": {"icon": "maki-water", "fields": ["name", "basin", "intermittent_yes"], "geometry": ["area"], "tags": {"natural": "water", "water": "basin"}, "reference": {"key": "water", "value": "basin"}, "terms": ["detention", "drain", "overflow", "rain", "retention"], "name": "Basin"}, diff --git a/data/presets/presets/natural/valley.json b/data/presets/presets/natural/valley.json new file mode 100644 index 000000000..ec4cc089c --- /dev/null +++ b/data/presets/presets/natural/valley.json @@ -0,0 +1,33 @@ +{ + "icon": "maki-triangle-stroked", + "fields": [ + "name", + "elevation", + "description" + ], + "geometry": [ + "vertex", + "point", + "line" + ], + "tags": { + "natural": "valley" + }, + "terms": [ + "canyon", + "dale", + "dell", + "dene", + "depression", + "glen", + "gorge", + "gully", + "gulley", + "gultch", + "hollow", + "ravine", + "rift", + "vale" + ], + "name": "Valley" +} diff --git a/data/taginfo.json b/data/taginfo.json index 08a734312..bf1686127 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -656,6 +656,7 @@ {"key": "natural", "value": "spring", "description": "🄿 Spring", "object_types": ["node"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/water-15.svg?sanitize=true"}, {"key": "natural", "value": "tree_row", "description": "🄿 Tree Row", "object_types": ["way"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/park-15.svg?sanitize=true"}, {"key": "natural", "value": "tree", "description": "🄿 Tree", "object_types": ["node"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/park-15.svg?sanitize=true"}, + {"key": "natural", "value": "valley", "description": "🄿 Valley", "object_types": ["node", "way"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/triangle-stroked-15.svg?sanitize=true"}, {"key": "natural", "value": "volcano", "description": "🄿 Volcano", "object_types": ["node"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/volcano-15.svg?sanitize=true"}, {"key": "water", "value": "basin", "description": "🄿 Basin", "object_types": ["area"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/water-15.svg?sanitize=true"}, {"key": "water", "value": "canal", "description": "🄿 Canal", "object_types": ["area"], "icon_url": "https://raw.githubusercontent.com/openstreetmap/iD/master/svg/iD-sprite/presets/waterway-canal.svg?sanitize=true"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index 3cd56139c..d5e750a95 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -6631,6 +6631,10 @@ "name": "Tree", "terms": "" }, + "natural/valley": { + "name": "Valley", + "terms": "canyon,dale,dell,dene,depression,glen,gorge,gully,gulley,gultch,hollow,ravine,rift,vale" + }, "natural/volcano": { "name": "Volcano", "terms": "mountain,crater"