diff --git a/app/controllers/catalog_controller.rb b/app/controllers/catalog_controller.rb index 6dc219e..8a54f94 100644 --- a/app/controllers/catalog_controller.rb +++ b/app/controllers/catalog_controller.rb @@ -97,6 +97,7 @@ class CatalogController < ApplicationController config.add_facet_field Settings.FIELDS.RIGHTS, label: 'Access', limit: 8, partial: "icon_facet" config.add_facet_field Settings.FIELDS.GEOM_TYPE, label: 'Data type', limit: 8, partial: "icon_facet" config.add_facet_field Settings.FIELDS.FILE_FORMAT, :label => 'Format', :limit => 8 + config.add_facet_field Settings.FIELDS.ANNOTATION, :label => 'Annotation', :limit => 8 config.add_facet_field Settings.FIELDS.SOURCE, show: false # Have BL send all facet field names to Solr, which has been the default @@ -144,6 +145,7 @@ class CatalogController < ApplicationController config.add_show_field Settings.FIELDS.RIGHTS_STATEMENTS, label: 'Rights', itemprop: 'rights' config.add_show_field Settings.FIELDS.PROVENANCE, label: 'Held by', link_to_facet: true config.add_show_field Settings.FIELDS.FILE_SIZE, label: 'File size' + config.add_show_field Settings.FIELDS.ANNOTATION, label: 'Annotation', link_to_facet: true config.add_show_field( Settings.FIELDS.REFERENCES, label: 'More details at', diff --git a/config/locales/blacklight.en.yml b/config/locales/blacklight.en.yml index c742097..ae2ecb3 100644 --- a/config/locales/blacklight.en.yml +++ b/config/locales/blacklight.en.yml @@ -1,3 +1,9 @@ en: blacklight: application_name: 'GeoData' + search: + form: + search: + label: "Search %{application_name}" + placeholder: "Enter search terms or select 'Go' to browse" + submit: 'Go' diff --git a/config/settings.yml b/config/settings.yml index 870fffe..6803c5c 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -45,6 +45,7 @@ FIELDS: :UNIQUE_KEY: 'id' :WXS_IDENTIFIER: 'dcat_servesDataset_s' :YEAR: 'gbl_indexYear_i' + :ANNOTATION: 'umass_annotated_s' # Institution deployed at INSTITUTION: 'UMass Amherst' diff --git a/test/fixtures/files/umass_documents/.DS_Store b/test/fixtures/files/umass_documents/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/test/fixtures/files/umass_documents/.DS_Store differ diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpl2k101-i001.json b/test/fixtures/files/umass_documents/mufs190-1951-dpl2k101-i001.json new file mode 100644 index 0000000..ed4e2b3 --- /dev/null +++ b/test/fixtures/files/umass_documents/mufs190-1951-dpl2k101-i001.json @@ -0,0 +1,50 @@ +{ + "dct_title_s": "1:20k Aerial Photograph (B/W): Town of Bourne, MA, 1951 (dpl-2k-101)", + "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of Bourne (Town of Bourne, Barnstable County, MA). The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", + "dct_language_sm": "English", + "dct_creator_sm": "MacConnell, William Preston, 1918-", + "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", + "schema_provider_s": "UMass", + "gbl_resourceClass_sm": "Imagery", + "gbl_resourceType_sm": "Raster", + "dct_subject_sm": [ + "Environment", + "Imagery and Base Maps", + "Land Cover", + "Planning and Cadastral", + "Structure" + ], + "dcat_theme_sm": [ + "environment", + "imageryBaseMapsEarthCover", + "inlandWaters", + "planningCadastre", + "structure" + ], + "dct_temporal_sm": "1951-10-22", + "dct_issued_s": "1951-10-22", + "gbl_indexYear_i": 1951, + "umass_annotated_s": "none", + "umass_geonames_sm": [ + "4931050" + ], + "dct_spatial_sm": [ + "Bourne, MA", + "Town of Bourne, MA", + "Barnstable County, MA" + ], + "locn_geometry": "ENVELOPE(-70.607117, -70.549626, 41.760435, 41.717075)", + "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", + "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", + "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", + "dct_accessRights_s": "Public", + "dct_format_s": "GeoTIFF", + "gbl_fileSize_s": "90 MB", + "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpl2k101-i001\",\"http://schema.org/downloadUrl\":[{\"url\":\"https://credo.library.umass.edu/media/mufs190-1951-dpl2k101-i001.reference.tif\",\"label\":\"GeoTIFF\"},{\"url\":\"https://credo.library.umass.edu/images/resize/full/mufs190-1951-dpl2k101-i001-001.jpg\",\"label\":\"High-Res JPG\"}],\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpl2k101-i001-001.tif/info.json\"}", + "id": "umass-mufs190-1951-dpl2k101-i001", + "dct_identifier_sm": "mufs190-1951-dpl2k101-i001", + "gbl_mdModified_dt": "2021-08-27T17:38:46Z", + "gbl_mdVersion_s": "Aardvark", + "gbl_suppressed_b": false, + "gbl_georeferenced_b": true +} \ No newline at end of file diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpl2k101-i001_geoblacklight.json b/test/fixtures/files/umass_documents/mufs190-1951-dpl2k101-i001_geoblacklight.json deleted file mode 100644 index b604afc..0000000 --- a/test/fixtures/files/umass_documents/mufs190-1951-dpl2k101-i001_geoblacklight.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "dct_title_s": "1:20k Aerial Photograph (B/W): Barnstable County (Mass.), 1951 (dpl-2k-101)", - "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of Barnstable County, Massachusetts, with a 8 1/4 inch focal length camera at a scale of 1:20,000. This image is part of a larger series covering the entire state that was undertaken in 1951-1952 by William P. MacConnell (Class of 1943) in the Department of Forestry and Wildlife Management, University of Massachusetts Amherst. The purpose of the program was to capture photography that could be used to map forests, agricultural fields, wetlands, and other land cover across Massachusetts. The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", - "dct_language_sm": "English", - "dct_creator_sm": "MacConnell, William Preston, 1918-\r", - "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", - "schema_provider_s": "UMass", - "gbl_resourceClass_sm": "Imagery", - "gbl_resourceType_sm": "Raster", - "dct_subject_sm": [ - "Environment", - "Imagery and Base Maps", - "Land Cover", - "Planning and Cadastral", - "Structure" - ], - "dcat_theme_sm": [ - "environment", - "imageryBaseMapsEarthCover", - "inlandWaters", - "planningCadastre", - "structure" - ], - "dct_temporal_sm": "1951-10-22", - "dct_issued_s": "1951-10-22", - "gbl_indexYear_i": 1951, - "dct_spatial_sm": "Bourne, Town of Bourne, Barnstable County, Massachusetts, United States", - "locn_geometry": "ENVELOPE(-70.607117, -70.549626, 41.760435, 41.717075)", - "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", - "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", - "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", - "dct_accessRights_s": "Public", - "dct_format_s": "GeoTIFF", - "gbl_fileSize_s": "90.8 MB", - "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpl2k101-i001\",\"http://schema.org/downloadUrl\":\"https://credo.library.umass.edu/media/mufs190-1951-dpl2k101-i001.reference.tif\",\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpl2k101-i001-001.tif/info.json\"}", - "id": "umass-mufs190-1951-dpl2k101-i001", - "dct_identifier_sm": "mufs190-1951-dpl2k101-i001", - "gbl_mdModified_dt": "2021-03-12T18:00:00Z", - "gbl_mdVersion_s": "Aardvark" -} diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpl2k3-i001.json b/test/fixtures/files/umass_documents/mufs190-1951-dpl2k3-i001.json new file mode 100644 index 0000000..b9e5088 --- /dev/null +++ b/test/fixtures/files/umass_documents/mufs190-1951-dpl2k3-i001.json @@ -0,0 +1,50 @@ +{ + "dct_title_s": "1:20k Aerial Photograph (B/W): Town of Sandwich, MA, 1951 (dpl-2k-3)", + "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of Scorton Shores (Town of Sandwich, Barnstable County, MA). The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", + "dct_language_sm": "English", + "dct_creator_sm": "MacConnell, William Preston, 1918-", + "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", + "schema_provider_s": "UMass", + "gbl_resourceClass_sm": "Imagery", + "gbl_resourceType_sm": "Raster", + "dct_subject_sm": [ + "Environment", + "Imagery and Base Maps", + "Land Cover", + "Planning and Cadastral", + "Structure" + ], + "dcat_theme_sm": [ + "environment", + "imageryBaseMapsEarthCover", + "inlandWaters", + "planningCadastre", + "structure" + ], + "dct_temporal_sm": "1951-10-22", + "dct_issued_s": "1951-10-22", + "gbl_indexYear_i": 1951, + "umass_annotated_s": "none", + "umass_geonames_sm": [ + "4950427" + ], + "dct_spatial_sm": [ + "Scorton Shores, MA", + "Town of Sandwich, MA", + "Barnstable County, MA" + ], + "locn_geometry": "ENVELOPE(-70.416495, -70.357003, 41.762370, 41.718035)", + "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", + "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", + "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", + "dct_accessRights_s": "Public", + "dct_format_s": "GeoTIFF", + "gbl_fileSize_s": "90 MB", + "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpl2k3-i001\",\"http://schema.org/downloadUrl\":[{\"url\":\"https://credo.library.umass.edu/media/mufs190-1951-dpl2k3-i001.reference.tif\",\"label\":\"GeoTIFF\"},{\"url\":\"https://credo.library.umass.edu/images/resize/full/mufs190-1951-dpl2k3-i001-001.jpg\",\"label\":\"High-Res JPG\"}],\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpl2k3-i001-001.tif/info.json\"}", + "id": "umass-mufs190-1951-dpl2k3-i001", + "dct_identifier_sm": "mufs190-1951-dpl2k3-i001", + "gbl_mdModified_dt": "2021-08-27T17:38:46Z", + "gbl_mdVersion_s": "Aardvark", + "gbl_suppressed_b": false, + "gbl_georeferenced_b": true +} \ No newline at end of file diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpl2k3-i001_geoblacklight.json b/test/fixtures/files/umass_documents/mufs190-1951-dpl2k3-i001_geoblacklight.json deleted file mode 100644 index 6a040d3..0000000 --- a/test/fixtures/files/umass_documents/mufs190-1951-dpl2k3-i001_geoblacklight.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "dct_title_s": "1:20k Aerial Photograph (B/W): Barnstable County (Mass.), 1951 (dpl-2k-3)", - "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of Barnstable County, Massachusetts, with a 8 1/4 inch focal length camera at a scale of 1:20,000. This image is part of a larger series covering the entire state that was undertaken in 1951-1952 by William P. MacConnell (Class of 1943) in the Department of Forestry and Wildlife Management, University of Massachusetts Amherst. The purpose of the program was to capture photography that could be used to map forests, agricultural fields, wetlands, and other land cover across Massachusetts. The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", - "dct_language_sm": "English", - "dct_creator_sm": "MacConnell, William Preston, 1918-", - "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", - "schema_provider_s": "UMass", - "gbl_resourceClass_sm": "Imagery", - "gbl_resourceType_sm": "Raster", - "dct_subject_sm": [ - "Environment", - "Imagery and Base Maps", - "Land Cover", - "Planning and Cadastral", - "Structure" - ], - "dcat_theme_sm": [ - "environment", - "imageryBaseMapsEarthCover", - "inlandWaters", - "planningCadastre", - "structure" - ], - "dct_temporal_sm": "1951-10-22", - "dct_issued_s": "1951-10-22", - "gbl_indexYear_i": 1951, - "dct_spatial_sm": "Scorton Shores, Town of Sandwich, Barnstable County, Massachusetts, United States", - "locn_geometry": "ENVELOPE(-70.416495, -70.357003, 41.762370, 41.718035)", - "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", - "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", - "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", - "dct_accessRights_s": "Public", - "dct_format_s": "GeoTIFF", - "gbl_fileSize_s": "88.8 MB", - "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpl2k3-i001\",\"http://schema.org/downloadUrl\":\"https://credo.library.umass.edu/media/mufs190-1951-dpl2k3-i001.reference.tif\",\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpl2k3-i001-001.tif/info.json\"}", - "id": "umass-mufs190-1951-dpl2k3-i001", - "dct_identifier_sm": "mufs190-1951-dpl2k3-i001", - "gbl_mdModified_dt": "2021-03-12T18:00:00Z", - "gbl_mdVersion_s": "Aardvark" -} diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpl2k4-i001.json b/test/fixtures/files/umass_documents/mufs190-1951-dpl2k4-i001.json new file mode 100644 index 0000000..4be2b02 --- /dev/null +++ b/test/fixtures/files/umass_documents/mufs190-1951-dpl2k4-i001.json @@ -0,0 +1,51 @@ +{ + "dct_title_s": "1:20k Aerial Photograph (B/W): City of Barnstable Town, MA, 1951 (dpl-2k-4)", + "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of West Barnstable (City of Barnstable Town, Barnstable County, MA). The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", + "dct_language_sm": "English", + "dct_creator_sm": "MacConnell, William Preston, 1918-", + "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", + "schema_provider_s": "UMass", + "gbl_resourceClass_sm": "Imagery", + "gbl_resourceType_sm": "Raster", + "dct_subject_sm": [ + "Environment", + "Imagery and Base Maps", + "Land Cover", + "Planning and Cadastral", + "Structure" + ], + "dcat_theme_sm": [ + "environment", + "imageryBaseMapsEarthCover", + "inlandWaters", + "planningCadastre", + "structure" + ], + "dct_temporal_sm": "1951-10-22", + "dct_issued_s": "1951-10-22", + "gbl_indexYear_i": 1951, + "umass_annotated_s": "full", + "umass_geonames_sm": [ + "4832322", + "4950427" + ], + "dct_spatial_sm": [ + "West Barnstable, MA", + "City of Barnstable Town, MA", + "Barnstable County, MA" + ], + "locn_geometry": "ENVELOPE(-70.417115, -70.355968, 41.745119, 41.699576)", + "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", + "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", + "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", + "dct_accessRights_s": "Public", + "dct_format_s": "GeoTIFF", + "gbl_fileSize_s": "90 MB", + "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpl2k4-i001\",\"http://schema.org/downloadUrl\":[{\"url\":\"https://credo.library.umass.edu/media/mufs190-1951-dpl2k4-i001.reference.tif\",\"label\":\"GeoTIFF\"},{\"url\":\"https://credo.library.umass.edu/images/resize/full/mufs190-1951-dpl2k4-i001-001.jpg\",\"label\":\"High-Res JPG\"}],\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpl2k4-i001-001.tif/info.json\"}", + "id": "umass-mufs190-1951-dpl2k4-i001", + "dct_identifier_sm": "mufs190-1951-dpl2k4-i001", + "gbl_mdModified_dt": "2021-08-27T17:38:46Z", + "gbl_mdVersion_s": "Aardvark", + "gbl_suppressed_b": false, + "gbl_georeferenced_b": true +} \ No newline at end of file diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpl2k4-i001_geoblacklight.json b/test/fixtures/files/umass_documents/mufs190-1951-dpl2k4-i001_geoblacklight.json deleted file mode 100644 index 422e748..0000000 --- a/test/fixtures/files/umass_documents/mufs190-1951-dpl2k4-i001_geoblacklight.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "dct_title_s": "1:20k Aerial Photograph (B/W): Barnstable County (Mass.), 1951 (dpl-2k-4)", - "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of Barnstable County, Massachusetts, with a 8 1/4 inch focal length camera at a scale of 1:20,000. This image is part of a larger series covering the entire state that was undertaken in 1951-1952 by William P. MacConnell (Class of 1943) in the Department of Forestry and Wildlife Management, University of Massachusetts Amherst. The purpose of the program was to capture photography that could be used to map forests, agricultural fields, wetlands, and other land cover across Massachusetts. The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", - "dct_language_sm": "English", - "dct_creator_sm": "MacConnell, William Preston, 1918-", - "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", - "schema_provider_s": "UMass", - "gbl_resourceClass_sm": "Imagery", - "gbl_resourceType_sm": "Raster", - "dct_subject_sm": [ - "Environment", - "Imagery and Base Maps", - "Land Cover", - "Planning and Cadastral", - "Structure" - ], - "dcat_theme_sm": [ - "environment", - "imageryBaseMapsEarthCover", - "inlandWaters", - "planningCadastre", - "structure" - ], - "dct_temporal_sm": "1951-10-22", - "dct_issued_s": "1951-10-22", - "gbl_indexYear_i": 1951, - "dct_spatial_sm": "West Barnstable, City of Barnstable Town, Barnstable County, Massachusetts, United States", - "locn_geometry": "ENVELOPE(-70.417115, -70.355968, 41.745119, 41.699576)", - "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", - "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", - "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", - "dct_accessRights_s": "Public", - "dct_format_s": "GeoTIFF", - "gbl_fileSize_s": "90.9 MB", - "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpl2k4-i001\",\"http://schema.org/downloadUrl\":\"https://credo.library.umass.edu/media/mufs190-1951-dpl2k4-i001.reference.tif\",\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpl2k4-i001-001.tif/info.json\"}", - "id": "umass-mufs190-1951-dpl2k4-i001", - "dct_identifier_sm": "mufs190-1951-dpl2k4-i001", - "gbl_mdModified_dt": "2021-03-12T18:00:00Z", - "gbl_mdVersion_s": "Aardvark" -} diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpl2k5-i001.json b/test/fixtures/files/umass_documents/mufs190-1951-dpl2k5-i001.json new file mode 100644 index 0000000..4e1c81f --- /dev/null +++ b/test/fixtures/files/umass_documents/mufs190-1951-dpl2k5-i001.json @@ -0,0 +1,50 @@ +{ + "dct_title_s": "1:20k Aerial Photograph (B/W): City of Barnstable Town, MA, 1951 (dpl-2k-5)", + "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of West Barnstable (City of Barnstable Town, Barnstable County, MA). The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", + "dct_language_sm": "English", + "dct_creator_sm": "MacConnell, William Preston, 1918-", + "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", + "schema_provider_s": "UMass", + "gbl_resourceClass_sm": "Imagery", + "gbl_resourceType_sm": "Raster", + "dct_subject_sm": [ + "Environment", + "Imagery and Base Maps", + "Land Cover", + "Planning and Cadastral", + "Structure" + ], + "dcat_theme_sm": [ + "environment", + "imageryBaseMapsEarthCover", + "inlandWaters", + "planningCadastre", + "structure" + ], + "dct_temporal_sm": "1951-10-22", + "dct_issued_s": "1951-10-22", + "gbl_indexYear_i": 1951, + "umass_annotated_s": "none", + "umass_geonames_sm": [ + "4832322" + ], + "dct_spatial_sm": [ + "West Barnstable, MA", + "City of Barnstable Town, MA", + "Barnstable County, MA" + ], + "locn_geometry": "ENVELOPE(-70.418717, -70.358038, 41.729528, 41.683920)", + "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", + "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", + "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", + "dct_accessRights_s": "Public", + "dct_format_s": "GeoTIFF", + "gbl_fileSize_s": "90 MB", + "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpl2k5-i001\",\"http://schema.org/downloadUrl\":[{\"url\":\"https://credo.library.umass.edu/media/mufs190-1951-dpl2k5-i001.reference.tif\",\"label\":\"GeoTIFF\"},{\"url\":\"https://credo.library.umass.edu/images/resize/full/mufs190-1951-dpl2k5-i001-001.jpg\",\"label\":\"High-Res JPG\"}],\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpl2k5-i001-001.tif/info.json\"}", + "id": "umass-mufs190-1951-dpl2k5-i001", + "dct_identifier_sm": "mufs190-1951-dpl2k5-i001", + "gbl_mdModified_dt": "2021-08-27T17:38:46Z", + "gbl_mdVersion_s": "Aardvark", + "gbl_suppressed_b": false, + "gbl_georeferenced_b": true +} \ No newline at end of file diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpl2k5-i001_geoblacklight.json b/test/fixtures/files/umass_documents/mufs190-1951-dpl2k5-i001_geoblacklight.json deleted file mode 100644 index 4c79722..0000000 --- a/test/fixtures/files/umass_documents/mufs190-1951-dpl2k5-i001_geoblacklight.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "dct_title_s": "1:20k Aerial Photograph (B/W): Barnstable County (Mass.), 1951 (dpl-2k-5)", - "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of Barnstable County, Massachusetts, with a 8 1/4 inch focal length camera at a scale of 1:20,000. This image is part of a larger series covering the entire state that was undertaken in 1951-1952 by William P. MacConnell (Class of 1943) in the Department of Forestry and Wildlife Management, University of Massachusetts Amherst. The purpose of the program was to capture photography that could be used to map forests, agricultural fields, wetlands, and other land cover across Massachusetts. The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", - "dct_language_sm": "English", - "dct_creator_sm": "MacConnell, William Preston, 1918-", - "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", - "schema_provider_s": "UMass", - "gbl_resourceClass_sm": "Imagery", - "gbl_resourceType_sm": "Raster", - "dct_subject_sm": [ - "Environment", - "Imagery and Base Maps", - "Land Cover", - "Planning and Cadastral", - "Structure" - ], - "dcat_theme_sm": [ - "environment", - "imageryBaseMapsEarthCover", - "inlandWaters", - "planningCadastre", - "structure" - ], - "dct_temporal_sm": "1951-10-22", - "dct_issued_s": "1951-10-22", - "gbl_indexYear_i": 1951, - "dct_spatial_sm": "West Barnstable, City of Barnstable Town, Barnstable County, Massachusetts, United States", - "locn_geometry": "ENVELOPE(-70.418717, -70.358038, 41.729528, 41.683920)", - "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", - "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", - "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", - "dct_accessRights_s": "Public", - "dct_format_s": "GeoTIFF", - "gbl_fileSize_s": "88.8 MB", - "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpl2k5-i001\",\"http://schema.org/downloadUrl\":\"https://credo.library.umass.edu/media/mufs190-1951-dpl2k5-i001.reference.tif\",\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpl2k5-i001-001.tif/info.json\"}", - "id": "umass-mufs190-1951-dpl2k5-i001", - "dct_identifier_sm": "mufs190-1951-dpl2k5-i001", - "gbl_mdModified_dt": "2021-03-12T18:00:00Z", - "gbl_mdVersion_s": "Aardvark" -} diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpl2k6-i001.json b/test/fixtures/files/umass_documents/mufs190-1951-dpl2k6-i001.json new file mode 100644 index 0000000..b2411e8 --- /dev/null +++ b/test/fixtures/files/umass_documents/mufs190-1951-dpl2k6-i001.json @@ -0,0 +1,50 @@ +{ + "dct_title_s": "1:20k Aerial Photograph (B/W): City of Barnstable Town, MA, 1951 (dpl-2k-6)", + "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of West Barnstable (City of Barnstable Town, Barnstable County, MA). The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", + "dct_language_sm": "English", + "dct_creator_sm": "MacConnell, William Preston, 1918-", + "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", + "schema_provider_s": "UMass", + "gbl_resourceClass_sm": "Imagery", + "gbl_resourceType_sm": "Raster", + "dct_subject_sm": [ + "Environment", + "Imagery and Base Maps", + "Land Cover", + "Planning and Cadastral", + "Structure" + ], + "dcat_theme_sm": [ + "environment", + "imageryBaseMapsEarthCover", + "inlandWaters", + "planningCadastre", + "structure" + ], + "dct_temporal_sm": "1951-10-22", + "dct_issued_s": "1951-10-22", + "gbl_indexYear_i": 1951, + "umass_annotated_s": "full", + "umass_geonames_sm": [ + "4832322" + ], + "dct_spatial_sm": [ + "West Barnstable, MA", + "City of Barnstable Town, MA", + "Barnstable County, MA" + ], + "locn_geometry": "ENVELOPE(-70.417570, -70.357382, 41.711760, 41.666855)", + "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", + "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", + "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", + "dct_accessRights_s": "Public", + "dct_format_s": "GeoTIFF", + "gbl_fileSize_s": "90 MB", + "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpl2k6-i001\",\"http://schema.org/downloadUrl\":[{\"url\":\"https://credo.library.umass.edu/media/mufs190-1951-dpl2k6-i001.reference.tif\",\"label\":\"GeoTIFF\"},{\"url\":\"https://credo.library.umass.edu/images/resize/full/mufs190-1951-dpl2k6-i001-001.jpg\",\"label\":\"High-Res JPG\"}],\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpl2k6-i001-001.tif/info.json\"}", + "id": "umass-mufs190-1951-dpl2k6-i001", + "dct_identifier_sm": "mufs190-1951-dpl2k6-i001", + "gbl_mdModified_dt": "2021-08-27T17:38:46Z", + "gbl_mdVersion_s": "Aardvark", + "gbl_suppressed_b": false, + "gbl_georeferenced_b": true +} \ No newline at end of file diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpl2k6-i001_geoblacklight.json b/test/fixtures/files/umass_documents/mufs190-1951-dpl2k6-i001_geoblacklight.json deleted file mode 100644 index 55756e0..0000000 --- a/test/fixtures/files/umass_documents/mufs190-1951-dpl2k6-i001_geoblacklight.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "dct_title_s": "1:20k Aerial Photograph (B/W): Barnstable County (Mass.), 1951 (dpl-2k-6)", - "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of Barnstable County, Massachusetts, with a 8 1/4 inch focal length camera at a scale of 1:20,000. This image is part of a larger series covering the entire state that was undertaken in 1951-1952 by William P. MacConnell (Class of 1943) in the Department of Forestry and Wildlife Management, University of Massachusetts Amherst. The purpose of the program was to capture photography that could be used to map forests, agricultural fields, wetlands, and other land cover across Massachusetts. The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", - "dct_language_sm": "English", - "dct_creator_sm": "MacConnell, William Preston, 1918-", - "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", - "schema_provider_s": "UMass", - "gbl_resourceClass_sm": "Imagery", - "gbl_resourceType_sm": "Raster", - "dct_subject_sm": [ - "Environment", - "Imagery and Base Maps", - "Land Cover", - "Planning and Cadastral", - "Structure" - ], - "dcat_theme_sm": [ - "environment", - "imageryBaseMapsEarthCover", - "inlandWaters", - "planningCadastre", - "structure" - ], - "dct_temporal_sm": "1951-10-22", - "dct_issued_s": "1951-10-22", - "gbl_indexYear_i": 1951, - "dct_spatial_sm": "West Barnstable, City of Barnstable Town, Barnstable County, Massachusetts, United States", - "locn_geometry": "ENVELOPE(-70.417570, -70.357382, 41.711760, 41.666855)", - "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", - "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", - "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", - "dct_accessRights_s": "Public", - "dct_format_s": "GeoTIFF", - "gbl_fileSize_s": "88.8 MB", - "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpl2k6-i001\",\"http://schema.org/downloadUrl\":\"https://credo.library.umass.edu/media/mufs190-1951-dpl2k6-i001.reference.tif\",\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpl2k6-i001-001.tif/info.json\"}", - "id": "umass-mufs190-1951-dpl2k6-i001", - "dct_identifier_sm": "mufs190-1951-dpl2k6-i001", - "gbl_mdModified_dt": "2021-03-12T18:00:00Z", - "gbl_mdVersion_s": "Aardvark" -} diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpn1k100-i001.json b/test/fixtures/files/umass_documents/mufs190-1951-dpn1k100-i001.json new file mode 100644 index 0000000..387d5ba --- /dev/null +++ b/test/fixtures/files/umass_documents/mufs190-1951-dpn1k100-i001.json @@ -0,0 +1,50 @@ +{ + "dct_title_s": "1:20k Aerial Photograph (B/W): Town of Dighton, MA, 1951 (dpn-1k-100)", + "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of West Dighton (Town of Dighton, Bristol County, MA). The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", + "dct_language_sm": "English", + "dct_creator_sm": "MacConnell, William Preston, 1918-", + "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", + "schema_provider_s": "UMass", + "gbl_resourceClass_sm": "Imagery", + "gbl_resourceType_sm": "Raster", + "dct_subject_sm": [ + "Environment", + "Imagery and Base Maps", + "Land Cover", + "Planning and Cadastral", + "Structure" + ], + "dcat_theme_sm": [ + "environment", + "imageryBaseMapsEarthCover", + "inlandWaters", + "planningCadastre", + "structure" + ], + "dct_temporal_sm": "1951-10-20", + "dct_issued_s": "1951-10-20", + "gbl_indexYear_i": 1951, + "umass_annotated_s": "none", + "umass_geonames_sm": [ + "4954932" + ], + "dct_spatial_sm": [ + "West Dighton, MA", + "Town of Dighton, MA", + "Bristol County, MA" + ], + "locn_geometry": "ENVELOPE(-71.243702, -71.185797, 41.865160, 41.821688)", + "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", + "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", + "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", + "dct_accessRights_s": "Public", + "dct_format_s": "GeoTIFF", + "gbl_fileSize_s": "90 MB", + "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpn1k100-i001\",\"http://schema.org/downloadUrl\":[{\"url\":\"https://credo.library.umass.edu/media/mufs190-1951-dpn1k100-i001.reference.tif\",\"label\":\"GeoTIFF\"},{\"url\":\"https://credo.library.umass.edu/images/resize/full/mufs190-1951-dpn1k100-i001-001.jpg\",\"label\":\"High-Res JPG\"}],\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpn1k100-i001-001.tif/info.json\"}", + "id": "umass-mufs190-1951-dpn1k100-i001", + "dct_identifier_sm": "mufs190-1951-dpn1k100-i001", + "gbl_mdModified_dt": "2021-08-27T17:38:46Z", + "gbl_mdVersion_s": "Aardvark", + "gbl_suppressed_b": false, + "gbl_georeferenced_b": true +} \ No newline at end of file diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpn1k100-i001_geoblacklight.json b/test/fixtures/files/umass_documents/mufs190-1951-dpn1k100-i001_geoblacklight.json deleted file mode 100644 index 6826ee6..0000000 --- a/test/fixtures/files/umass_documents/mufs190-1951-dpn1k100-i001_geoblacklight.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "dct_title_s": "1:20k Aerial Photograph (B/W): Bristol County (Mass.), 1951 (dpn-1k-100)", - "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of Bristol County, Massachusetts, with a 8 1/4 inch focal length camera at a scale of 1:20,000. This image is part of a larger series covering the entire state that was undertaken in 1951-1952 by William P. MacConnell (Class of 1943) in the Department of Forestry and Wildlife Management, University of Massachusetts Amherst. The purpose of the program was to capture photography that could be used to map forests, agricultural fields, wetlands, and other land cover across Massachusetts. The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", - "dct_language_sm": "English", - "dct_creator_sm": "MacConnell, William Preston, 1918-", - "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", - "schema_provider_s": "UMass", - "gbl_resourceClass_sm": "Imagery", - "gbl_resourceType_sm": "Raster", - "dct_subject_sm": [ - "Environment", - "Imagery and Base Maps", - "Land Cover", - "Planning and Cadastral", - "Structure" - ], - "dcat_theme_sm": [ - "environment", - "imageryBaseMapsEarthCover", - "inlandWaters", - "planningCadastre", - "structure" - ], - "dct_temporal_sm": "1951-10-20", - "dct_issued_s": "1951-10-20", - "gbl_indexYear_i": 1951, - "dct_spatial_sm": "West Dighton, Town of Dighton, Bristol County, Massachusetts, United States", - "locn_geometry": "ENVELOPE(-71.243702, -71.185797, 41.86516, 41.821688)", - "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", - "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", - "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", - "dct_accessRights_s": "Public", - "dct_format_s": "GeoTIFF", - "gbl_fileSize_s": "88.8 MB", - "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpn1k100-i001\",\"http://schema.org/downloadUrl\":\"https://credo.library.umass.edu/media/mufs190-1951-dpn1k100-i001.reference.tif\",\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpn1k100-i001-001.tif/info.json\"}", - "id": "umass-mufs190-1951-dpn1k100-i001", - "dct_identifier_sm": "mufs190-1951-dpn1k100-i001", - "gbl_mdModified_dt": "2021-03-12T18:00:00Z", - "gbl_mdVersion_s": "Aardvark" -} diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpn1k101-i001.json b/test/fixtures/files/umass_documents/mufs190-1951-dpn1k101-i001.json new file mode 100644 index 0000000..6735179 --- /dev/null +++ b/test/fixtures/files/umass_documents/mufs190-1951-dpn1k101-i001.json @@ -0,0 +1,50 @@ +{ + "dct_title_s": "1:20k Aerial Photograph (B/W): Town of Dighton, MA, 1951 (dpm-1k-101)", + "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of West Dighton (Town of Dighton, Bristol County, MA). The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", + "dct_language_sm": "English", + "dct_creator_sm": "MacConnell, William Preston, 1918-", + "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", + "schema_provider_s": "UMass", + "gbl_resourceClass_sm": "Imagery", + "gbl_resourceType_sm": "Raster", + "dct_subject_sm": [ + "Environment", + "Imagery and Base Maps", + "Land Cover", + "Planning and Cadastral", + "Structure" + ], + "dcat_theme_sm": [ + "environment", + "imageryBaseMapsEarthCover", + "inlandWaters", + "planningCadastre", + "structure" + ], + "dct_temporal_sm": "1951-10-20", + "dct_issued_s": "1951-10-20", + "gbl_indexYear_i": 1951, + "umass_annotated_s": "full", + "umass_geonames_sm": [ + "4954932" + ], + "dct_spatial_sm": [ + "West Dighton, MA", + "Town of Dighton, MA", + "Bristol County, MA" + ], + "locn_geometry": "ENVELOPE(-71.242901, -71.184721, 41.881183, 41.837430)", + "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", + "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", + "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", + "dct_accessRights_s": "Public", + "dct_format_s": "GeoTIFF", + "gbl_fileSize_s": "90 MB", + "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpn1k101-i001\",\"http://schema.org/downloadUrl\":[{\"url\":\"https://credo.library.umass.edu/media/mufs190-1951-dpn1k101-i001.reference.tif\",\"label\":\"GeoTIFF\"},{\"url\":\"https://credo.library.umass.edu/images/resize/full/mufs190-1951-dpn1k101-i001-001.jpg\",\"label\":\"High-Res JPG\"}],\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpn1k101-i001-001.tif/info.json\"}", + "id": "umass-mufs190-1951-dpn1k101-i001", + "dct_identifier_sm": "mufs190-1951-dpn1k101-i001", + "gbl_mdModified_dt": "2021-08-27T17:38:46Z", + "gbl_mdVersion_s": "Aardvark", + "gbl_suppressed_b": false, + "gbl_georeferenced_b": true +} \ No newline at end of file diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpn1k101-i001_geoblacklight.json b/test/fixtures/files/umass_documents/mufs190-1951-dpn1k101-i001_geoblacklight.json deleted file mode 100644 index b5b54a5..0000000 --- a/test/fixtures/files/umass_documents/mufs190-1951-dpn1k101-i001_geoblacklight.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "dct_title_s": "1:20k Aerial Photograph (B/W): Bristol County (Mass.), 1951 (dpn-1k-101)", - "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of Bristol County, Massachusetts, with a 8 1/4 inch focal length camera at a scale of 1:20,000. This image is part of a larger series covering the entire state that was undertaken in 1951-1952 by William P. MacConnell (Class of 1943) in the Department of Forestry and Wildlife Management, University of Massachusetts Amherst. The purpose of the program was to capture photography that could be used to map forests, agricultural fields, wetlands, and other land cover across Massachusetts. The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", - "dct_language_sm": "English", - "dct_creator_sm": "MacConnell, William Preston, 1918-", - "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", - "schema_provider_s": "UMass", - "gbl_resourceClass_sm": "Imagery", - "gbl_resourceType_sm": "Raster", - "dct_subject_sm": [ - "Environment", - "Imagery and Base Maps", - "Land Cover", - "Planning and Cadastral", - "Structure" - ], - "dcat_theme_sm": [ - "environment", - "imageryBaseMapsEarthCover", - "inlandWaters", - "planningCadastre", - "structure" - ], - "dct_temporal_sm": "1951-10-20", - "dct_issued_s": "1951-10-20", - "gbl_indexYear_i": 1951, - "dct_spatial_sm": "West Dighton, Town of Dighton, Bristol County, Massachusetts, United States", - "locn_geometry": "ENVELOPE(-71.242901, -71.184721, 41.881183, 41.837430)", - "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", - "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", - "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", - "dct_accessRights_s": "Public", - "dct_format_s": "GeoTIFF", - "gbl_fileSize_s": "90.8 MB", - "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpn1k101-i001\",\"http://schema.org/downloadUrl\":\"https://credo.library.umass.edu/media/mufs190-1951-dpn1k101-i001.reference.tif\",\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpn1k101-i001-001.tif/info.json\"}", - "id": "umass-mufs190-1951-dpn1k101-i001", - "dct_identifier_sm": "mufs190-1951-dpn1k101-i001", - "gbl_mdModified_dt": "2021-03-12T18:00:00Z", - "gbl_mdVersion_s": "Aardvark" -} diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpn1k102-i001.json b/test/fixtures/files/umass_documents/mufs190-1951-dpn1k102-i001.json new file mode 100644 index 0000000..2e0ccd0 --- /dev/null +++ b/test/fixtures/files/umass_documents/mufs190-1951-dpn1k102-i001.json @@ -0,0 +1,50 @@ +{ + "dct_title_s": "1:20k Aerial Photograph (B/W): Town of Rehoboth, MA, 1951 (dpn-1k-102)", + "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of North Rehoboth (Town of Rehoboth, Bristol County, MA). The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", + "dct_language_sm": "English", + "dct_creator_sm": "MacConnell, William Preston, 1918-", + "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", + "schema_provider_s": "UMass", + "gbl_resourceClass_sm": "Imagery", + "gbl_resourceType_sm": "Raster", + "dct_subject_sm": [ + "Environment", + "Imagery and Base Maps", + "Land Cover", + "Planning and Cadastral", + "Structure" + ], + "dcat_theme_sm": [ + "environment", + "imageryBaseMapsEarthCover", + "inlandWaters", + "planningCadastre", + "structure" + ], + "dct_temporal_sm": "1951-10-20", + "dct_issued_s": "1951-10-20", + "gbl_indexYear_i": 1951, + "umass_annotated_s": "none", + "umass_geonames_sm": [ + "" + ], + "dct_spatial_sm": [ + "North Rehoboth, MA", + "Town of Rehoboth, MA", + "Bristol County, MA" + ], + "locn_geometry": "ENVELOPE(-71.241869, -71.185347, 41.898254, 41.855455)", + "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", + "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", + "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", + "dct_accessRights_s": "Public", + "dct_format_s": "GeoTIFF", + "gbl_fileSize_s": "90 MB", + "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpn1k102-i001\",\"http://schema.org/downloadUrl\":[{\"url\":\"https://credo.library.umass.edu/media/mufs190-1951-dpn1k102-i001.reference.tif\",\"label\":\"GeoTIFF\"},{\"url\":\"https://credo.library.umass.edu/images/resize/full/mufs190-1951-dpn1k102-i001-001.jpg\",\"label\":\"High-Res JPG\"}],\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpn1k102-i001-001.tif/info.json\"}", + "id": "umass-mufs190-1951-dpn1k102-i001", + "dct_identifier_sm": "mufs190-1951-dpn1k102-i001", + "gbl_mdModified_dt": "2021-08-27T17:38:46Z", + "gbl_mdVersion_s": "Aardvark", + "gbl_suppressed_b": false, + "gbl_georeferenced_b": true +} \ No newline at end of file diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpn1k102-i001_geoblacklight.json b/test/fixtures/files/umass_documents/mufs190-1951-dpn1k102-i001_geoblacklight.json deleted file mode 100644 index 1584c67..0000000 --- a/test/fixtures/files/umass_documents/mufs190-1951-dpn1k102-i001_geoblacklight.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "dct_title_s": "1:20k Aerial Photograph (B/W): Bristol County (Mass.), 1951 (dpn-1k-102)", - "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of Bristol County, Massachusetts, with a 8 1/4 inch focal length camera at a scale of 1:20,000. This image is part of a larger series covering the entire state that was undertaken in 1951-1952 by William P. MacConnell (Class of 1943) in the Department of Forestry and Wildlife Management, University of Massachusetts Amherst. The purpose of the program was to capture photography that could be used to map forests, agricultural fields, wetlands, and other land cover across Massachusetts. The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", - "dct_language_sm": "English", - "dct_creator_sm": "MacConnell, William Preston, 1918-", - "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", - "schema_provider_s": "UMass", - "gbl_resourceClass_sm": "Imagery", - "gbl_resourceType_sm": "Raster", - "dct_subject_sm": [ - "Environment", - "Imagery and Base Maps", - "Land Cover", - "Planning and Cadastral", - "Structure" - ], - "dcat_theme_sm": [ - "environment", - "imageryBaseMapsEarthCover", - "inlandWaters", - "planningCadastre", - "structure" - ], - "dct_temporal_sm": "1951-10-20", - "dct_issued_s": "1951-10-20", - "gbl_indexYear_i": 1951, - "locn_geometry": "ENVELOPE(-71.241869, -71.185347, 41.898254, 41.855455)", - "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", - "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", - "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", - "dct_accessRights_s": "Public", - "dct_format_s": "GeoTIFF", - "gbl_fileSize_s": "90.8 MB", - "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpn1k102-i001\",\"http://schema.org/downloadUrl\":\"https://credo.library.umass.edu/media/mufs190-1951-dpn1k102-i001.reference.tif\",\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpn1k102-i001-001.tif/info.json\"}", - "id": "umass-mufs190-1951-dpn1k102-i001", - "dct_identifier_sm": "mufs190-1951-dpn1k102-i001", - "gbl_mdModified_dt": "2021-03-12T18:00:00Z", - "gbl_mdVersion_s": "Aardvark" -} diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpn1k103-i001.json b/test/fixtures/files/umass_documents/mufs190-1951-dpn1k103-i001.json new file mode 100644 index 0000000..1acf836 --- /dev/null +++ b/test/fixtures/files/umass_documents/mufs190-1951-dpn1k103-i001.json @@ -0,0 +1,50 @@ +{ + "dct_title_s": "1:20k Aerial Photograph (B/W): Town of Rehoboth, MA, 1951 (dpn-1k-103)", + "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of North Rehoboth (Town of Rehoboth, Bristol County, MA). The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", + "dct_language_sm": "English", + "dct_creator_sm": "MacConnell, William Preston, 1918-", + "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", + "schema_provider_s": "UMass", + "gbl_resourceClass_sm": "Imagery", + "gbl_resourceType_sm": "Raster", + "dct_subject_sm": [ + "Environment", + "Imagery and Base Maps", + "Land Cover", + "Planning and Cadastral", + "Structure" + ], + "dcat_theme_sm": [ + "environment", + "imageryBaseMapsEarthCover", + "inlandWaters", + "planningCadastre", + "structure" + ], + "dct_temporal_sm": "1951-10-20", + "dct_issued_s": "1951-10-20", + "gbl_indexYear_i": 1951, + "umass_annotated_s": "full", + "umass_geonames_sm": [ + "4945740" + ], + "dct_spatial_sm": [ + "North Rehoboth, MA", + "Town of Rehoboth, MA", + "Bristol County, MA" + ], + "locn_geometry": "ENVELOPE(-71.243416, -71.186565, 41.913588, 41.871286)", + "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", + "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", + "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", + "dct_accessRights_s": "Public", + "dct_format_s": "GeoTIFF", + "gbl_fileSize_s": "90 MB", + "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpn1k103-i001\",\"http://schema.org/downloadUrl\":[{\"url\":\"https://credo.library.umass.edu/media/mufs190-1951-dpn1k103-i001.reference.tif\",\"label\":\"GeoTIFF\"},{\"url\":\"https://credo.library.umass.edu/images/resize/full/mufs190-1951-dpn1k103-i001-001.jpg\",\"label\":\"High-Res JPG\"}],\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpn1k103-i001-001.tif/info.json\"}", + "id": "umass-mufs190-1951-dpn1k103-i001", + "dct_identifier_sm": "mufs190-1951-dpn1k103-i001", + "gbl_mdModified_dt": "2021-08-27T17:38:46Z", + "gbl_mdVersion_s": "Aardvark", + "gbl_suppressed_b": false, + "gbl_georeferenced_b": true +} \ No newline at end of file diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpn1k103-i001_geoblacklight.json b/test/fixtures/files/umass_documents/mufs190-1951-dpn1k103-i001_geoblacklight.json deleted file mode 100644 index 30b3503..0000000 --- a/test/fixtures/files/umass_documents/mufs190-1951-dpn1k103-i001_geoblacklight.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "dct_title_s": "1:20k Aerial Photograph (B/W): Bristol County (Mass.), 1951 (dpn-1k-103)", - "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of Bristol County, Massachusetts, with a 8 1/4 inch focal length camera at a scale of 1:20,000. This image is part of a larger series covering the entire state that was undertaken in 1951-1952 by William P. MacConnell (Class of 1943) in the Department of Forestry and Wildlife Management, University of Massachusetts Amherst. The purpose of the program was to capture photography that could be used to map forests, agricultural fields, wetlands, and other land cover across Massachusetts. The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", - "dct_language_sm": "English", - "dct_creator_sm": "MacConnell, William Preston, 1918-", - "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", - "schema_provider_s": "UMass", - "gbl_resourceClass_sm": "Imagery", - "gbl_resourceType_sm": "Raster", - "dct_subject_sm": [ - "Environment", - "Imagery and Base Maps", - "Land Cover", - "Planning and Cadastral", - "Structure" - ], - "dcat_theme_sm": [ - "environment", - "imageryBaseMapsEarthCover", - "inlandWaters", - "planningCadastre", - "structure" - ], - "dct_temporal_sm": "1951-10-20", - "dct_issued_s": "1951-10-20", - "gbl_indexYear_i": 1951, - "dct_spatial_sm": "North Rehoboth, Town of Rehoboth, Bristol County, Massachusetts, United States", - "locn_geometry": "ENVELOPE(-71.243416, -71.186565, 41.913588, 41.871286)", - "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", - "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", - "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", - "dct_accessRights_s": "Public", - "dct_format_s": "GeoTIFF", - "gbl_fileSize_s": "90.8 MB", - "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpn1k103-i001\",\"http://schema.org/downloadUrl\":\"https://credo.library.umass.edu/media/mufs190-1951-dpn1k103-i001.reference.tif\",\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpn1k103-i001-001.tif/info.json\"}", - "id": "umass-mufs190-1951-dpn1k103-i001", - "dct_identifier_sm": "mufs190-1951-dpn1k103-i001", - "gbl_mdModified_dt": "2021-03-12T18:00:00Z", - "gbl_mdVersion_s": "Aardvark" -} diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpn1k104-i001.json b/test/fixtures/files/umass_documents/mufs190-1951-dpn1k104-i001.json new file mode 100644 index 0000000..68fb057 --- /dev/null +++ b/test/fixtures/files/umass_documents/mufs190-1951-dpn1k104-i001.json @@ -0,0 +1,50 @@ +{ + "dct_title_s": "1:20k Aerial Photograph (B/W): Town of Rehoboth, MA, 1951 (dpn-1k-104)", + "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of North Rehoboth (Town of Rehoboth, Bristol County, MA). The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", + "dct_language_sm": "English", + "dct_creator_sm": "MacConnell, William Preston, 1918-", + "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", + "schema_provider_s": "UMass", + "gbl_resourceClass_sm": "Imagery", + "gbl_resourceType_sm": "Raster", + "dct_subject_sm": [ + "Environment", + "Imagery and Base Maps", + "Land Cover", + "Planning and Cadastral", + "Structure" + ], + "dcat_theme_sm": [ + "environment", + "imageryBaseMapsEarthCover", + "inlandWaters", + "planningCadastre", + "structure" + ], + "dct_temporal_sm": "1951-10-20", + "dct_issued_s": "1951-10-20", + "gbl_indexYear_i": 1951, + "umass_annotated_s": "none", + "umass_geonames_sm": [ + "4945740" + ], + "dct_spatial_sm": [ + "North Rehoboth, MA", + "Town of Rehoboth, MA", + "Bristol County, MA" + ], + "locn_geometry": "ENVELOPE(-71.240707, -71.183010, 41.928213, 41.885362)", + "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", + "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", + "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", + "dct_accessRights_s": "Public", + "dct_format_s": "GeoTIFF", + "gbl_fileSize_s": "90 MB", + "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpn1k104-i001\",\"http://schema.org/downloadUrl\":[{\"url\":\"https://credo.library.umass.edu/media/mufs190-1951-dpn1k104-i001.reference.tif\",\"label\":\"GeoTIFF\"},{\"url\":\"https://credo.library.umass.edu/images/resize/full/mufs190-1951-dpn1k104-i001-001.jpg\",\"label\":\"High-Res JPG\"}],\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpn1k104-i001-001.tif/info.json\"}", + "id": "umass-mufs190-1951-dpn1k104-i001", + "dct_identifier_sm": "mufs190-1951-dpn1k104-i001", + "gbl_mdModified_dt": "2021-08-27T17:38:46Z", + "gbl_mdVersion_s": "Aardvark", + "gbl_suppressed_b": false, + "gbl_georeferenced_b": true +} \ No newline at end of file diff --git a/test/fixtures/files/umass_documents/mufs190-1951-dpn1k104-i001_geoblacklight.json b/test/fixtures/files/umass_documents/mufs190-1951-dpn1k104-i001_geoblacklight.json deleted file mode 100644 index 6a982c5..0000000 --- a/test/fixtures/files/umass_documents/mufs190-1951-dpn1k104-i001_geoblacklight.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "dct_title_s": "1:20k Aerial Photograph (B/W): Bristol County (Mass.), 1951 (dpn-1k-104)", - "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1951 of Bristol County, Massachusetts, with a 8 1/4 inch focal length camera at a scale of 1:20,000. This image is part of a larger series covering the entire state that was undertaken in 1951-1952 by William P. MacConnell (Class of 1943) in the Department of Forestry and Wildlife Management, University of Massachusetts Amherst. The purpose of the program was to capture photography that could be used to map forests, agricultural fields, wetlands, and other land cover across Massachusetts. The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", - "dct_language_sm": "English", - "dct_creator_sm": "MacConnell, William Preston, 1918-", - "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", - "schema_provider_s": "UMass", - "gbl_resourceClass_sm": "Imagery", - "gbl_resourceType_sm": "Raster", - "dct_subject_sm": [ - "Environment", - "Imagery and Base Maps", - "Land Cover", - "Planning and Cadastral", - "Structure" - ], - "dcat_theme_sm": [ - "environment", - "imageryBaseMapsEarthCover", - "inlandWaters", - "planningCadastre", - "structure" - ], - "dct_temporal_sm": "1951-10-20", - "dct_issued_s": "1951-10-20", - "gbl_indexYear_i": 1951, - "dct_spatial_sm": "North Rehoboth, Town of Rehoboth, Bristol County, Massachusetts, United States", - "locn_geometry": "ENVELOPE(-71.240707, -71.183010, 41.928213, 41.885362)", - "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", - "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", - "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", - "dct_accessRights_s": "Public", - "dct_format_s": "GeoTIFF", - "gbl_fileSize_s": "88.8 MB", - "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1951-dpn1k104-i001\",\"http://schema.org/downloadUrl\":\"https://credo.library.umass.edu/media/mufs190-1951-dpn1k104-i001.reference.tif\",\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1951-dpn1k104-i001-001.tif/info.json\"}", - "id": "umass-mufs190-1951-dpn1k104-i001", - "dct_identifier_sm": "mufs190-1951-dpn1k104-i001", - "gbl_mdModified_dt": "2021-03-12T18:00:00Z", - "gbl_mdVersion_s": "Aardvark" -} diff --git a/test/fixtures/files/umass_documents/mufs190-1952-dpb6h54-i001.json b/test/fixtures/files/umass_documents/mufs190-1952-dpb6h54-i001.json new file mode 100644 index 0000000..c7634b7 --- /dev/null +++ b/test/fixtures/files/umass_documents/mufs190-1952-dpb6h54-i001.json @@ -0,0 +1,52 @@ +{ + "dct_title_s": "1:20k Aerial Photograph (B/W): Town of Amherst, MA, 1952 (dpb-6h-54)", + "dct_description_sm": "Georeferenced black-and-white aerial photograph captured in 1952 of North Amherst (Town of Amherst, Hampshire County, MA). The photograph was scanned and manually georeferenced in ArcMap 10.8 against 2019 color orthoimagery from the U.S. Geological Survey.", + "dct_language_sm": "English", + "dct_creator_sm": "MacConnell, William Preston, 1918-", + "dct_publisher_sm": "University of Massachusetts at Amherst. Department of Forestry and Wildlife Management", + "schema_provider_s": "UMass", + "gbl_resourceClass_sm": "Imagery", + "gbl_resourceType_sm": "Raster", + "dct_subject_sm": [ + "Environment", + "Imagery and Base Maps", + "Land Cover", + "Planning and Cadastral", + "Structure" + ], + "dcat_theme_sm": [ + "environment", + "imageryBaseMapsEarthCover", + "inlandWaters", + "planningCadastre", + "structure" + ], + "dct_temporal_sm": "1952-06-16", + "dct_issued_s": "1952-06-16", + "gbl_indexYear_i": 1952, + "umass_annotated_s": "partial", + "umass_geonames_sm": [ + "4945497", + "4936084", + "4934376" + ], + "dct_spatial_sm": [ + "North Amherst, MA", + "Town of Amherst, MA", + "Hampshire County, MA" + ], + "locn_geometry": "ENVELOPE(-72.554379, -72.497256, 42.442769, 42.400439)", + "pcdm_memberOf_sm": "William P. MacConnell Aerial Photograph Collection", + "dct_rights_sm": "Requests to publish, redistribute, or replicate this material should be addressed to Special Collections and University Archives, University of Massachusetts Amherst Libraries.", + "dct_rightsHolder_sm": "Special Collections and University Archives, University of Massachusetts Amherst Libraries", + "dct_accessRights_s": "Public", + "dct_format_s": "GeoTIFF", + "gbl_fileSize_s": "90 MB", + "dct_references_s": "{\"http://schema.org/url\":\"https://credo.library.umass.edu/view/full/mufs190-1952-dpb6h54-i001\",\"http://schema.org/downloadUrl\":[{\"url\":\"https://credo.library.umass.edu/media/mufs190-1952-dpb6h54-i001.reference.tif\",\"label\":\"GeoTIFF\"},{\"url\":\"https://credo.library.umass.edu/images/resize/full/mufs190-1952-dpb6h54-i001-001.jpg\",\"label\":\"High-Res JPG\"}],\"http://iiif.io/api/image\":\"https://credo.library.umass.edu/iiif/mufs190-1952-dpb6h54-i001-001.tif/info.json\"}", + "id": "umass-mufs190-1952-dpb6h54-i001", + "dct_identifier_sm": "mufs190-1952-dpb6h54-i001", + "gbl_mdModified_dt": "2021-08-27T17:38:46Z", + "gbl_mdVersion_s": "Aardvark", + "gbl_suppressed_b": false, + "gbl_georeferenced_b": true +}