mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-10-26 04:13:50 +01:00
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:
parent
b49544fbb0
commit
a9d966d53e
4 changed files with 67 additions and 0 deletions
11
data/fields/seamark/harbour/category_marina.json
Normal file
11
data/fields/seamark/harbour/category_marina.json
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"key": "seamark:harbour:category",
|
||||
"type": "check",
|
||||
"label": "Domestic Facilities",
|
||||
"strings": {
|
||||
"options": {
|
||||
"marina": "Yes",
|
||||
"marina_no_facilities": "No"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -15,6 +15,7 @@
|
|||
"{@templates/contact}",
|
||||
"address",
|
||||
"gnis/feature_id-US",
|
||||
"seamark/harbour/category_marina",
|
||||
"seamark/type",
|
||||
"vhf"
|
||||
],
|
||||
|
|
|
|||
41
data/presets/leisure/marina_no_facilities.json
Normal file
41
data/presets/leisure/marina_no_facilities.json
Normal 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"
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue