diff --git a/data/presets.yaml b/data/presets.yaml index f0b5e2be6..b4fd1b9c2 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -5223,6 +5223,10 @@ en: # historic=boundary_stone name: Boundary Stone terms: '' + historic/building: + # historic=building + name: Historic Building + terms: '' historic/castle: # historic=castle name: Castle diff --git a/data/presets/presets.json b/data/presets/presets.json index 1cef37a5f..2e6bc3e07 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -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"}, diff --git a/data/presets/presets/historic.json b/data/presets/presets/historic.json index ef648faab..26ae88cd5 100644 --- a/data/presets/presets/historic.json +++ b/data/presets/presets/historic.json @@ -16,5 +16,6 @@ "tags": { "historic": "*" }, + "matchScore": 0.5, "name": "Historic Site" } diff --git a/data/presets/presets/historic/building.json b/data/presets/presets/historic/building.json new file mode 100644 index 000000000..482e5d5dd --- /dev/null +++ b/data/presets/presets/historic/building.json @@ -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" +} diff --git a/data/taginfo.json b/data/taginfo.json index 48e6f2894..23e5b56f8 100644 --- a/data/taginfo.json +++ b/data/taginfo.json @@ -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"}, diff --git a/dist/locales/en.json b/dist/locales/en.json index 3b939437b..6f8808b8a 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -7054,6 +7054,10 @@ "name": "Boundary Stone", "terms": "" }, + "historic/building": { + "name": "Historic Building", + "terms": "" + }, "historic/castle": { "name": "Castle", "terms": ""