mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 13:38:26 +02:00
Add preset for waterway=fish_pass
This commit is contained in:
@@ -8450,6 +8450,11 @@ en:
|
||||
# waterway=drain
|
||||
name: Drain
|
||||
terms: '<translate with synonyms or related terms for ''Drain'', separated by commas>'
|
||||
waterway/fish_pass:
|
||||
# waterway=fish_pass
|
||||
name: Fish Pass
|
||||
# 'terms: eel ladder,eel pass,fish ladder,fish migration,fish passage,fish siphon,fish steps,fish way,fishladder,fishpass,fishsteps,fishway'
|
||||
terms: '<translate with synonyms or related terms for ''Fish Pass'', separated by commas>'
|
||||
waterway/fuel:
|
||||
# waterway=fuel
|
||||
name: Marine Fuel Station
|
||||
|
||||
@@ -1267,6 +1267,7 @@
|
||||
"waterway/ditch": {"icon": "iD-waterway-ditch", "fields": ["{waterway/drain}"], "moreFields": ["{waterway/drain}"], "geometry": ["line"], "tags": {"waterway": "ditch"}, "name": "Ditch"},
|
||||
"waterway/dock": {"icon": "maki-harbor", "fields": ["name", "dock", "operator"], "geometry": ["area", "vertex", "point"], "terms": ["boat", "ship", "vessel", "marine"], "tags": {"waterway": "dock"}, "name": "Wet Dock / Dry Dock"},
|
||||
"waterway/drain": {"icon": "iD-waterway-ditch", "fields": ["structure_waterway", "intermittent"], "moreFields": ["covered"], "geometry": ["line"], "tags": {"waterway": "drain"}, "name": "Drain"},
|
||||
"waterway/fish_pass": {"icon": "temaki-fish_ladder", "fields": ["name", "structure_waterway", "width", "seasonal"], "moreFields": ["covered", "gnis/feature_id", "salt"], "geometry": ["line"], "terms": ["eel ladder", "eel pass", "fish ladder", "fish migration", "fish passage", "fish siphon", "fish steps", "fish way", "fishladder", "fishpass", "fishsteps", "fishway"], "tags": {"waterway": "fish_pass"}, "name": "Fish Pass"},
|
||||
"waterway/fuel": {"icon": "maki-fuel", "fields": ["name", "operator", "address", "opening_hours", "fuel_multi"], "moreFields": ["brand", "building", "email", "fax", "payment_multi", "phone", "seamark/type", "website", "wheelchair"], "geometry": ["point", "area"], "terms": ["petrol", "gas", "diesel", "boat"], "tags": {"waterway": "fuel"}, "name": "Marine Fuel Station"},
|
||||
"waterway/lock_gate": {"icon": "maki-dam", "geometry": ["vertex", "line"], "fields": ["name", "ref", "height", "material"], "tags": {"waterway": "lock_gate"}, "addTags": {"waterway": "lock_gate", "seamark:type": "gate"}, "terms": ["canal"], "name": "Lock Gate"},
|
||||
"waterway/milestone": {"icon": "temaki-milestone", "fields": ["distance", "direction_vertex"], "moreFields": ["seamark/type"], "geometry": ["point", "vertex"], "tags": {"waterway": "milestone"}, "terms": ["milestone", "marker"], "name": "Waterway Milestone"},
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"icon": "temaki-fish_ladder",
|
||||
"fields": [
|
||||
"name",
|
||||
"structure_waterway",
|
||||
"width",
|
||||
"seasonal"
|
||||
],
|
||||
"moreFields": [
|
||||
"covered",
|
||||
"gnis/feature_id",
|
||||
"salt"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
],
|
||||
"terms": [
|
||||
"eel ladder",
|
||||
"eel pass",
|
||||
"fish ladder",
|
||||
"fish migration",
|
||||
"fish passage",
|
||||
"fish siphon",
|
||||
"fish steps",
|
||||
"fish way",
|
||||
"fishladder",
|
||||
"fishpass",
|
||||
"fishsteps",
|
||||
"fishway"
|
||||
],
|
||||
"tags": {
|
||||
"waterway": "fish_pass"
|
||||
},
|
||||
"name": "Fish Pass"
|
||||
}
|
||||
@@ -1204,6 +1204,7 @@
|
||||
{"key": "waterway", "value": "ditch", "description": "🄿 Ditch", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@master/svg/iD-sprite/presets/waterway-ditch.svg"},
|
||||
{"key": "waterway", "value": "dock", "description": "🄿 Wet Dock / Dry Dock", "object_types": ["area", "node"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/harbor-15.svg"},
|
||||
{"key": "waterway", "value": "drain", "description": "🄿 Drain", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@master/svg/iD-sprite/presets/waterway-ditch.svg"},
|
||||
{"key": "waterway", "value": "fish_pass", "description": "🄿 Fish Pass", "object_types": ["way"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/fish_ladder.svg"},
|
||||
{"key": "waterway", "value": "fuel", "description": "🄿 Marine Fuel Station", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/fuel-15.svg"},
|
||||
{"key": "waterway", "value": "lock_gate", "description": "🄿 Lock Gate", "object_types": ["node", "way"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/dam-15.svg"},
|
||||
{"key": "waterway", "value": "milestone", "description": "🄿 Waterway Milestone", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/milestone.svg"},
|
||||
|
||||
Vendored
+4
@@ -9792,6 +9792,10 @@
|
||||
"name": "Drain",
|
||||
"terms": ""
|
||||
},
|
||||
"waterway/fish_pass": {
|
||||
"name": "Fish Pass",
|
||||
"terms": "eel ladder,eel pass,fish ladder,fish migration,fish passage,fish siphon,fish steps,fish way,fishladder,fishpass,fishsteps,fishway"
|
||||
},
|
||||
"waterway/fuel": {
|
||||
"name": "Marine Fuel Station",
|
||||
"terms": "petrol,gas,diesel,boat"
|
||||
|
||||
+2
-1
@@ -74,6 +74,7 @@ export var osmOneWayTags = {
|
||||
'canal': true,
|
||||
'ditch': true,
|
||||
'drain': true,
|
||||
'fish_pass': true,
|
||||
'river': true,
|
||||
'stream': true
|
||||
}
|
||||
@@ -134,5 +135,5 @@ export var osmRailwayTrackTagValues = {
|
||||
|
||||
// "waterway" tag values for line features representing water flow
|
||||
export var osmFlowingWaterwayTagValues = {
|
||||
canal: true, ditch: true, drain: true, river: true, stream: true
|
||||
canal: true, ditch: true, drain: true, fish_pass: true, river: true, stream: true
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user