mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-01 09:40:38 +02:00
Add preset for natural=shingle (close #6155)
This commit is contained in:
@@ -259,6 +259,7 @@ path.stroke.tag-man_made-groyne,
|
||||
path.stroke.tag-man_made-breakwater,
|
||||
path.stroke.tag-natural-bare_rock,
|
||||
path.stroke.tag-natural-scree,
|
||||
path.stroke.tag-natural-shingle,
|
||||
path.stroke.tag-waterway-dam,
|
||||
path.stroke.tag-waterway-weir {
|
||||
stroke: rgb(170, 170, 170);
|
||||
@@ -272,6 +273,7 @@ path.fill.tag-man_made-groyne,
|
||||
path.fill.tag-man_made-breakwater,
|
||||
path.fill.tag-natural-bare_rock,
|
||||
path.fill.tag-natural-scree,
|
||||
path.fill.tag-natural-shingle,
|
||||
path.fill.tag-waterway-dam,
|
||||
path.fill.tag-waterway-weir {
|
||||
stroke: rgba(140, 140, 140, 0.5);
|
||||
|
||||
@@ -5406,6 +5406,11 @@ en:
|
||||
name: Scrub
|
||||
# 'terms: bush,shrubs'
|
||||
terms: '<translate with synonyms or related terms for ''Scrub'', separated by commas>'
|
||||
natural/shingle:
|
||||
# natural=shingle
|
||||
name: Shingle
|
||||
# 'terms: beach,gravel,pebbles,riverbed,rounded rock fragments'
|
||||
terms: '<translate with synonyms or related terms for ''Shingle'', separated by commas>'
|
||||
natural/spring:
|
||||
# natural=spring
|
||||
name: Spring
|
||||
|
||||
@@ -705,6 +705,7 @@
|
||||
"natural/sand": {"geometry": ["area"], "tags": {"natural": "sand"}, "terms": ["desert"], "name": "Sand"},
|
||||
"natural/scree": {"geometry": ["area"], "tags": {"natural": "scree"}, "terms": ["loose rocks"], "name": "Scree"},
|
||||
"natural/scrub": {"geometry": ["area"], "tags": {"natural": "scrub"}, "terms": ["bush", "shrubs"], "name": "Scrub"},
|
||||
"natural/shingle": {"geometry": ["area"], "tags": {"natural": "shingle"}, "terms": ["beach", "gravel", "pebbles", "riverbed", "rounded rock fragments"], "name": "Shingle"},
|
||||
"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"},
|
||||
|
||||
16
data/presets/presets/natural/shingle.json
Normal file
16
data/presets/presets/natural/shingle.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"geometry": [
|
||||
"area"
|
||||
],
|
||||
"tags": {
|
||||
"natural": "shingle"
|
||||
},
|
||||
"terms": [
|
||||
"beach",
|
||||
"gravel",
|
||||
"pebbles",
|
||||
"riverbed",
|
||||
"rounded rock fragments"
|
||||
],
|
||||
"name": "Shingle"
|
||||
}
|
||||
@@ -682,6 +682,7 @@
|
||||
{"key": "natural", "value": "saddle", "description": "🄿 Saddle", "object_types": ["node"], "icon_url": "https://raw.githubusercontent.com/mapbox/maki/master/icons/triangle-stroked-15.svg?sanitize=true"},
|
||||
{"key": "natural", "value": "scree", "description": "🄿 Scree", "object_types": ["area"]},
|
||||
{"key": "natural", "value": "scrub", "description": "🄿 Scrub", "object_types": ["area"]},
|
||||
{"key": "natural", "value": "shingle", "description": "🄿 Shingle", "object_types": ["area"]},
|
||||
{"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"},
|
||||
|
||||
4
dist/locales/en.json
vendored
4
dist/locales/en.json
vendored
@@ -6882,6 +6882,10 @@
|
||||
"name": "Scrub",
|
||||
"terms": "bush,shrubs"
|
||||
},
|
||||
"natural/shingle": {
|
||||
"name": "Shingle",
|
||||
"terms": "beach,gravel,pebbles,riverbed,rounded rock fragments"
|
||||
},
|
||||
"natural/spring": {
|
||||
"name": "Spring",
|
||||
"terms": ""
|
||||
|
||||
Reference in New Issue
Block a user