Skip to content

Commit

Permalink
Add preset for man_made=quay
Browse files Browse the repository at this point in the history
Also referred to in openstreetmap#529.
  • Loading branch information
jdhoek committed Mar 10, 2023
1 parent ec46ce7 commit 2dd6e16
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 2 deletions.
14 changes: 14 additions & 0 deletions data/fields/mooring.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"key": "mooring",
"type": "combo",
"label": "Mooring",
"strings": {
"options": {
"yes": "Yes",
"no": "No",
"private": "Private",
"commercial": "Commercial",
"guest": "Guests"
}
}
}
2 changes: 1 addition & 1 deletion data/presets/man_made/pier.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"icon": "temaki-pier_fixed",
"fields": [
"name",
"mooring",
"surface",
"floating",
"width",
Expand All @@ -25,7 +26,6 @@
"jetty",
"landing",
"promenade",
"quay",
"wharf"
],
"tags": {
Expand Down
19 changes: 19 additions & 0 deletions data/presets/man_made/quay.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"icon": "temaki-pier_fixed",
"fields": [
"name",
"mooring"
],
"geometry": [
"line",
"area"
],
"terms": [
"dock",
"wharf"
],
"tags": {
"man_made": "quay"
},
"name": "Quay"
}
21 changes: 20 additions & 1 deletion interim/source_strings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2829,6 +2829,20 @@ en:
monitoring_multi:
# monitoring:=*
label: Monitoring
mooring:
# mooring=*
label: Mooring
options:
# mooring=commercial
commercial: Commercial
# mooring=guest
guest: Guests
# mooring=no
'no': 'No'
# mooring=private
private: Private
# mooring=yes
'yes': 'Yes'
mtb/scale:
# mtb:scale=*
label: Mountain Biking Difficulty
Expand Down Expand Up @@ -9483,7 +9497,7 @@ en:
man_made/pier:
# man_made=pier | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Pier
# 'terms: berth,dock,jetty,landing,promenade,quay,wharf'
# 'terms: berth,dock,jetty,landing,promenade,wharf'
terms: <translate with synonyms or related terms for 'Pier', separated by commas>
man_made/pier/floating:
# man_made=pier + floating=yes | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
Expand All @@ -9508,6 +9522,11 @@ en:
# man_made=pumping_station | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Pumping Station
terms: <translate with synonyms or related terms for 'Pumping Station', separated by commas>
man_made/quay:
# man_made=quay | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Quay
# 'terms: dock,wharf'
terms: <translate with synonyms or related terms for 'Quay', separated by commas>
man_made/reservoir_covered:
# man_made=reservoir_covered | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Covered Reservoir
Expand Down

0 comments on commit 2dd6e16

Please sign in to comment.