mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-23 04:23:30 +01:00
Add preset for military=trench (close #6474)
This commit is contained in:
@@ -383,6 +383,7 @@
|
||||
"trail_visibility": {"key": "trail_visibility", "type": "combo", "label": "Trail Visibility", "placeholder": "Excellent, Good, Bad...", "strings": {"options": {"excellent": "Excellent: unambiguous path or markers everywhere", "good": "Good: markers visible, sometimes require searching", "intermediate": "Intermediate: few markers, path mostly visible", "bad": "Bad: no markers, path sometimes invisible/pathless", "horrible": "Horrible: often pathless, some orientation skills required", "no": "No: pathless, excellent orientation skills required"}}},
|
||||
"transformer": {"key": "transformer", "type": "combo", "label": "Type", "strings": {"options": {"distribution": "Distribution", "generator": "Generator", "converter": "Converter", "traction": "Traction", "auto": "Autotransformer", "phase_angle_regulator": "Phase Angle Regulator", "auxiliary": "Auxiliary", "yes": "Unknown"}}},
|
||||
"trees": {"key": "trees", "type": "semiCombo", "label": "Trees"},
|
||||
"trench": {"key": "trench", "type": "combo", "label": "Type"},
|
||||
"trolley_wire": {"key": "trolley_wire", "type": "check", "label": "Overhead Trolley Wires"},
|
||||
"tunnel": {"key": "tunnel", "type": "typeCombo", "label": "Type", "placeholder": "Default"},
|
||||
"usage_rail": {"key": "usage", "type": "combo", "label": "Usage Type", "strings": {"options": {"main": "Main", "branch": "Branch", "industrial": "Industrial", "military": "Military", "test": "Test", "tourism": "Tourism"}}},
|
||||
|
||||
5
data/presets/fields/trench.json
Normal file
5
data/presets/fields/trench.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"key": "trench",
|
||||
"type": "combo",
|
||||
"label": "Type"
|
||||
}
|
||||
@@ -733,6 +733,7 @@
|
||||
"manhole": {"icon": "maki-circle-stroked", "fields": ["manhole", "operator", "label", "ref"], "geometry": ["point", "vertex"], "tags": {"manhole": "*"}, "addTags": {"man_made": "manhole", "manhole": "*"}, "terms": ["cover", "hole", "sewer", "sewage", "telecom"], "name": "Manhole"},
|
||||
"manhole/drain": {"icon": "maki-water", "fields": ["operator", "ref"], "geometry": ["point", "vertex"], "tags": {"manhole": "drain"}, "addTags": {"man_made": "manhole", "manhole": "drain"}, "terms": ["cover", "drain", "hole", "rain", "sewer", "sewage", "storm"], "name": "Storm Drain"},
|
||||
"manhole/telecom": {"icon": "maki-circle-stroked", "fields": ["operator", "ref"], "geometry": ["point", "vertex"], "tags": {"manhole": "telecom"}, "addTags": {"man_made": "manhole", "manhole": "telecom"}, "terms": ["cover", "phone", "hole", "telecom", "telephone", "bt"], "name": "Telecom Manhole"},
|
||||
"military/trench": {"icon": "temaki-military", "fields": ["name", "trench"], "geometry": ["point", "line"], "tags": {"military": "trench"}, "terms": ["dugout", "firestep", "fox hole", "infantry trench", "war trench"], "name": "Military Trench"},
|
||||
"natural/bare_rock": {"geometry": ["area"], "tags": {"natural": "bare_rock"}, "terms": ["rock"], "name": "Bare Rock"},
|
||||
"natural/bay": {"icon": "temaki-beach", "geometry": ["point", "line", "area"], "fields": ["name"], "tags": {"natural": "bay"}, "terms": [], "name": "Bay"},
|
||||
"natural/beach": {"icon": "temaki-beach", "fields": ["surface"], "geometry": ["point", "area"], "tags": {"natural": "beach"}, "terms": ["shore"], "name": "Beach"},
|
||||
|
||||
22
data/presets/presets/military/trench.json
Normal file
22
data/presets/presets/military/trench.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"icon": "temaki-military",
|
||||
"fields": [
|
||||
"name",
|
||||
"trench"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"military": "trench"
|
||||
},
|
||||
"terms": [
|
||||
"dugout",
|
||||
"firestep",
|
||||
"fox hole",
|
||||
"infantry trench",
|
||||
"war trench"
|
||||
],
|
||||
"name": "Military Trench"
|
||||
}
|
||||
Reference in New Issue
Block a user