Add Historic Building preset (close #7219)

This commit is contained in:
Quincy Morgan
2020-01-06 11:52:34 -05:00
parent 52142c1ba5
commit fa675c3b13
6 changed files with 39 additions and 1 deletions
+4
View File
@@ -5223,6 +5223,10 @@ en:
# historic=boundary_stone
name: Boundary Stone
terms: '<translate with synonyms or related terms for ''Boundary Stone'', separated by commas>'
historic/building:
# historic=building
name: Historic Building
terms: '<translate with synonyms or related terms for ''Historic Building'', separated by commas>'
historic/castle:
# historic=castle
name: Castle
+2 -1
View File
@@ -561,9 +561,10 @@
"highway/turning_circle": {"icon": "maki-circle-stroked", "geometry": ["vertex"], "tags": {"highway": "turning_circle"}, "terms": ["cul-de-sac"], "name": "Turning Circle"},
"highway/turning_loop": {"icon": "maki-circle", "geometry": ["vertex"], "tags": {"highway": "turning_loop"}, "terms": ["cul-de-sac"], "name": "Turning Loop (Island)"},
"highway/unclassified": {"icon": "iD-highway-unclassified", "fields": ["{highway/residential}"], "moreFields": ["{highway/residential}"], "geometry": ["line"], "tags": {"highway": "unclassified"}, "terms": ["road", "street"], "name": "Minor/Unclassified Road"},
"historic": {"icon": "temaki-ruins", "fields": ["historic", "inscription"], "moreFields": ["gnis/feature_id"], "geometry": ["point", "vertex", "line", "area"], "tags": {"historic": "*"}, "name": "Historic Site"},
"historic": {"icon": "temaki-ruins", "fields": ["historic", "inscription"], "moreFields": ["gnis/feature_id"], "geometry": ["point", "vertex", "line", "area"], "tags": {"historic": "*"}, "matchScore": 0.5, "name": "Historic Site"},
"historic/archaeological_site": {"icon": "temaki-ruins", "fields": ["name", "site_type", "historic/civilization", "inscription", "access_simple"], "geometry": ["point", "vertex", "area"], "tags": {"historic": "archaeological_site"}, "name": "Archaeological Site"},
"historic/boundary_stone": {"icon": "temaki-milestone", "fields": ["name", "inscription"], "moreFields": ["{historic}", "material"], "geometry": ["point", "vertex"], "tags": {"historic": "boundary_stone"}, "name": "Boundary Stone"},
"historic/building": {"icon": "maki-home", "fields": ["{building}", "start_date"], "moreFields": ["{building}", "access_simple"], "geometry": ["area"], "tags": {"historic": "building"}, "addTags": {"historic": "building", "building": "*"}, "reference": {"key": "historic", "value": "building"}, "matchScore": 0.5, "name": "Historic Building"},
"historic/castle": {"icon": "maki-castle", "fields": ["name", "castle_type", "building_area", "historic/civilization", "access_simple", "start_date"], "geometry": ["point", "area"], "tags": {"historic": "castle"}, "name": "Castle"},
"historic/castle/fortress": {"icon": "maki-castle", "fields": ["name", "building_area", "access_simple", "start_date"], "geometry": ["point", "area"], "reference": {"key": "castle_type", "value": "fortress"}, "tags": {"historic": "castle", "castle_type": "fortress"}, "terms": ["citadel", "military"], "name": "Historic Fortress"},
"historic/castle/palace": {"icon": "fas-crown", "fields": ["name", "building_area", "access_simple", "start_date"], "geometry": ["point", "area"], "reference": {"key": "castle_type", "value": "palace"}, "tags": {"historic": "castle", "castle_type": "palace"}, "terms": ["Royal Residence", "royal", "king", "queen"], "name": "Palace"},
+1
View File
@@ -16,5 +16,6 @@
"tags": {
"historic": "*"
},
"matchScore": 0.5,
"name": "Historic Site"
}
@@ -0,0 +1,27 @@
{
"icon": "maki-home",
"fields": [
"{building}",
"start_date"
],
"moreFields": [
"{building}",
"access_simple"
],
"geometry": [
"area"
],
"tags": {
"historic": "building"
},
"addTags": {
"historic": "building",
"building": "*"
},
"reference": {
"key": "historic",
"value": "building"
},
"matchScore": 0.5,
"name": "Historic Building"
}
+1
View File
@@ -547,6 +547,7 @@
{"key": "historic", "description": "🄿 Historic Site, 🄵 Type", "object_types": ["node", "way", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/ruins.svg"},
{"key": "historic", "value": "archaeological_site", "description": "🄿 Archaeological Site", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/ruins.svg"},
{"key": "historic", "value": "boundary_stone", "description": "🄿 Boundary Stone", "object_types": ["node"], "icon_url": "https://cdn.jsdelivr.net/gh/ideditor/temaki/icons/milestone.svg"},
{"key": "historic", "value": "building", "description": "🄿 Historic Building", "object_types": ["area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/home-15.svg"},
{"key": "historic", "value": "castle", "description": "🄿 Castle", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/castle-15.svg"},
{"key": "castle_type", "value": "fortress", "description": "🄿 Historic Fortress", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/mapbox/maki/icons/castle-15.svg"},
{"key": "castle_type", "value": "palace", "description": "🄿 Palace", "object_types": ["node", "area"], "icon_url": "https://cdn.jsdelivr.net/gh/openstreetmap/iD@master/svg/fontawesome/fas-crown.svg"},
+4
View File
@@ -7054,6 +7054,10 @@
"name": "Boundary Stone",
"terms": ""
},
"historic/building": {
"name": "Historic Building",
"terms": ""
},
"historic/castle": {
"name": "Castle",
"terms": ""