add "Yacht Berths" preset; allow switching between it and Marina by checkbox

* the new preset is for the tag `seamark:harbour:category=marina_no_facilities`
* keeps the tag upgrade of the `leisure=marina` preset to add `seamark:harbour:category=marina` (under the assumption that what mappers usually associate with leisure=marina does more commonly have "extra facilities" than not)
* adds a checkbox-field to de/select "domestic facilities", allowing to easily switching between Marina and Yacht Berths presets.

closes #899
This commit is contained in:
Martin Raifer 2023-05-16 14:54:06 +02:00
parent b49544fbb0
commit a9d966d53e
No known key found for this signature in database
GPG key ID: 3CD561F7B1C461BD
4 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1,11 @@
{
"key": "seamark:harbour:category",
"type": "check",
"label": "Domestic Facilities",
"strings": {
"options": {
"marina": "Yes",
"marina_no_facilities": "No"
}
}
}

View file

@ -15,6 +15,7 @@
"{@templates/contact}",
"address",
"gnis/feature_id-US",
"seamark/harbour/category_marina",
"seamark/type",
"vhf"
],

View file

@ -0,0 +1,41 @@
{
"icon": "temaki-sailboat",
"fields": [
"name",
"operator",
"capacity",
"fee",
"payment_multi_fee",
"charge_fee"
],
"moreFields": [
"{@templates/contact}",
"address",
"gnis/feature_id-US",
"seamark/harbour/category_marina",
"seamark/type"
],
"geometry": [
"area",
"point",
"vertex"
],
"terms": [
"boats",
"docks",
"harbor",
"harbour",
"marina",
"moorings",
"yachts"
],
"tags": {
"seamark:harbour:category": "marina_no_facilities"
},
"addTags": {
"leisure": "marina",
"seamark:type": "harbour",
"seamark:harbour:category": "marina_no_facilities"
},
"name": "Yacht Berths"
}

View file

@ -4336,6 +4336,15 @@ en:
iala-b: IALA B
# seamark:buoy_lateral:system=other
other: Other
seamark/harbour/category_marina:
# seamark:harbour:category=*
label: Domestic Facilities
options:
# seamark:harbour:category=marina
marina: 'Yes'
# seamark:harbour:category=marina_no_facilities
marina_no_facilities: 'No'
terms: '[translate with synonyms or related terms for ''Domestic Facilities'', separated by commas]'
seamark/mooring/category:
# seamark:mooring:category=*
label: Category
@ -9302,6 +9311,11 @@ en:
name: Marina
# 'terms: boats,docks,harbor,harbour,moorings,yachts'
terms: <translate with synonyms or related terms for 'Marina', separated by commas>
leisure/marina_no_facilities:
# seamark:harbour:category=marina_no_facilities | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Yacht Berths
# 'terms: boats,docks,harbor,harbour,marina,moorings,yachts'
terms: <translate with synonyms or related terms for 'Yacht Berths', separated by commas>
leisure/miniature_golf:
# leisure=miniature_golf | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Miniature Golf