Add Type field to Museum preset

Add Art Museum and History Museum presets
Deprecate some museum_type tags
This commit is contained in:
Quincy Morgan
2020-01-06 13:06:12 -05:00
parent 594c61ff2b
commit 27ac33e817
10 changed files with 109 additions and 1 deletions
+16
View File
@@ -747,6 +747,22 @@
"old": {"mining_resource": "*"},
"replace": {"resource": "$1"}
},
{
"old": {"museum_type": "art"},
"replace": {"museum": "art"}
},
{
"old": {"museum_type": "history"},
"replace": {"museum": "history"}
},
{
"old": {"museum_type": "private"},
"replace": {"operator:type": "private"}
},
{
"old": {"museum_type": "public"},
"replace": {"operator:type": "public"}
},
{
"old": {"natural": "marsh"},
"replace": {"natural": "wetland", "wetland": "marsh"}
+13
View File
@@ -1420,6 +1420,9 @@ en:
# mtb/scale/uphill field placeholder
placeholder: '0, 1, 2, 3...'
terms: '[translate with synonyms or related terms for ''Mountain Biking Uphill Difficulty'', separated by commas]'
museum:
# museum=*
label: Type
name:
# name=*
label: Name
@@ -8287,6 +8290,16 @@ en:
name: Museum
# 'terms: art*,exhibit*,gallery,foundation,hall,institution,paint*,photo*,sculpt*'
terms: '<translate with synonyms or related terms for ''Museum'', separated by commas>'
tourism/museum/art:
# 'tourism=museum, museum=art'
name: Art Museum
# 'terms: art*,exhibit*,gallery,foundation,hall,institution,paint*,photo*,sculpt*'
terms: '<translate with synonyms or related terms for ''Art Museum'', separated by commas>'
tourism/museum/history:
# 'tourism=museum, museum=history'
name: History Museum
# 'terms: artifacts,dioramas,exhibits,exhibitions,foundation,hall,institution'
terms: '<translate with synonyms or related terms for ''History Museum'', separated by commas>'
tourism/picnic_site:
# tourism=picnic_site
name: Picnic Site
+1
View File
@@ -259,6 +259,7 @@
"mtb/scale": {"key": "mtb:scale", "type": "combo", "label": "Mountain Biking Difficulty", "placeholder": "0, 1, 2, 3...", "strings": {"options": {"0": "0: Solid gravel/packed earth, no obstacles, wide curves", "1": "1: Some loose surface, small obstacles, wide curves", "2": "2: Much loose surface, large obstacles, easy hairpins", "3": "3: Slippery surface, large obstacles, tight hairpins", "4": "4: Loose surface or boulders, dangerous hairpins", "5": "5: Maximum difficulty, boulder fields, landslides", "6": "6: Not rideable except by the very best mountain bikers"}}},
"mtb/scale/imba": {"key": "mtb:scale:imba", "type": "combo", "label": "IMBA Trail Difficulty", "placeholder": "Easy, Medium, Difficult...", "strings": {"options": {"0": "Easiest (white circle)", "1": "Easy (green circle)", "2": "Medium (blue square)", "3": "Difficult (black diamond)", "4": "Extremely Difficult (double black diamond)"}}},
"mtb/scale/uphill": {"key": "mtb:scale:uphill", "type": "combo", "label": "Mountain Biking Uphill Difficulty", "placeholder": "0, 1, 2, 3...", "strings": {"options": {"0": "0: Avg. incline <10%, gravel/packed earth, no obstacles", "1": "1: Avg. incline <15%, gravel/packed earth, few small objects", "2": "2: Avg. incline <20%, stable surface, fistsize rocks/roots", "3": "3: Avg. incline <25%, variable surface, fistsize rocks/branches", "4": "4: Avg. incline <30%, poor condition, big rocks/branches", "5": "5: Very steep, bike generally needs to be pushed or carried"}}},
"museum": {"key": "museum", "type": "combo", "label": "Type"},
"name": {"key": "name", "type": "localized", "label": "Name", "universal": true, "placeholder": "Common name (if any)", "terms": ["label", "title"]},
"natural": {"key": "natural", "type": "typeCombo", "label": "Natural"},
"network_bicycle": {"key": "network", "type": "combo", "label": "Network Class", "placeholder": "Local, Regional, National, International", "strings": {"options": {"lcn": "Local", "rcn": "Regional", "ncn": "National", "icn": "International"}}},
+5
View File
@@ -0,0 +1,5 @@
{
"key": "museum",
"type": "combo",
"label": "Type"
}
+3 -1
View File
@@ -1213,7 +1213,9 @@
"tourism/information/route_marker": {"icon": "maki-information", "fields": ["ref", "operator", "colour", "material", "elevation"], "geometry": ["point", "vertex"], "terms": ["cairn", "painted blaze", "route flag", "route marker", "stone pile", "trail blaze", "trail post", "way marker"], "tags": {"tourism": "information", "information": "route_marker"}, "reference": {"key": "information", "value": "route_marker"}, "name": "Trail Marker"},
"tourism/information/terminal": {"icon": "maki-information", "fields": ["operator"], "geometry": ["point", "vertex"], "tags": {"tourism": "information", "information": "terminal"}, "reference": {"key": "information", "value": "terminal"}, "name": "Information Terminal"},
"tourism/motel": {"icon": "maki-lodging", "fields": ["name", "brand", "address", "building_area", "rooms", "internet_access", "internet_access/fee"], "moreFields": ["air_conditioning", "brand", "building/levels_building", "email", "fax", "gnis/feature_id", "height_building", "internet_access/ssid", "operator", "payment_multi", "phone", "ref/vatin", "reservation", "smoking", "website", "wheelchair"], "geometry": ["point", "area"], "tags": {"tourism": "motel"}, "terms": ["lodging", "motor hotel", "overnight accommodations"], "name": "Motel"},
"tourism/museum": {"icon": "temaki-museum", "fields": ["name", "operator", "operator/type", "address", "building_area", "opening_hours"], "moreFields": ["air_conditioning", "building/levels_building", "charge_fee", "email", "fax", "fee", "gnis/feature_id", "height_building", "internet_access", "internet_access/fee", "internet_access/ssid", "level", "payment_multi", "phone", "website", "wheelchair"], "geometry": ["point", "area"], "terms": ["art*", "exhibit*", "gallery", "foundation", "hall", "institution", "paint*", "photo*", "sculpt*"], "tags": {"tourism": "museum"}, "name": "Museum"},
"tourism/museum": {"icon": "temaki-museum", "fields": ["name", "operator", "operator/type", "museum", "address", "building_area", "opening_hours"], "moreFields": ["air_conditioning", "building/levels_building", "charge_fee", "email", "fax", "fee", "gnis/feature_id", "height_building", "internet_access", "internet_access/fee", "internet_access/ssid", "level", "payment_multi", "phone", "website", "wheelchair"], "geometry": ["point", "area"], "terms": ["art*", "exhibit*", "gallery", "foundation", "hall", "institution", "paint*", "photo*", "sculpt*"], "tags": {"tourism": "museum"}, "name": "Museum"},
"tourism/museum/art": {"icon": "temaki-museum", "geometry": ["point", "area"], "terms": ["art*", "exhibit*", "gallery", "foundation", "hall", "institution", "paint*", "photo*", "sculpt*"], "tags": {"tourism": "museum", "museum": "art"}, "reference": {"key": "museum", "value": "art"}, "name": "Art Museum"},
"tourism/museum/history": {"icon": "temaki-museum", "geometry": ["point", "area"], "terms": ["artifacts", "dioramas", "exhibits", "exhibitions", "foundation", "hall", "institution"], "tags": {"tourism": "museum", "museum": "history"}, "reference": {"key": "museum", "value": "history"}, "name": "History Museum"},
"tourism/picnic_site": {"icon": "maki-picnic-site", "fields": ["name", "operator", "address", "access_simple", "capacity"], "moreFields": ["charge_fee", "fee", "gnis/feature_id", "internet_access", "internet_access/fee", "internet_access/ssid", "level", "payment_multi_fee", "phone", "reservation", "smoking", "website", "wheelchair"], "geometry": ["point", "vertex", "area"], "terms": ["camp"], "tags": {"tourism": "picnic_site"}, "name": "Picnic Site"},
"tourism/theme_park": {"icon": "maki-amusement-park", "fields": ["name", "operator", "address", "opening_hours"], "moreFields": ["email", "fax", "gnis/feature_id", "internet_access", "internet_access/fee", "internet_access/ssid", "payment_multi", "phone", "website", "wheelchair"], "geometry": ["point", "area"], "tags": {"tourism": "theme_park"}, "name": "Theme Park"},
"tourism/trail_riding_station": {"icon": "maki-horse-riding", "fields": ["name", "horse_stables", "horse_riding", "horse_dressage"], "moreFields": ["address", "email", "fax", "gnis/feature_id", "internet_access", "internet_access/fee", "internet_access/ssid", "opening_hours", "phone", "website"], "geometry": ["point", "area"], "tags": {"tourism": "trail_riding_station"}, "name": "Trail Riding Station", "matchScore": 2},
+1
View File
@@ -4,6 +4,7 @@
"name",
"operator",
"operator/type",
"museum",
"address",
"building_area",
"opening_hours"
@@ -0,0 +1,27 @@
{
"icon": "temaki-museum",
"geometry": [
"point",
"area"
],
"terms": [
"art*",
"exhibit*",
"gallery",
"foundation",
"hall",
"institution",
"paint*",
"photo*",
"sculpt*"
],
"tags": {
"tourism": "museum",
"museum": "art"
},
"reference": {
"key": "museum",
"value": "art"
},
"name": "Art Museum"
}
@@ -0,0 +1,25 @@
{
"icon": "temaki-museum",
"geometry": [
"point",
"area"
],
"terms": [
"artifacts",
"dioramas",
"exhibits",
"exhibitions",
"foundation",
"hall",
"institution"
],
"tags": {
"tourism": "museum",
"museum": "history"
},
"reference": {
"key": "museum",
"value": "history"
},
"name": "History Museum"
}
+7
View File
@@ -1156,6 +1156,8 @@
{"key": "information", "value": "terminal", "description": "🄿 Information Terminal", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/information-15.svg"},
{"key": "tourism", "value": "motel", "description": "🄿 Motel", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/lodging-15.svg"},
{"key": "tourism", "value": "museum", "description": "🄿 Museum", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/museum.svg"},
{"key": "museum", "value": "art", "description": "🄿 Art Museum", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/museum.svg"},
{"key": "museum", "value": "history", "description": "🄿 History Museum", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/museum.svg"},
{"key": "tourism", "value": "picnic_site", "description": "🄿 Picnic Site", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/picnic-site-15.svg"},
{"key": "tourism", "value": "theme_park", "description": "🄿 Theme Park", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/amusement-park-15.svg"},
{"key": "tourism", "value": "trail_riding_station", "description": "🄿 Trail Riding Station", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/horse-riding-15.svg"},
@@ -1609,6 +1611,7 @@
{"key": "mtb:scale:uphill", "value": "3", "description": "🄵 Mountain Biking Uphill Difficulty"},
{"key": "mtb:scale:uphill", "value": "4", "description": "🄵 Mountain Biking Uphill Difficulty"},
{"key": "mtb:scale:uphill", "value": "5", "description": "🄵 Mountain Biking Uphill Difficulty"},
{"key": "museum", "description": "🄵 Type"},
{"key": "name", "description": "🄵 Name"},
{"key": "network", "value": "lcn", "description": "🄵 Network Class"},
{"key": "network", "value": "rcn", "description": "🄵 Network Class"},
@@ -2088,6 +2091,10 @@
{"key": "men", "description": "🄳 ➜ male=*"},
{"key": "minage", "description": "🄳 ➜ min_age=*"},
{"key": "mining_resource", "description": "🄳 ➜ resource=*"},
{"key": "museum_type", "value": "art", "description": "🄳 ➜ museum=art"},
{"key": "museum_type", "value": "history", "description": "🄳 ➜ museum=history"},
{"key": "museum_type", "value": "private", "description": "🄳 ➜ operator:type=private"},
{"key": "museum_type", "value": "public", "description": "🄳 ➜ operator:type=public"},
{"key": "natural", "value": "marsh", "description": "🄳 ➜ natural=wetland + wetland=marsh"},
{"key": "natural", "value": "waterfall", "description": "🄳 ➜ waterway=waterfall"},
{"key": "NOTE", "description": "🄳 ➜ note=*"},
+11
View File
@@ -3792,6 +3792,9 @@
"5": "5: Very steep, bike generally needs to be pushed or carried"
}
},
"museum": {
"label": "Type"
},
"name": {
"label": "Name",
"terms": "label,title",
@@ -9628,6 +9631,14 @@
"name": "Museum",
"terms": "art*,exhibit*,gallery,foundation,hall,institution,paint*,photo*,sculpt*"
},
"tourism/museum/art": {
"name": "Art Museum",
"terms": "art*,exhibit*,gallery,foundation,hall,institution,paint*,photo*,sculpt*"
},
"tourism/museum/history": {
"name": "History Museum",
"terms": "artifacts,dioramas,exhibits,exhibitions,foundation,hall,institution"
},
"tourism/picnic_site": {
"name": "Picnic Site",
"terms": "camp"