add field for "usage" tag on canals (see #348)

This commit is contained in:
Martin Raifer 2022-01-18 17:26:45 +01:00
parent 1092b8fc30
commit 224de53c9a
No known key found for this signature in database
GPG key ID: 3CD561F7B1C461BD
3 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,17 @@
{
"key": "usage",
"type": "combo",
"label": "Usage Type",
"strings": {
"options": {
"transportation": "Transportation",
"transmission": "Transmission",
"irrigation": "Irrigation",
"headrace": "Headrace",
"tailrace": "Tailrace",
"spillway": "Spillway"
}
},
"autoSuggestions" : false,
"customValues" : false
}

View file

@ -4,6 +4,7 @@
"name",
"structure_waterway",
"width",
"usage_waterway",
"intermittent",
"lock"
],
@ -19,5 +20,12 @@
"tags": {
"waterway": "canal"
},
"terms": [
"headrace",
"irrigation",
"spillway",
"tailrace",
"waterpower"
],
"name": "Canal"
}

View file

@ -3190,6 +3190,22 @@ en:
# usage=tourism
tourism: Tourism
terms: '[translate with synonyms or related terms for ''Usage Type'', separated by commas]'
usage_waterway:
# usage=*
label: Usage Type
options:
# usage=headrace
headrace: Headrace
# usage=irrigation
irrigation: Irrigation
# usage=spillway
spillway: Spillway
# usage=tailrace
tailrace: Tailrace
# usage=transmission
transmission: Transmission
# usage=transportation
transportation: Transportation
utility:
# utility=*
label: Utility
@ -9856,6 +9872,7 @@ en:
waterway/canal:
# 'waterway=canal\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).'
name: Canal
# 'terms: headrace,irrigation,spillway,tailrace,waterpower'
terms: '<translate with synonyms or related terms for ''Canal'', separated by commas>'
waterway/canal/lock:
# 'waterway=canal + lock=yes\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).'