- ©2021
+ © <%= Date.today.year %>
diff --git a/config/locales/blacklight.en.yml b/config/locales/blacklight.en.yml
index ae2ecb3..80260e0 100644
--- a/config/locales/blacklight.en.yml
+++ b/config/locales/blacklight.en.yml
@@ -1,6 +1,6 @@
en:
blacklight:
- application_name: 'GeoData'
+ application_name: 'UMAP GeoData'
search:
form:
search:
diff --git a/config/locales/geoblacklight.en.yml b/config/locales/geoblacklight.en.yml
index 67bc6ab..ba379c9 100644
--- a/config/locales/geoblacklight.en.yml
+++ b/config/locales/geoblacklight.en.yml
@@ -5,7 +5,7 @@ en:
retrieved_from: 'Retrieved from %{document_url}'
download:
download: 'Download'
- download_link: '%{download_format}'
+ download_link: 'Original %{download_format}'
success: 'Your file %{title} is ready for download'
hgl_success: 'You should receive an email when your download is ready.'
hgl_request: 'Request Layer'
@@ -16,13 +16,14 @@ en:
error: 'Sorry, the requested file could not be downloaded'
error_with_url: 'Sorry, the requested file could not be downloaded. Try downloading it directly from: %{link}'
export_formats: 'Export Formats'
- export_link: 'Export'
+ export_link: 'Export %{download_format}'
export_shapefile_link: 'Shapefile'
export_kmz_link: 'KMZ'
export_geojson_link: 'GeoJSON'
+ export_geotiff_link: 'GeoTIFF'
home:
headline: 'Explore and discover...'
- search_heading: 'Find the maps and data you need'
+ search_heading: 'UMass Amherst Portal for Geospatial Data'
category_heading: 'Find by...'
map_heading: 'Find by location'
institution: 'Institution'
@@ -65,9 +66,21 @@ en:
services: 'Web services'
services_close: 'Close'
tms: 'Tile Map Service'
+ tilejson: 'TileJSON Document'
+ xyz: 'XYZ Tiles'
+ wmts: 'Web Map Tile Service'
relations:
ancestor: 'Source Datasets'
descendant: 'Derived Datasets'
+ member_of_ancestors: 'Belongs to collection...'
+ member_of_descendants: 'Collection records...'
+ part_of: 'Is part of...'
+ part_of_descendants: 'Has part...'
+ relation: 'Related Records'
+ replaces: 'Item replaces...'
+ replaced_by: 'Item replaced by...'
+ source: 'Source Datasets'
+ version_of: 'Version of...'
browse_all: "Browse all %{count} records..."
metadata:
toggle_summary: 'Toggle summary'
@@ -122,6 +135,7 @@ en:
cornell: Cornell University
dvd-rom: DVD-Rom
esri-globe: Esri Global
+ george-mason: George Mason University
harvard: Harvard University
illinois: University of Illinois
indiana: Indiana University
diff --git a/config/settings.yml b/config/settings.yml
index ad83207..2d499e1 100644
--- a/config/settings.yml
+++ b/config/settings.yml
@@ -10,9 +10,6 @@ ARCGIS_BASE_URL: 'https://www.arcgis.com/home/webmap/viewer.html'
# Download path can be configured using this setting
#DOWNLOAD_PATH: "./tmp/cache/downloads"
-# DEPRECATED Main Solr geometry field used for spatial search and bounding box. Should be type 'rpt'
-GEOMETRY_FIELD: 'solr_geom'
-
# The bq boost value for spatial search matches within a bounding box
BBOX_WITHIN_BOOST: '10'
@@ -25,11 +22,30 @@ OVERLAP_RATIO_BOOST: '2'
# HOMEPAGE_MAP_GEOM: null
HOMEPAGE_MAP_GEOM: '{"type":"Polygon","coordinates":[[[-73.747,43.0045],[-73.747,41.1143],[-69.7787,41.1143],[-69.7787,43.0045]]]}'
+# Non-search-field GeoBlacklight application permitted params
+GBL_PARAMS:
+ - :bbox
+ - :email
+ - :file
+ - :format
+ - :id
+ - :logo
+ - :provider
+ - :type
+ - :BBOX
+ - :HEIGHT
+ - :LAYERS
+ - :QUERY_LAYERS
+ - :URL
+ - :WIDTH
+ - :X
+ - :Y
+
# Solr field mappings
FIELDS:
:ACCESS_RIGHTS: 'dct_accessRights_s'
:ALTERNATIVE_TITLE: 'dct_alternative_sm'
- :CENTROID: 'dcat_centroid_ss'
+ :CENTROID: 'dcat_centroid'
:CREATOR: 'dct_creator_sm'
:DATE_ISSUED: 'dct_issued_s'
:DATE_RANGE: 'gbl_dateRange_drsim'
@@ -42,9 +58,10 @@ FIELDS:
:INDEX_YEAR: 'gbl_indexYear_im'
:IS_PART_OF: 'dct_isPartOf_sm'
:IS_REPLACED_BY: 'dct_isReplacedBy_sm'
- :ISO_TOPIC_CATEGORY: 'dcat_theme_sm'
+ :THEME: 'dcat_theme_sm'
:KEYWORD: 'dcat_keyword_sm'
:LANGUAGE: 'dct_language_sm'
+ :LAYER_MODIFIED: 'gbl_mdModified_dt'
:LICENSE: 'dct_license_sm'
:MEMBER_OF: 'pcdm_memberOf_sm'
:METADATA_VERSION: 'gbl_mdVersion_s'
@@ -61,7 +78,7 @@ FIELDS:
:RIGHTS_HOLDER: 'dct_rightsHolder_sm'
:SOURCE: 'dct_source_sm'
:SPATIAL_COVERAGE: 'dct_spatial_sm'
- :SPATIAL_EXTENT: 'locn_geometry'
+ :GEOMETRY: 'locn_geometry'
:SUBJECT: 'dct_subject_sm'
:SUPPRESSED: 'gbl_suppressed_b'
:TEMPORAL_COVERAGE: 'dct_temporal_sm'
@@ -69,6 +86,7 @@ FIELDS:
:VERSION: 'dct_isVersionOf_sm'
:WXS_IDENTIFIER: 'gbl_wxsIdentifier_s'
:ANNOTATION: 'umass_annotated_s'
+ :GEONAME_ID: 'umass_geonameID_s'
# Institution deployed at
@@ -95,12 +113,68 @@ WEBSERVICES_SHOWN:
- 'wms'
- 'tms'
- 'wfs'
+ - 'xyz'
+ - 'wmts'
+ - 'tilejson'
- 'iiif'
- 'feature_layer'
- 'tiled_map_layer'
- 'dynamic_map_layer'
- 'image_map_layer'
+# Relationships to display
+RELATIONSHIPS_SHOWN:
+ MEMBER_OF_ANCESTORS:
+ field: pcdm_memberOf_sm
+ query_type: ancestors
+ icon: parent-item
+ label: geoblacklight.relations.member_of_ancestors
+ MEMBER_OF_DESCENDANTS:
+ field: pcdm_memberOf_sm
+ query_type: descendants
+ icon: child-item
+ label: geoblacklight.relations.member_of_descendants
+ PART_OF_ANCESTORS:
+ field: dct_isPartOf_sm
+ query_type: ancestors
+ icon: nil
+ label: geoblacklight.relations.part_of_ancestors
+ PART_OF_DESCENDANTS:
+ field: dct_isPartOf_sm
+ query_type: descendants
+ icon: child-item
+ label: geoblacklight.relations.part_of_descendants
+ RELATION:
+ field: dct_relation_sm
+ query_type: ancestors
+ icon: nil
+ label: geoblacklight.relations.relation
+ REPLACES:
+ field: dct_replaces_sm
+ query_type: ancestors
+ icon: nil
+ label: geoblacklight.relations.replaces
+ REPLACED_BY:
+ field: dct_isReplacedBy_sm
+ query_type: descendants
+ icon: nil
+ label: geoblacklight.relations.replaced_by
+ SOURCE_ANCESTORS:
+ field: dct_source_sm
+ query_type: ancestors
+ icon: parent-item
+ label: geoblacklight.relations.ancestor
+ SOURCE_DESCENDANTS:
+ field: dct_source_sm
+ query_type: descendants
+ icon: child-item
+ label: geoblacklight.relations.descendant
+ VERSION_OF:
+ field: dct_isVersionOf_sm
+ query_type: descendants
+ icon: nil
+ label: geoblacklight.relations.version_of
+
# WMS Parameters
WMS_PARAMS:
:SERVICE: 'WMS'
@@ -112,36 +186,48 @@ WMS_PARAMS:
:INFO_FORMAT: 'text/html'
# Settings for leaflet
-OPACITY_CONTROL: &opacity_control
- CONTROLS:
- - 'Opacity'
-
LEAFLET:
MAP:
LAYERS:
DETECT_RETINA: true
INDEX:
DEFAULT: &default
- color: "#1eb300"
+ color: "#7FCDBB"
weight: "1"
radius: "4"
UNAVAILABLE:
<<: *default
- color: "#b3001e"
+ color: "#EDF8B1"
SELECTED:
<<: *default
- color: "#006bde"
+ color: "#2C7FB8"
VIEWERS:
- WMS:
- <<: *opacity_control
- TILEDMAPLAYER:
- <<: *opacity_control
- FEATURELAYER:
- <<: *opacity_control
DYNAMICMAPLAYER:
- <<: *opacity_control
+ CONTROLS:
+ - 'Opacity'
+ - 'Fullscreen'
+ FEATURELAYER:
+ CONTROLS:
+ - 'Opacity'
+ - 'Fullscreen'
+ IIIF:
+ CONTROLS:
+ - 'Fullscreen'
IMAGEMAPLAYER:
- <<: *opacity_control
+ CONTROLS:
+ - 'Opacity'
+ - 'Fullscreen'
+ INDEXMAP:
+ CONTROLS:
+ - 'Fullscreen'
+ TILEDMAPLAYER:
+ CONTROLS:
+ - 'Opacity'
+ - 'Fullscreen'
+ WMS:
+ CONTROLS:
+ - 'Opacity'
+ - 'Fullscreen'
# Toggle the help text feature that offers users context
HELP_TEXT:
diff --git a/public/robots.txt b/public/robots.txt
index b31f88b..7ed95f8 100644
--- a/public/robots.txt
+++ b/public/robots.txt
@@ -1,4 +1,31 @@
-# UMass GeoData robots.txt
+# UMAP GeoData robots.txt
+# Code adopted from B1G Geoportal 4/12/23
User-agent: *
+Disallow: /?q=
+Disallow: /?f
+Disallow: /?_
+Disallow: /?bbox
+Disallow: /?page=
+Disallow: /catalog.html?f
+Disallow: /catalog.html?_
+Disallow: /catalog.atom
+Disallow: /catalog.rss
+Disallow: /catalog/*/admin
+Disallow: /catalog/*/relations
+Disallow: /catalog/facet/*
+Disallow: /*/web_services
+Disallow: /*/citation
+
+User-agent: AhrefsBot
+Disallow: /
+User-agent: SemrushBot
+Disallow: /
+User-agent: PetalBot
+Disallow: /
+User-agent: BLEXBot
+Disallow: /
+User-agent: DotBot
+Disallow: /
+User-agent: DataForSeoBot
Disallow: /
diff --git a/solr/conf/schema.xml b/solr/conf/schema.xml
index a270234..9e3b58c 100644
--- a/solr/conf/schema.xml
+++ b/solr/conf/schema.xml
@@ -11,13 +11,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -44,31 +61,6 @@
-
-
-
-
-
-
-
-
@@ -146,32 +138,36 @@
-
-
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
+
+
-
@@ -180,7 +176,6 @@
-
@@ -200,5 +195,5 @@
-
+
diff --git a/solr/conf/solrconfig.xml b/solr/conf/solrconfig.xml
index 9c7aef8..5987ce4 100644
--- a/solr/conf/solrconfig.xml
+++ b/solr/conf/solrconfig.xml
@@ -70,9 +70,9 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
1024
-
-
-
+
+
+
true
20
200
@@ -117,35 +117,35 @@
*:*
text^1
- dc_description_ti^2
- dc_creator_tmi^3
- dc_publisher_ti^3
+ dct_description_ti^2
+ dct_creator_tmi^3
+ dct_publisher_ti^3
dct_isPartOf_tmi^4
- dc_subject_tmi^5
+ dct_subject_tmi^5
dct_spatial_tmi^5
dct_temporal_tmi^5
- dc_title_ti^6
- dc_rights_ti^7
+ dct_title_ti^6
+ dct_accessRights_ti^7
dct_provider_ti^8
layer_geom_type_ti^9
layer_slug_ti^10
- dc_identifier_ti^10
+ dct_identifier_ti^10
text^1
- dc_description_ti^2
- dc_creator_tmi^3
- dc_publisher_ti^3
+ dct_description_ti^2
+ dct_creator_tmi^3
+ dct_publisher_ti^3
dct_isPartOf_tmi^4
- dc_subject_tmi^5
+ dct_subject_tmi^5
dct_spatial_tmi^5
dct_temporal_tmi^5
- dc_title_ti^6
- dc_rights_ti^7
+ dct_title_ti^6
+ dct_accessRights_ti^7
dct_provider_ti^8
layer_geom_type_ti^9
layer_slug_ti^10
- dc_identifier_ti^10
+ dct_identifier_ti^10
true
1
diff --git a/test/fixtures/files/gbl_documents/README.md b/test/fixtures/files/gbl_documents/README.md
index 9c8f8fd..7aeadb4 100644
--- a/test/fixtures/files/gbl_documents/README.md
+++ b/test/fixtures/files/gbl_documents/README.md
@@ -6,47 +6,50 @@ If you add a new document, please add it to the table below, and indicate its pu
If you add a new document, please add it to the table below, and indicate its purpose.
- |
-| Filename | Title | ID | Purpose |
+ |
+| Filename | Title | ID | Purpose |
|---------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| [actual-papermap1](actual-papermap1.json) | 1:1 500 000 series [cartographic material] : tectonic map of Britain, Ireland and adjacent areas / British Geological Survey ; Geological Survey of Ireland ; Geological Survey of Northern Ireland. | mit-001145244 | Nondigitized paper map with a link to a library catalog |
-| [actual-point1](actual-point1.json) | 2014 New York City Places | nyu-2451-34564 | Point dataset with WMS and WFS |
-| [actual-polygon1](actual-polygon1.json) | 100 Foot Grid Cambridge MA 2004 | tufts-cambridgegrid100-04 | Polygon dataset (no direct download) with WFS, WMS, and FGDC metadata as XML |
-| [actual-raster1](actual-raster1.json) | 1-Meter Shaded Relief Multibeam Bathymetry Image (Color): Elkhorn Slough, California, 2005 | stanford-dp018hs9766 | Restricted raster layer with WMS and metadata in MODS and ISO 19139 |
-| [baruch_ancestor1](baruch_ancestor1.json) | 2016 NYC Geodatabase, Open Source Version (jan2016) | nyu_2451_34635 | SQLite Database with documentation download Referenced as parent |
-| [baruch_ancestor2](baruch_ancestor2.json) | 2016 NYC Geodatabase, ArcGIS Version (jan2016) | nyu_2451_34636 | Geodatabase with documentation download Referenced as parent |
-| [baruch_documentation_download](baruch_documentation_download.json) | 2015 New York City Subway Complexes and Ridership | nyu_2451_34502 | Point dataset with WMS and WFS, documentation download, and two parent records |
-| [bbox-spans-180](bbox-spans-180.json) | East Asia and Oceania | princeton-sx61dn82p | Scanned map with IIIF and direct TIFF download that spans across the 180th meridian |
-| [cornell_html_metadata](cornell_html_metadata.json) | Air Monitoring Stations, Adirondack Park, 2000 | cugir-007741 | Point dataset with WMS, WFS, direct download, and FGDC metadata XML and HTML |
-| [esri-dynamic-layer-all-layers](esri-dynamic-layer-all-layers.json) | Glacial Boundaries: Illinois, 1998 | 90f14ff4-1359-4beb-b931-5cb41d20ab90 | This record points to an the top level of an Esri Rest Web Map Service It does not specify a layer |
-| [esri-dynamic-layer-single-layer](esri-dynamic-layer-single-layer.json) | Abandoned Quarries: Indiana | 4669301e-b4b2-4c8b-bf40-01b968a2865b | ArcGIS Dynamic Map Layer with single layer indicated |
-| [esri-feature-layer](esri-feature-layer.json) | Transit - Airports: Maryland | f406332e63eb4478a9560ad86ae90327_18 | ArcGIS Feature Layer - point dataset |
-| [esri-image-map-layer](esri-image-map-layer.json) | Wabash Topo (27): Indiana, 1929 | 32653ed6-8d83-4692-8a06-bf13ffe2c018 | ArcGIS Image Map Layer with GeoTIFF direct download |
-| [esri-tiled_map_layer](esri-tiled_map_layer.json) | Soil Survey Geographic (SSURGO) | nyu-test-soil-survey-map | ArcGIS tiled map layer |
-| [esri-wms-layer](esri-wms-layer.json) | Agriculture Census: Indiana, 1997 | purdue-urn-f082acb1-b01e-4a08-9126-fd62a23fd9aa | Dataset with ArcGIS Dynamic Map Layer, ArcGIS WMS, and direct download |
-| [harvard_raster](harvard_raster.json) | Saint Petersburg Region, Russia, 1834 (Raster Image) | harvard-g7064-s2-1834-k3 | This layer is a georeferenced raster image of the historic paper map |
-| [iiif-eastern-hemisphere](iiif-eastern-hemisphere.json) | A new & accurate map of Asia: drawn from actual surveys, and otherwise collected from journals | 57f0f116-b64e-4773-8684-96ba09afb549 | Eastern hemisphere scanned map with IIIF manifest |
-| [index_map_point](index_map_point.json) | New York Aerial Photos (1960s) | cornell-ny-aerial-photos-1960s | GeoJSON index map of points |
-| [index-map-polygon](index-map-polygon.json) | Index of Digital Elevation Models (DEM), New York | cugir-008186-no-downloadurl | GeoJSON index map of polygons, with a downloadUrl for the index itself |
-| [index-map-polygon-no-downloadurl](index-map-polygon-no-downloadurl.json) | Index of Digital Elevation Models (DEM), New York | cugir-008186 | GeoJSON index map of polygons, but lacking a downloadUrl for the index itself |
-| [index-map-stanford](index-map-stanford.json) | Dabao Kinbōzu, Maps Index | stanford-fb897vt9938 | old-style (pre-GeoJSON) index map of rectangular polygons |
-| [metadata_no_geom](metadata_no_geom.json) | Ames Library of South Asia Maps | 05d-p16022coll246-noGeo | This is a collection level record without spatial coordinates |
-| [metadata_no_provider](metadata_no_provider.json) | Social Explorer | 99-0001-noprovider | This is a website record that does not have a Provider (aardvark)/ provider (GBL Metadata 1.0) |
-| [multiple-downloads](multiple-downloads.json) | Test record with additional download formats | cugir-007950 | This is a test record containing new-style references as nested child documents In addition to the original shapefile download, the references section contains additional PDF and KMZ downloads |
-| [no_locn_geometry](no_locn_geometry.json) | University of Minnesota Digital Conservancy DRUM | 05d-03-noGeomType | This is a collection level record without spatial coordinates or a Geometry Type (GBL Metadata 1.0) |
-| [no_spatial](no_spatial.json) | ASTER Global Emissivity Dataset 1-kilometer V003 - AG1KM | aster-global-emissivity-dataset-1-kilometer-v003-ag1kmcad20 | File without geometry type or solr_geometry (will cause error) |
-| [oembed](oembed.json) | Jōshū Kusatsu Onsenzu | stanford-dc482zx1528 | This record has an Oembed reference link |
-| [princeton-child1](princeton-child1.json) | Princeton, Mercer County, New Jersey (Sheet 1) | princeton-n009w382v | Child record for testing the suppressed_b property |
-| [princeton-child2](princeton-child2.json) | Princeton, Mercer County, New Jersey (Sheet 2) | princeton-jq085m62x | Child record for testing the suppressed_b property |
-| [princeton-child3](princeton-child3.json) | Princeton, Mercer County, New Jersey (Sheet 3) | princeton-n009w382v-fake1 | Child record for testing the suppressed_b property |
-| [princeton-child4](princeton-child4.json) | Princeton, Mercer County, New Jersey (Sheet 4) | princeton-n009w382v-fake2 | Child record for testing the suppressed_b property |
-| [princeton-parent](princeton-parent.json) | Princeton, Mercer County, New Jersey | princeton-1r66j405w | Parent record for testing the suppressed_b property |
-| [public_direct_download](public_direct_download.json) | 2005 Rural Poverty GIS Database: Uganda | stanford-cz128vq0535 | includes a tentative dcat_distribution_sm property |
-| [public_iiif_princeton](public_iiif_princeton.json) | The provinces of New York and New Jersey, with part of Pensilvania, and the Province of Quebec | princeton-02870w62c | Scanned map with IIIF |
-| [public_polygon_mit](public_polygon_mit.json) | Massachusetts (ZCTA - 5 digit zip code tabulation area, 2000) | mit-f6rqs4ucovjk2 | Polygon shapefile with WMS and WFS |
-| [restricted-line](restricted-line.json) | 10 Meter Contours: Russian River Basin, California | stanford-cg357zz0321 | Restricted line layer with WFS, WMS and metadata in MODS and ISO 19139 |
-| [tms](tms.json) | Quaternary Fault and Fold Database of the United States | 6f47b103-9955-4bbe-a364-387039623106 | Includes a TMS type of web service |
-| [umn_metro_result1](umn_metro_result1.json) | 2030 Regional Development Framework Planning Areas: Metro Twin Cities, Minnesota, 2011 | 02236876-9c21-42f6-9870-d2562da8e44f | Bounding box of metropolitan area and ArcGIS Dynamic Feature Service |
-| [umn_state_result1](umn_state_result1.json) | 1:100k Digital Raster Graphic - Collars Removed: Minnesota | 2eddde2f-c222-41ca-bd07-2fd74a21f4de | Bounding box of state area and static image in references |
-| [umn_state_result2](umn_state_result2.json) | 1:250k Digital Raster Graphic - Collars Removed: Minnesota | e9c71086-6b25-4950-8e1c-84c2794e3382 | Bounding box of state area and raster download |
-| [uva_slug_colon](uva_slug_colon.json) | Norfolk 2005 Police Stations | uva-Norfolk:police_point | Multipoint dataset with WMS and WFS and a colon in the slug and layer ID |
+| [actual-papermap1](actual-papermap1.json) | 1:1 500 000 series [cartographic material] : tectonic map of Britain, Ireland and adjacent areas / British Geological Survey ; Geological Survey of Ireland ; Geological Survey of Northern Ireland. | mit-001145244 | Nondigitized paper map with a link to a library catalog
+| [actual-point1](actual-point1.json) | 2014 New York City Places | nyu-2451-34564 | Point dataset with WMS and WFS
+| [actual-polygon1](actual-polygon1.json) | 100 Foot Grid Cambridge MA 2004 | tufts-cambridgegrid100-04 | Polygon dataset (no direct download) with WFS, WMS, and FGDC metadata as XML
+| [actual-raster1](actual-raster1.json)| 1-Meter Shaded Relief Multibeam Bathymetry Image (Color): Elkhorn Slough, California, 2005 | stanford-dp018hs9766 | Restricted raster layer with WMS and metadata in MODS and ISO 19139
+| [baruch_ancestor1](baruch_ancestor1.json) | 2016 NYC Geodatabase, Open Source Version (jan2016) | nyu_2451_34635 | SQLite Database with documentation download Referenced as parent
+| [baruch_ancestor2](baruch_ancestor2.json) | 2016 NYC Geodatabase, ArcGIS Version (jan2016) | nyu_2451_34636 | Geodatabase with documentation download Referenced as parent
+| [baruch_documentation_download](baruch_documentation_download.json) | 2015 New York City Subway Complexes and Ridership | nyu_2451_34502 | Point dataset with WMS and WFS, documentation download, and two parent records
+| [bbox-spans-180](bbox-spans-180.json) | East Asia and Oceania | princeton-sx61dn82p | Scanned map with IIIF and direct TIFF download that spans across the 180th meridian
+| [cornell_html_metadata](cornell_html_metadata.json) | Air Monitoring Stations, Adirondack Park, 2000 | cugir-007741 | Point dataset with WMS, WFS, direct download, and FGDC metadata XML and HTML
+| [esri-dynamic-layer-all-layers](esri-dynamic-layer-all-layers.json) | Glacial Boundaries: Illinois, 1998 | 90f14ff4-1359-4beb-b931-5cb41d20ab90 | This record points to an the top level of an Esri Rest Web Map Service It does not specify a layer
+| [esri-dynamic-layer-single-layer](esri-dynamic-layer-single-layer.json) | Abandoned Quarries: Indiana | 4669301e-b4b2-4c8b-bf40-01b968a2865b | ArcGIS Dynamic Map Layer with single layer indicated
+| [esri-feature-layer](esri-feature-layer.json) | Transit - Airports: Maryland | f406332e63eb4478a9560ad86ae90327_18| ArcGIS Feature Layer - point dataset |
+| [esri-image-map-layer](esri-image-map-layer.json)| Wabash Topo (27): Indiana, 1929 | 32653ed6-8d83-4692-8a06-bf13ffe2c018 | ArcGIS Image Map Layer with GeoTIFF direct download
+| [esri-tiled_map_layer](esri-tiled_map_layer.json)| Soil Survey Geographic (SSURGO) | nyu-test-soil-survey-map | ArcGIS tiled map layer
+| [esri-wms-layer](esri-wms-layer.json) | Agriculture Census: Indiana, 1997 | purdue-urn-f082acb1-b01e-4a08-9126-fd62a23fd9aa | Dataset with ArcGIS Dynamic Map Layer, ArcGIS WMS, and direct download
+| [harvard_raster](harvard_raster.json) | Saint Petersburg Region, Russia, 1834 (Raster Image) | harvard-g7064-s2-1834-k3 | This layer is a georeferenced raster image of the historic paper map
+| [iiif-eastern-hemisphere](iiif-eastern-hemisphere.json) | A new & accurate map of Asia: drawn from actual surveys, and otherwise collected from journals | 57f0f116-b64e-4773-8684-96ba09afb549 | Eastern hemisphere scanned map with IIIF manifest
+| [index_map_point](index_map_point.json) | New York Aerial Photos (1960s) | cornell-ny-aerial-photos-1960s | GeoJSON index map of points
+| [index-map-polygon](index-map-polygon.json) | Index of Digital Elevation Models (DEM), New York | cugir-008186-no-downloadurl | GeoJSON index map of polygons, with a downloadUrl for the index itself
+| [index-map-polygon-no-downloadurl](index-map-polygon-no-downloadurl.json) | Index of Digital Elevation Models (DEM), New York | cugir-008186 | GeoJSON index map of polygons, but lacking a downloadUrl for the index itself
+| [index-map-stanford](index-map-stanford.json) | Dabao Kinbōzu, Maps Index | stanford-fb897vt9938 | old-style (pre-GeoJSON) index map of rectangular polygons
+| [metadata_no_geom](metadata_no_geom.json) | Ames Library of South Asia Maps | 05d-p16022coll246-noGeo | This is a collection level record without spatial coordinates
+| [metadata_no_provider](metadata_no_provider.json)| Social Explorer | 99-0001-noprovider | This is a website record that does not have a Provider (aardvark)/ provider (GBL Metadata 1.0)
+| [multiple-downloads](multiple-downloads.json) | Test record with additional download formats | cugir-007950 | This is a test record containing new-style references as nested child documents In addition to the original shapefile download, the references section contains additional PDF and KMZ downloads
+| [no_locn_geometry](no_locn_geometry.json) | University of Minnesota Digital Conservancy DRUM | 05d-03-noGeomType | This is a collection level record without spatial coordinates or a Geometry Type (GBL Metadata 1.0)
+| [no_spatial](no_spatial.json) | ASTER Global Emissivity Dataset 1-kilometer V003 - AG1KM | aster-global-emissivity-dataset-1-kilometer-v003-ag1kmcad20 | File without geometry type or locn_geometry (will cause error) |
+| [oembed](oembed.json) | Jōshū Kusatsu Onsenzu | stanford-dc482zx1528 | This record has an Oembed reference link
+| [princeton-child1](princeton-child1.json) | Princeton, Mercer County, New Jersey (Sheet 1) | princeton-n009w382v | Child record for testing the gbl_suppressed_b property
+| [princeton-child2](princeton-child2.json) | Princeton, Mercer County, New Jersey (Sheet 2) | princeton-jq085m62x | Child record for testing the gbl_suppressed_b property
+| [princeton-child3](princeton-child3.json) | Princeton, Mercer County, New Jersey (Sheet 3) | princeton-n009w382v-fake1 | Child record for testing the gbl_suppressed_b property
+| [princeton-child4](princeton-child4.json) | Princeton, Mercer County, New Jersey (Sheet 4) | princeton-n009w382v-fake2 | Child record for testing the gbl_suppressed_b property
+| [princeton-parent](princeton-parent.json) | Princeton, Mercer County, New Jersey | princeton-1r66j405w | Parent record for testing the gbl_suppressed_b property
+| [public_direct_download](public_direct_download.json) | 2005 Rural Poverty GIS Database: Uganda | stanford-cz128vq0535 | includes a tentative dcat_distribution_sm property
+| [public_iiif_princeton](public_iiif_princeton.json) | The provinces of New York and New Jersey, with part of Pensilvania, and the Province of Quebec | princeton-02870w62c | Scanned map with IIIF
+| [public_polygon_mit](public_polygon_mit.json) | Massachusetts (ZCTA - 5 digit zip code tabulation area, 2000) | mit-f6rqs4ucovjk2 | Polygon shapefile with WMS and WFS
+| [restricted-line](restricted-line.json) | 10 Meter Contours: Russian River Basin, California | stanford-cg357zz0321 | Restricted line layer with WFS, WMS and metadata in MODS and ISO 19139
+| [tms](tms.json) | Agricultural Districts, Columbia County NY, 2009 (TMS) | cugir-007957 | Includes a reference to a TMS web service
+| [umn_metro_result1](umn_metro_result1.json) | 2030 Regional Development Framework Planning Areas: Metro Twin Cities, Minnesota, 2011| 02236876-9c21-42f6-9870-d2562da8e44f | Bounding box of metropolitan area and ArcGIS Dynamic Feature Service
+| [umn_state_result1](umn_state_result1.json) | 1:100k Digital Raster Graphic - Collars Removed: Minnesota | 2eddde2f-c222-41ca-bd07-2fd74a21f4de | Bounding box of state area and static image in references
+| [umn_state_result2](umn_state_result2.json) | 1:250k Digital Raster Graphic - Collars Removed: Minnesota | e9c71086-6b25-4950-8e1c-84c2794e3382 | Bounding box of state area and raster download
+| [uva_slug_colon](uva_slug_colon.json) | Norfolk 2005 Police Stations | uva-Norfolk:police_point | Multipoint dataset with WMS and WFS and a colon in the slug and layer ID
+| [wmts-multiple](wmts-multiple.json) | Orthofoto 2016 Wien (WMTS) | princeton-fk4db9hn29 | Raster dataset with gbl_wxsIdentifier_s value and reference to WMTS service that supports multiple layers
+| [wmts-single-layer](wmts-single-layer.json) | The Balkans [and] Turkey : G.S.G.S. no. 2097 | princeton-fk4544658v-wmts | Raster mosaic dataset with reference to a WMTS service that supports one layer
+| [xyz](xyz.json)| Quaternary Fault and Fold Database of the United States (XYZ) | 6f47b103-9955-4bbe-a364-387039623106-xyz | Line shapefile with an XYZ tile service reference
diff --git a/test/fixtures/files/gbl_documents/actual-papermap1.json b/test/fixtures/files/gbl_documents/actual-papermap1.json
index 4ac8af3..8c65cf3 100644
--- a/test/fixtures/files/gbl_documents/actual-papermap1.json
+++ b/test/fixtures/files/gbl_documents/actual-papermap1.json
@@ -32,7 +32,8 @@
"[1996 TO 1996]"
],
"locn_geometry": "ENVELOPE(-13,4,62,49)",
- "dcat_centroid_ss": "55.5,-4.5",
+ "dcat_bbox": "ENVELOPE(-13,4,62,49)",
+ "dcat_centroid": "55.5,-4.5",
"dct_accessRights_s": "Public",
"dct_format_s": "Paper",
"gbl_wxsIdentifier_s": "MIT:001145244",
diff --git a/test/fixtures/files/gbl_documents/actual-point1.json b/test/fixtures/files/gbl_documents/actual-point1.json
index c89b6c5..9eb5f48 100644
--- a/test/fixtures/files/gbl_documents/actual-point1.json
+++ b/test/fixtures/files/gbl_documents/actual-point1.json
@@ -42,7 +42,8 @@
"New York, New York"
],
"locn_geometry": "ENVELOPE(-74.24856464,-73.73228698,40.89620987,40.49956589)",
- "dcat_centroid_ss": "40.697887879999996,-73.99042581",
+ "dcat_bbox": "ENVELOPE(-74.24856464,-73.73228698,40.89620987,40.49956589)",
+ "dcat_centroid": "40.697887879999996,-73.99042581",
"dct_accessRights_s": "Public",
"dct_format_s": "Shapefile",
"gbl_wxsIdentifier_s": "sdr:nyu_2451_34564",
diff --git a/test/fixtures/files/gbl_documents/actual-polygon1.json b/test/fixtures/files/gbl_documents/actual-polygon1.json
index 2929c99..3421ddb 100644
--- a/test/fixtures/files/gbl_documents/actual-polygon1.json
+++ b/test/fixtures/files/gbl_documents/actual-polygon1.json
@@ -34,7 +34,8 @@
"[2004 TO 2004]"
],
"locn_geometry": "ENVELOPE(-71.163984,-71.052581,42.408316,42.34757)",
- "dcat_centroid_ss": "42.377943,-71.1082825",
+ "dcat_bbox": "ENVELOPE(-71.163984,-71.052581,42.408316,42.34757)",
+ "dcat_centroid": "42.377943,-71.1082825",
"dct_accessRights_s": "Public",
"dct_format_s": "Shapefile",
"gbl_wxsIdentifier_s": "sde:GISPORTAL.GISOWNER01.CAMBRIDGEGRID100_04",
diff --git a/test/fixtures/files/gbl_documents/actual-raster1.json b/test/fixtures/files/gbl_documents/actual-raster1.json
index 833c6f4..e72cacc 100644
--- a/test/fixtures/files/gbl_documents/actual-raster1.json
+++ b/test/fixtures/files/gbl_documents/actual-raster1.json
@@ -28,7 +28,7 @@
"Multibeam mapping"
],
"dcat_theme_sm": [
- "Imagery and Base Maps",
+ "Imagery",
"Elevation",
"Inland Waters"
],
@@ -50,7 +50,8 @@
"Monterey Bay (Calif.)"
],
"locn_geometry": "ENVELOPE(-121.7948738,-121.7389503,36.8606925,36.8085911)",
- "dcat_centroid_ss": "36.8346418,-121.76691205",
+ "dcat_bbox": "ENVELOPE(-121.7948738,-121.7389503,36.8606925,36.8085911)",
+ "dcat_centroid": "36.8346418,-121.76691205",
"dct_rights_sm": [
"These data are licensed by Stanford Libraries and are available to Stanford University affiliates only. Affiliates are limited to current faculty, staff and students. These data may not be reproduced or used for any purpose without permission. For more information please contact brannerlibrary@stanford.edu"
],
diff --git a/test/fixtures/files/gbl_documents/b1g_wabash_child_15.json b/test/fixtures/files/gbl_documents/b1g_wabash_child_15.json
new file mode 100644
index 0000000..ee040b3
--- /dev/null
+++ b/test/fixtures/files/gbl_documents/b1g_wabash_child_15.json
@@ -0,0 +1,62 @@
+{
+ "id": "b5857bb0-2819-49cf-a6da-fdb39d50c529",
+ "gbl_mdVersion_s": "Aardvark",
+ "dct_title_s": "Wabash Topo (15): Indiana, 1929",
+ "dct_description_sm": [
+ "The maps represented here are on tiff files owned by EAS library. The topos were scanned in color and are up to 550MB each. These images can be viewed and performed in the using either ArcGIS Desktop or QGIS (user choice), referencing against a number of known mapsets like the 2005 Indiana Orthophoto setand USGS DRGs. The geographic coordinate system reference of the maps included are applied in GCS_WGS_1984."
+ ],
+ "dct_language_sm": [
+ "eng"
+ ],
+ "dct_creator_sm": [
+ "Brock & Weymouth Inc.",
+ "United States Engineer Office"
+ ],
+ "dct_publisher_sm": [
+ "Purdue University Libraries"
+ ],
+ "gbl_resourceClass_sm": [
+ "Maps"
+ ],
+ "dcat_keyword_sm": [
+ "Topography",
+ "Purdue Georeferenced Imagery"
+ ],
+ "dcat_theme_sm": [
+ "Imagery and Base Maps"
+ ],
+ "dct_issued_s": "2015-10-31",
+ "dct_temporal_sm": [
+ "1929"
+ ],
+ "gbl_dateRange_drsim": [
+ "[1929 TO 1929]"
+ ],
+ "gbl_indexYear_im": [
+ 1929
+ ],
+ "dct_spatial_sm": [
+ "Indiana"
+ ],
+ "locn_geometry": "ENVELOPE(-87.5071,-87.3597,39.539,39.4622)",
+ "dcat_bbox": "ENVELOPE(-87.5071,-87.3597,39.539,39.4622)",
+ "dcat_centroid": "39.500600000000006,-87.4334",
+ "pcdm_memberOf_sm": [
+ "09d-01"
+ ],
+ "gbl_resourceType_sm": [
+ "Topographic maps"
+ ],
+ "dct_format_s": "GeoTIFF",
+ "dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://mapsweb.lib.purdue.edu/datasets/Wabash1929/wabash_topo_15.tif.zip\",\"urn:x-esri:serviceType:ArcGIS#ImageMapLayer\":\"https://mapsweb.lib.purdue.edu/arcgis/rest/services/Purdue/wabashtopo/ImageServer\",\"http://schema.org/url\":\"https://mapsweb.lib.purdue.edu/wabashriver/\"}",
+ "dct_identifier_sm": [
+ "b5857bb0-2819-49cf-a6da-fdb39d50c529"
+ ],
+ "schema_provider_s": "Purdue University",
+ "dct_isPartOf_sm": [
+ "88cc9b19-3294-4da9-9edd-775c81fb1c59"
+ ],
+ "dct_accessRights_s": "Public",
+ "gbl_suppressed_b": true,
+ "gbl_mdModified_dt": "2021-05-07T23:00:10Z"
+}
diff --git a/test/fixtures/files/gbl_documents/b1g_wabash_child_16.json b/test/fixtures/files/gbl_documents/b1g_wabash_child_16.json
new file mode 100644
index 0000000..6d22793
--- /dev/null
+++ b/test/fixtures/files/gbl_documents/b1g_wabash_child_16.json
@@ -0,0 +1,64 @@
+{
+ "id": "d8906fc8-92bb-4ced-bcd5-9ce9a4701c25",
+ "gbl_mdVersion_s": "Aardvark",
+ "dct_title_s": "Wabash Topo (16): Indiana, 1929",
+ "dct_description_sm": [
+ "The maps represented here are on tiff files owned by EAS library. The topos were scanned in color and are up to 550MB each. These images can be viewed and performed in the using either ArcGIS Desktop or QGIS (user choice), referencing against a number of known mapsets like the 2005 Indiana Orthophoto setand USGS DRGs. The geographic coordinate system reference of the maps included are applied in GCS_WGS_1984."
+ ],
+ "dct_language_sm": [
+ "eng"
+ ],
+ "dct_creator_sm": [
+ "Brock & Weymouth Inc.",
+ "United States Engineer Office"
+ ],
+ "dct_publisher_sm": [
+ "Purdue University Libraries"
+ ],
+ "gbl_resourceClass_sm": [
+ "Maps"
+ ],
+ "dcat_keyword_sm": [
+ "Topography",
+ "Purdue Georeferenced Imagery"
+ ],
+ "dcat_theme_sm": [
+ "Imagery and Base Maps"
+ ],
+ "dct_issued_s": "2015-10-31",
+ "dct_temporal_sm": [
+ "1929"
+ ],
+ "gbl_dateRange_drsim": [
+ "[1929 TO 1929]"
+ ],
+ "gbl_indexYear_im": [
+ 1929
+ ],
+ "dct_spatial_sm": [
+ "Indiana",
+ "Tippecano County, Indiana",
+ "Wabash River, Indiana"
+ ],
+ "locn_geometry": "ENVELOPE(-87.4831,-87.336,39.606,39.5301)",
+ "dcat_bbox": "ENVELOPE(-87.4831,-87.336,39.606,39.5301)",
+ "dcat_centroid": "39.56805,-87.40955",
+ "pcdm_memberOf_sm": [
+ "09d-01"
+ ],
+ "gbl_resourceType_sm": [
+ "Topographic maps"
+ ],
+ "dct_format_s": "GeoTIFF",
+ "dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://mapsweb.lib.purdue.edu/datasets/Wabash1929/wabash_topo_16.tif.zip\",\"urn:x-esri:serviceType:ArcGIS#ImageMapLayer\":\"https://mapsweb.lib.purdue.edu/arcgis/rest/services/Purdue/wabashtopo/ImageServer\",\"http://schema.org/url\":\"https://mapsweb.lib.purdue.edu/wabashriver/\"}",
+ "dct_identifier_sm": [
+ "d8906fc8-92bb-4ced-bcd5-9ce9a4701c25"
+ ],
+ "schema_provider_s": "Purdue University",
+ "dct_isPartOf_sm": [
+ "88cc9b19-3294-4da9-9edd-775c81fb1c59"
+ ],
+ "dct_accessRights_s": "Public",
+ "gbl_suppressed_b": true,
+ "gbl_mdModified_dt": "2021-05-07T23:00:10Z"
+}
diff --git a/test/fixtures/files/gbl_documents/b1g_wabash_child_17.json b/test/fixtures/files/gbl_documents/b1g_wabash_child_17.json
new file mode 100644
index 0000000..fab3acf
--- /dev/null
+++ b/test/fixtures/files/gbl_documents/b1g_wabash_child_17.json
@@ -0,0 +1,62 @@
+{
+ "id": "55d9f193-9f29-4cbf-860d-23c1cff11691",
+ "gbl_mdVersion_s": "Aardvark",
+ "dct_title_s": "Wabash Topo (17): Indiana, 1929",
+ "dct_description_sm": [
+ "The maps represented here are on tiff files owned by EAS library. The topos were scanned in color and are up to 550MB each. These images can be viewed and performed in the using either ArcGIS Desktop or QGIS (user choice), referencing against a number of known mapsets like the 2005 Indiana Orthophoto setand USGS DRGs. The geographic coordinate system reference of the maps included are applied in GCS_WGS_1984."
+ ],
+ "dct_language_sm": [
+ "eng"
+ ],
+ "dct_creator_sm": [
+ "Brock & Weymouth Inc.",
+ "United States Engineer Office"
+ ],
+ "dct_publisher_sm": [
+ "Purdue University Libraries"
+ ],
+ "gbl_resourceClass_sm": [
+ "Maps"
+ ],
+ "dcat_keyword_sm": [
+ "Topography",
+ "Purdue Georeferenced Imagery"
+ ],
+ "dcat_theme_sm": [
+ "Imagery and Base Maps"
+ ],
+ "dct_issued_s": "2015-10-31",
+ "dct_temporal_sm": [
+ "1929"
+ ],
+ "gbl_dateRange_drsim": [
+ "[1929 TO 1929]"
+ ],
+ "gbl_indexYear_im": [
+ 1929
+ ],
+ "dct_spatial_sm": [
+ "Indiana"
+ ],
+ "locn_geometry": "ENVELOPE(-87.4665,-87.3179,39.6748,39.5982)",
+ "dcat_bbox": "ENVELOPE(-87.4665,-87.3179,39.6748,39.5982)",
+ "dcat_centroid": "39.6365,-87.3922",
+ "pcdm_memberOf_sm": [
+ "09d-01"
+ ],
+ "gbl_resourceType_sm": [
+ "Topographic maps"
+ ],
+ "dct_format_s": "GeoTIFF",
+ "dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://mapsweb.lib.purdue.edu/datasets/Wabash1929/wabash_topo_17.tif.zip\",\"urn:x-esri:serviceType:ArcGIS#ImageMapLayer\":\"https://mapsweb.lib.purdue.edu/arcgis/rest/services/Purdue/wabashtopo/ImageServer\",\"http://schema.org/url\":\"https://mapsweb.lib.purdue.edu/wabashriver/\"}",
+ "dct_identifier_sm": [
+ "55d9f193-9f29-4cbf-860d-23c1cff11691"
+ ],
+ "schema_provider_s": "Purdue University",
+ "dct_isPartOf_sm": [
+ "88cc9b19-3294-4da9-9edd-775c81fb1c59"
+ ],
+ "dct_accessRights_s": "Public",
+ "gbl_suppressed_b": true,
+ "gbl_mdModified_dt": "2021-05-07T23:00:10Z"
+}
diff --git a/test/fixtures/files/gbl_documents/b1g_wabash_child_18.json b/test/fixtures/files/gbl_documents/b1g_wabash_child_18.json
new file mode 100644
index 0000000..01ecb4e
--- /dev/null
+++ b/test/fixtures/files/gbl_documents/b1g_wabash_child_18.json
@@ -0,0 +1,62 @@
+{
+ "id": "b835efbd-ca27-41af-bae2-c22210e58a89",
+ "gbl_mdVersion_s": "Aardvark",
+ "dct_title_s": "Wabash Topo (18): Indiana, 1929",
+ "dct_description_sm": [
+ "The maps represented here are on tiff files owned by EAS library. The topos were scanned in color and are up to 550MB each. These images can be viewed and performed in the using either ArcGIS Desktop or QGIS (user choice), referencing against a number of known mapsets like the 2005 Indiana Orthophoto setand USGS DRGs. The geographic coordinate system reference of the maps included are applied in GCS_WGS_1984."
+ ],
+ "dct_language_sm": [
+ "eng"
+ ],
+ "dct_creator_sm": [
+ "Brock & Weymouth Inc.",
+ "United States Engineer Office"
+ ],
+ "dct_publisher_sm": [
+ "Purdue University Libraries"
+ ],
+ "gbl_resourceClass_sm": [
+ "Maps"
+ ],
+ "dcat_keyword_sm": [
+ "Topography",
+ "Purdue Georeferenced Imagery"
+ ],
+ "dcat_theme_sm": [
+ "Imagery and Base Maps"
+ ],
+ "dct_issued_s": "2015-10-30",
+ "dct_temporal_sm": [
+ "1929"
+ ],
+ "gbl_dateRange_drsim": [
+ "[1929 TO 1929]"
+ ],
+ "gbl_indexYear_im": [
+ 1929
+ ],
+ "dct_spatial_sm": [
+ "Indiana"
+ ],
+ "locn_geometry": "ENVELOPE(-87.4407,-87.2936,39.7429,39.6653)",
+ "dcat_bbox": "ENVELOPE(-87.4407,-87.2936,39.7429,39.6653)",
+ "dcat_centroid": "39.7041,-87.36715000000001",
+ "pcdm_memberOf_sm": [
+ "09d-01"
+ ],
+ "gbl_resourceType_sm": [
+ "Topographic maps"
+ ],
+ "dct_format_s": "GeoTIFF",
+ "dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://mapsweb.lib.purdue.edu/datasets/Wabash1929/wabash_topo_18.tif.zip\",\"urn:x-esri:serviceType:ArcGIS#ImageMapLayer\":\"https://mapsweb.lib.purdue.edu/arcgis/rest/services/Purdue/wabashtopo/ImageServer\",\"http://schema.org/url\":\"https://mapsweb.lib.purdue.edu/wabashriver/\"}",
+ "dct_identifier_sm": [
+ "b835efbd-ca27-41af-bae2-c22210e58a89"
+ ],
+ "schema_provider_s": "Purdue University",
+ "dct_isPartOf_sm": [
+ "88cc9b19-3294-4da9-9edd-775c81fb1c59"
+ ],
+ "dct_accessRights_s": "Public",
+ "gbl_suppressed_b": true,
+ "gbl_mdModified_dt": "2021-05-07T23:00:10Z"
+}
diff --git a/test/fixtures/files/gbl_documents/b1g_wabash_parent.json b/test/fixtures/files/gbl_documents/b1g_wabash_parent.json
new file mode 100644
index 0000000..fdb25c2
--- /dev/null
+++ b/test/fixtures/files/gbl_documents/b1g_wabash_parent.json
@@ -0,0 +1,59 @@
+{
+ "id": "88cc9b19-3294-4da9-9edd-775c81fb1c59",
+ "gbl_mdVersion_s": "Aardvark",
+ "dct_title_s": "Wabash River Topographic Maps: Indiana, 1929",
+ "dct_description_sm": [
+ "See Related Records below to download individual GeoTIFFs. The maps represented here are tiff files owned by Purdue University's EAS library. The topos were scanned in color and are up to 550MB each. These images can be viewed and performed in the using either ArcGIS Desktop or QGIS (user choice), referencing against a number of known mapsets like the 2005 Indiana Orthophoto setand USGS DRGs. The geographic coordinate system reference of the maps included are applied in GCS_WGS_1984."
+ ],
+ "dct_language_sm": [
+ "eng"
+ ],
+ "dct_creator_sm": [
+ "Brock & Weymouth Inc.",
+ "United States Engineer Office"
+ ],
+ "dct_publisher_sm": [
+ "Purdue University Libraries"
+ ],
+ "gbl_resourceClass_sm": [
+ "Maps"
+ ],
+ "dcat_keyword_sm": [
+ "Topography",
+ "Purdue Georeferenced Imagery"
+ ],
+ "dcat_theme_sm": [
+ "Imagery and Base Maps"
+ ],
+ "dct_issued_s": "2015-10-17",
+ "dct_temporal_sm": [
+ "1929"
+ ],
+ "gbl_dateRange_drsim": [
+ "[1929 TO 1929]"
+ ],
+ "gbl_indexYear_im": [
+ 1929
+ ],
+ "dct_spatial_sm": [
+ "Indiana"
+ ],
+ "locn_geometry": "ENVELOPE(-87.5291,-86.2066,40.8009,39.3999)",
+ "dcat_bbox": "ENVELOPE(-87.5291,-86.2066,40.8009,39.3999)",
+ "dcat_centroid": "40.1004,-86.86785",
+ "pcdm_memberOf_sm": [
+ "09d-01"
+ ],
+ "gbl_resourceType_sm": [
+ "Topographic maps"
+ ],
+ "dct_format_s": "Image Service",
+ "dct_references_s": "{\"urn:x-esri:serviceType:ArcGIS#ImageMapLayer\":\"https://mapsweb.lib.purdue.edu/arcgis/rest/services/Purdue/wabashtopo/ImageServer\",\"http://schema.org/url\":\"https://mapsweb.lib.purdue.edu/wabashriver/\"}",
+ "dct_identifier_sm": [
+ "88cc9b19-3294-4da9-9edd-775c81fb1c59"
+ ],
+ "schema_provider_s": "Purdue University",
+ "dct_accessRights_s": "Public",
+ "gbl_suppressed_b": false,
+ "gbl_mdModified_dt": "2021-05-07T23:00:10Z"
+}
diff --git a/test/fixtures/files/gbl_documents/baruch_ancestor1.json b/test/fixtures/files/gbl_documents/baruch_ancestor1.json
index f9ec6d2..1534197 100644
--- a/test/fixtures/files/gbl_documents/baruch_ancestor1.json
+++ b/test/fixtures/files/gbl_documents/baruch_ancestor1.json
@@ -57,7 +57,8 @@
"Borough of Staten Island, New York"
],
"locn_geometry": "ENVELOPE(-74.255895,-73.700272,40.915282,40.495929)",
- "dcat_centroid_ss": "40.7056055,-73.9780835",
+ "dcat_bbox": "ENVELOPE(-74.255895,-73.700272,40.915282,40.495929)",
+ "dcat_centroid": "40.7056055,-73.9780835",
"dct_accessRights_s": "Public",
"dct_format_s": "SQLite Database",
"gbl_wxsIdentifier_s": "sdr:nyu_2451_34635",
diff --git a/test/fixtures/files/gbl_documents/baruch_ancestor2.json b/test/fixtures/files/gbl_documents/baruch_ancestor2.json
index 97608ba..6717e33 100644
--- a/test/fixtures/files/gbl_documents/baruch_ancestor2.json
+++ b/test/fixtures/files/gbl_documents/baruch_ancestor2.json
@@ -57,7 +57,8 @@
"Borough of Staten Island, New York"
],
"locn_geometry": "ENVELOPE(-74.255895,-73.700272,40.915282,40.495929)",
- "dcat_centroid_ss": "40.7056055,-73.9780835",
+ "dcat_bbox": "ENVELOPE(-74.255895,-73.700272,40.915282,40.495929)",
+ "dcat_centroid": "40.7056055,-73.9780835",
"dct_accessRights_s": "Public",
"dct_format_s": "Geodatabase",
"gbl_wxsIdentifier_s": "sdr:nyu_2451_34636",
diff --git a/test/fixtures/files/gbl_documents/baruch_documentation_download.json b/test/fixtures/files/gbl_documents/baruch_documentation_download.json
index 092f2ef..045b28a 100644
--- a/test/fixtures/files/gbl_documents/baruch_documentation_download.json
+++ b/test/fixtures/files/gbl_documents/baruch_documentation_download.json
@@ -57,7 +57,7 @@
"Borough of Queens, New York"
],
"locn_geometry": "ENVELOPE(-74.030876,-73.755405,40.903125,40.576127)",
- "dcat_centroid_ss": "40.739626,-73.8931405",
+ "dcat_centroid": "40.739626,-73.8931405",
"dct_source_sm": [
"nyu_2451_34635",
"nyu_2451_34636"
diff --git a/test/fixtures/files/gbl_documents/bbox-spans-180.json b/test/fixtures/files/gbl_documents/bbox-spans-180.json
index 564bdf3..f251741 100644
--- a/test/fixtures/files/gbl_documents/bbox-spans-180.json
+++ b/test/fixtures/files/gbl_documents/bbox-spans-180.json
@@ -24,7 +24,8 @@
"GBL Fixture records"
],
"locn_geometry": "ENVELOPE(-124.7333333,68,62.45,-53.23333333)",
- "dcat_centroid_ss": "4.608,-28.366",
+ "dcat_bbox": "ENVELOPE(-124.7333333,68,62.45,-53.23333333)",
+ "dcat_centroid": "4.608,-28.366",
"dct_accessRights_s": "Public",
"dct_format_s": "TIFF",
"gbl_wxsIdentifier_s": "public-figgy:a990e1b4-7f0e-44b8-ae2a-de7e93cdd74a",
diff --git a/test/fixtures/files/gbl_documents/cornell_html_metadata.json b/test/fixtures/files/gbl_documents/cornell_html_metadata.json
index c36a032..84dd603 100644
--- a/test/fixtures/files/gbl_documents/cornell_html_metadata.json
+++ b/test/fixtures/files/gbl_documents/cornell_html_metadata.json
@@ -28,7 +28,7 @@
],
"dcat_theme_sm": [
"Environment",
- "Climatology, Meteorology and Atmosphere"
+ "Climate"
],
"dcat_keyword_sm": [
"GBL Fixture records"
@@ -47,12 +47,13 @@
"New York"
],
"locn_geometry": "ENVELOPE(-74.989258,-73.858335,44.67778,43.452994)",
- "dcat_centroid_ss": "44.065387,-74.42379650000001",
+ "dcat_bbox": "ENVELOPE(-74.989258,-73.858335,44.67778,43.452994)",
+ "dcat_centroid": "44.065387,-74.42379650000001",
"dct_accessRights_s": "Public",
"dct_format_s": "Shapefile",
"gbl_fileSize_s": "0.07 MB",
"gbl_wxsIdentifier_s": "cugir007741",
- "dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://schema.org/downloadUrl:https://s3.amazonaws.com/cugir-data/00/77/41/cugir-007741.zip\",\"http://www.opengis.net/cat/csw/csdgm\":\"https://s3.amazonaws.com/cugir-data/00/77/41/fgdc.xml\",\"http://www.w3.org/1999/xhtml\":\"https://s3.amazonaws.com/cugir-data/00/77/41/fgdc.html\",\"http://www.opengis.net/def/serviceType/ogc/wfs\":\"https://cugir.library.cornell.edu/geoserver/cugir/wfs\",\"http://www.opengis.net/def/serviceType/ogc/wms\":\"https://cugir.library.cornell.edu/geoserver/cugir/wms\"}",
+ "dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://s3.amazonaws.com/cugir-data/00/77/41/cugir-007741.zip\",\"http://www.opengis.net/cat/csw/csdgm\":\"https://s3.amazonaws.com/cugir-data/00/77/41/fgdc.xml\",\"http://www.w3.org/1999/xhtml\":\"https://s3.amazonaws.com/cugir-data/00/77/41/fgdc.html\",\"http://www.opengis.net/def/serviceType/ogc/wfs\":\"https://cugir.library.cornell.edu/geoserver/cugir/wfs\",\"http://www.opengis.net/def/serviceType/ogc/wms\":\"https://cugir.library.cornell.edu/geoserver/cugir/wms\"}",
"id": "cugir-007741",
"dct_identifier_sm": [
"https://cugir.library.cornell.edu/catalog/cugir-007741"
diff --git a/test/fixtures/files/gbl_documents/esri-dynamic-layer-all-layers.json b/test/fixtures/files/gbl_documents/esri-dynamic-layer-all-layers.json
index bc1b323..bc6efe7 100644
--- a/test/fixtures/files/gbl_documents/esri-dynamic-layer-all-layers.json
+++ b/test/fixtures/files/gbl_documents/esri-dynamic-layer-all-layers.json
@@ -24,7 +24,7 @@
"Polygon data"
],
"dcat_theme_sm": [
- "Geoscientific Information"
+ "Geology"
],
"dcat_keyword_sm": [
"GBL Fixture records"
@@ -43,7 +43,8 @@
"Illinois"
],
"locn_geometry": "ENVELOPE(-91.513518,-87.495214,42.508348,36.969972)",
- "dcat_centroid_ss": "39.73916,-89.504366",
+ "dcat_bbox": "ENVELOPE(-91.513518,-87.495214,42.508348,36.969972)",
+ "dcat_centroid": "39.73916,-89.504366",
"dct_accessRights_s": "Public",
"dct_format_s": "Shapefile",
"dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://clearinghouse.isgs.illinois.edu/sites/clearinghouse.isgs/files/Clearinghouse/data/ISGS/Geology/zips/IL_Glacial_Bndys_Py.zip\",\"http://schema.org/url\":\"https://clearinghouse.isgs.illinois.edu/data/geology/glacial-boundaries\",\"urn:x-esri:serviceType:ArcGIS#DynamicMapLayer\":\"https://data.isgs.illinois.edu/arcgis/rest/services/Geology/Glacial_Boundaries/MapServer\"}",
diff --git a/test/fixtures/files/gbl_documents/esri-dynamic-layer-single-layer.json b/test/fixtures/files/gbl_documents/esri-dynamic-layer-single-layer.json
index 914a35e..af6ccf6 100644
--- a/test/fixtures/files/gbl_documents/esri-dynamic-layer-single-layer.json
+++ b/test/fixtures/files/gbl_documents/esri-dynamic-layer-single-layer.json
@@ -25,7 +25,7 @@
"Point data"
],
"dcat_theme_sm": [
- "Geoscientific Information"
+ "Geology"
],
"dcat_keyword_sm": [
"GBL Fixture records"
@@ -44,7 +44,8 @@
"Indiana"
],
"locn_geometry": "ENVELOPE(-87.9324,-86.2569,39.8521,37.8626)",
- "dcat_centroid_ss": "38.85735,-87.09465",
+ "dcat_bbox": "ENVELOPE(-87.9324,-86.2569,39.8521,37.8626)",
+ "dcat_centroid": "38.85735,-87.09465",
"dct_accessRights_s": "Public",
"dct_format_s": "Shapefile",
"dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://maps.indiana.edu/download/Geology/Industrial_Minerals_Quarries_Abandoned.zip\",\"http://www.opengis.net/cat/csw/csdgm\":\"https://maps.indiana.edu/metadata/Geology/Industrial_Minerals_Quarries_Abandoned.xml\",\"http://schema.org/url\":\"http://maps.indiana.edu/previewMaps/Geology/Industrial_Minerals_Quarries_Abandoned.html\",\"urn:x-esri:serviceType:ArcGIS#DynamicMapLayer\":\"https://maps.indiana.edu/arcgis/rest/services/Geology/Industrial_Minerals_Quarries_Abandoned/MapServer/0\"}",
diff --git a/test/fixtures/files/gbl_documents/esri-feature-layer.json b/test/fixtures/files/gbl_documents/esri-feature-layer.json
index 51a91b2..01fa1a1 100644
--- a/test/fixtures/files/gbl_documents/esri-feature-layer.json
+++ b/test/fixtures/files/gbl_documents/esri-feature-layer.json
@@ -43,7 +43,8 @@
"Maryland"
],
"locn_geometry": "ENVELOPE(-79.4539,-75.124,39.7194,37.9667)",
- "dcat_centroid_ss": "38.843050000000005,-77.28895",
+ "dcat_bbox": "ENVELOPE(-79.4539,-75.124,39.7194,37.9667)",
+ "dcat_centroid": "38.843050000000005,-77.28895",
"dct_accessRights_s": "Public",
"dct_format_s": "Shapefile",
"dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://data.imap.maryland.gov/datasets/f406332e63eb4478a9560ad86ae90327_18.zip\",\"urn:x-esri:serviceType:ArcGIS#FeatureLayer\":\"https://geodata.md.gov/imap/rest/services/Transportation/MD_Transit/FeatureServer/18\",\"http://schema.org/url\":\"http://data.imap.maryland.gov/datasets/f406332e63eb4478a9560ad86ae90327_18\"}",
diff --git a/test/fixtures/files/gbl_documents/esri-image-map-layer.json b/test/fixtures/files/gbl_documents/esri-image-map-layer.json
index f845c66..941821d 100644
--- a/test/fixtures/files/gbl_documents/esri-image-map-layer.json
+++ b/test/fixtures/files/gbl_documents/esri-image-map-layer.json
@@ -21,7 +21,7 @@
"Topographic maps"
],
"dcat_theme_sm": [
- "Imagery and Base Maps"
+ "Imagery"
],
"dcat_keyword_sm": [
"GBL Fixture records"
@@ -40,7 +40,8 @@
"Indiana"
],
"locn_geometry": "ENVELOPE(-87.324704,-87.174404,40.310695,40.233691)",
- "dcat_centroid_ss": "40.272193,-87.24955399999999",
+ "dcat_bbox": "ENVELOPE(-87.324704,-87.174404,40.310695,40.233691)",
+ "dcat_centroid": "40.272193,-87.24955399999999",
"dct_source_sm": [
"88cc9b19-3294-4da9-9edd-775c81fb1c59"
],
diff --git a/test/fixtures/files/gbl_documents/esri-tiled_map_layer.json b/test/fixtures/files/gbl_documents/esri-tiled_map_layer.json
index 6ce70e3..9fc7fd1 100644
--- a/test/fixtures/files/gbl_documents/esri-tiled_map_layer.json
+++ b/test/fixtures/files/gbl_documents/esri-tiled_map_layer.json
@@ -33,7 +33,8 @@
"[2010 TO 2010]"
],
"locn_geometry": "ENVELOPE(-129.4956,-64.4393,48.6336,21.8079)",
- "dcat_centroid_ss": "35.22075,-96.96745",
+ "dcat_bbox": "ENVELOPE(-129.4956,-64.4393,48.6336,21.8079)",
+ "dcat_centroid": "35.22075,-96.96745",
"dct_accessRights_s": "Public",
"dct_format_s": "GeoTIFF",
"gbl_wxsIdentifier_s": "test-soil-survey_map",
diff --git a/test/fixtures/files/gbl_documents/esri-wms-layer.json b/test/fixtures/files/gbl_documents/esri-wms-layer.json
index 47fb1e8..ef0b5d7 100644
--- a/test/fixtures/files/gbl_documents/esri-wms-layer.json
+++ b/test/fixtures/files/gbl_documents/esri-wms-layer.json
@@ -44,7 +44,8 @@
"Indiana"
],
"locn_geometry": "ENVELOPE(-88.1607,-84.6882,41.7753,37.7554)",
- "dcat_centroid_ss": "39.76,-86.42",
+ "dcat_bbox": "ENVELOPE(-88.1607,-84.6882,41.7753,37.7554)",
+ "dcat_centroid": "39.76,-86.42",
"dct_accessRights_s": "Public",
"dct_format_s": "Shapefile",
"gbl_wxsIdentifier_s": "0",
diff --git a/test/fixtures/files/gbl_documents/harvard_raster.json b/test/fixtures/files/gbl_documents/harvard_raster.json
index 1ee68e2..901132a 100644
--- a/test/fixtures/files/gbl_documents/harvard_raster.json
+++ b/test/fixtures/files/gbl_documents/harvard_raster.json
@@ -29,7 +29,7 @@
"Bodies of water"
],
"dcat_theme_sm": [
- "Imagery and Base Maps",
+ "Imagery",
"Transportation"
],
"dcat_keyword_sm": [
@@ -49,7 +49,8 @@
"Russia Saint Petersburg"
],
"locn_geometry": "ENVELOPE(30.013108,30.875309,60.041712,59.669749)",
- "dcat_centroid_ss": "59.8557305,30.444208500000002",
+ "dcat_bbox": "ENVELOPE(30.013108,30.875309,60.041712,59.669749)",
+ "dcat_centroid": "59.8557305,30.444208500000002",
"dct_accessRights_s": "Public",
"dct_format_s": "GeoTIFF",
"gbl_wxsIdentifier_s": "cite:G7064_S2_1834_K3",
diff --git a/test/fixtures/files/gbl_documents/iiif-eastern-hemisphere.json b/test/fixtures/files/gbl_documents/iiif-eastern-hemisphere.json
index 6c84d2d..2bfed8f 100644
--- a/test/fixtures/files/gbl_documents/iiif-eastern-hemisphere.json
+++ b/test/fixtures/files/gbl_documents/iiif-eastern-hemisphere.json
@@ -29,8 +29,9 @@
"gbl_dateRange_drsim": [
"[1750 TO 1750]"
],
- "locn_geometry": "ENVELOPE(25,-168.35,81.66,-12.93)",
- "dcat_centroid_ss": "34.365,-71.675",
+ "locn_geometry": "MULTIPOLYGON (((-180 81.66,-168.35 81.66,-168.35 -12.93, -180 -12.93, -180 81.66),(25 81.66,25 -12.93,180 -12.93,180 81.66, 25 81.66)))",
+ "dcat_bbox": "ENVELOPE(25,-168.35,81.66,-12.93)",
+ "dcat_centroid": "34.365,-71.675",
"dct_accessRights_s": "Public",
"dct_format_s": "JPEG",
"dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://umedia.lib.umn.edu/sites/default/files/archive/113/image/tiff/1058396.tif\",\"http://schema.org/url\":\"http://purl.umn.edu/200804\",\"http://iiif.io/api/presentation#manifest\":\"https://cdm16022.contentdm.oclc.org/iiif/info/p16022coll246/224/manifest.json\"}",
diff --git a/test/fixtures/files/gbl_documents/index-map-polygon-no-downloadurl.json b/test/fixtures/files/gbl_documents/index-map-polygon-no-downloadurl.json
index f793abb..71f7d6a 100644
--- a/test/fixtures/files/gbl_documents/index-map-polygon-no-downloadurl.json
+++ b/test/fixtures/files/gbl_documents/index-map-polygon-no-downloadurl.json
@@ -44,7 +44,8 @@
"New York"
],
"locn_geometry": "ENVELOPE(-79.750232,-71.750494,44.999963,40.499893)",
- "dcat_centroid_ss": "42.749928,-75.750363",
+ "dcat_bbox": "ENVELOPE(-79.750232,-71.750494,44.999963,40.499893)",
+ "dcat_centroid": "42.749928,-75.750363",
"dct_accessRights_s": "Public",
"dct_format_s": "GeoTIFF",
"gbl_wxsIdentifier_s": "cugir008186",
diff --git a/test/fixtures/files/gbl_documents/index-map-polygon.json b/test/fixtures/files/gbl_documents/index-map-polygon.json
index a03d393..0959070 100644
--- a/test/fixtures/files/gbl_documents/index-map-polygon.json
+++ b/test/fixtures/files/gbl_documents/index-map-polygon.json
@@ -44,7 +44,8 @@
"New York"
],
"locn_geometry": "ENVELOPE(-79.750232,-71.750494,44.999963,40.499893)",
- "dcat_centroid_ss": "42.749928,-75.750363",
+ "dcat_bbox": "ENVELOPE(-79.750232,-71.750494,44.999963,40.499893)",
+ "dcat_centroid": "42.749928,-75.750363",
"dct_accessRights_s": "Public",
"dct_format_s": "GeoTIFF",
"gbl_wxsIdentifier_s": "cugir008186",
diff --git a/test/fixtures/files/gbl_documents/index-map-stanford.json b/test/fixtures/files/gbl_documents/index-map-stanford.json
index e0e954c..6089bbc 100644
--- a/test/fixtures/files/gbl_documents/index-map-stanford.json
+++ b/test/fixtures/files/gbl_documents/index-map-stanford.json
@@ -49,7 +49,8 @@
"Davao (Philippines)"
],
"locn_geometry": "ENVELOPE(125,126,7.3333,6.6666)",
- "dcat_centroid_ss": "6.99995,125.5",
+ "dcat_bbox": "ENVELOPE(125,126,7.3333,6.6666)",
+ "dcat_centroid": "6.99995,125.5",
"dct_rights_sm": [
"These data are licensed by Stanford Libraries and are available to Stanford University affiliates only. Affiliates are limited to current faculty, staff and students. These data may not be reproduced or used for any purpose without permission. For more information please contact brannerlibrary@stanford.edu"
],
diff --git a/test/fixtures/files/gbl_documents/index_map_point.json b/test/fixtures/files/gbl_documents/index_map_point.json
index 8c62096..fd21ce1 100644
--- a/test/fixtures/files/gbl_documents/index_map_point.json
+++ b/test/fixtures/files/gbl_documents/index_map_point.json
@@ -26,7 +26,7 @@
"Index maps"
],
"dcat_theme_sm": [
- "Imagery and Base Maps"
+ "Imagery"
],
"dcat_keyword_sm": [
"GBL Fixture records"
@@ -42,7 +42,8 @@
"New York"
],
"locn_geometry": "ENVELOPE(-74.783,-74.733,40.2,40.166)",
- "dcat_centroid_ss": "40.183,-74.75800000000001",
+ "dcat_bbox": "ENVELOPE(-74.783,-74.733,40.2,40.166)",
+ "dcat_centroid": "40.183,-74.75800000000001",
"dct_accessRights_s": "Public",
"dct_format_s": "GeoJSON",
"dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://raw.githubusercontent.com/OpenIndexMaps/edu.cornell/master/ny-aerial-photos-1960s.geojson\",\"https://openindexmaps.org\":\"https://raw.githubusercontent.com/OpenIndexMaps/edu.cornell/master/ny-aerial-photos-1960s.geojson\"}",
diff --git a/test/fixtures/files/gbl_documents/metadata_no_provider.json b/test/fixtures/files/gbl_documents/metadata_no_provider.json
index b02299c..33da10c 100644
--- a/test/fixtures/files/gbl_documents/metadata_no_provider.json
+++ b/test/fixtures/files/gbl_documents/metadata_no_provider.json
@@ -30,7 +30,8 @@
"United States"
],
"locn_geometry": "ENVELOPE(-179.9,-64.4,71.6,-14.8)",
- "dcat_centroid_ss": "28.4,-122.15",
+ "dcat_bbox": "ENVELOPE(-179.9,-64.4,71.6,-14.8)",
+ "dcat_centroid": "28.4,-122.15",
"dct_accessRights_s": "Restricted",
"dct_references_s": "{\"http://schema.org/url\":\"https://www.socialexplorer.com/\"}",
"id": "99-0001-noprovider",
diff --git a/test/fixtures/files/gbl_documents/multiple-downloads.json b/test/fixtures/files/gbl_documents/multiple-downloads.json
index 7d144f6..fdb61f0 100644
--- a/test/fixtures/files/gbl_documents/multiple-downloads.json
+++ b/test/fixtures/files/gbl_documents/multiple-downloads.json
@@ -33,10 +33,11 @@
"Broome County NY"
],
"locn_geometry": "ENVELOPE(-76.12987,-75.42034,42.414648,41.997963)",
- "dcat_centroid_ss": "42.2063055,-75.775105",
+ "dcat_bbox": "ENVELOPE(-76.12987,-75.42034,42.414648,41.997963)",
+ "dcat_centroid": "42.2063055,-75.775105",
"dct_accessRights_s": "Public",
"dct_format_s": "Shapefile",
- "dct_references_s": "{\"http:\/\/schema.org\/downloadUrl\":[{\"url\":\"https:\/\/cugir-data.s3.amazonaws.com\/00\/79\/50\/cugir-007950.zip\",\"label\":\"Shapefile\"},{\"url\":\"https:\/\/cugir-data.s3.amazonaws.com\/00\/79\/50\/agBROO.pdf\",\"label\":\"PDF\"},{\"url\":\"https:\/\/cugir-data.s3.amazonaws.com\/00\/79\/50\/agBROO2011.kmz\",\"label\":\"KMZ\"}],\"http:\/\/www.opengis.net\/cat\/csw\/csdgm\":\"https:\/\/cugir-data.s3.amazonaws.com\/00\/79\/50\/fgdc.xml\",\"http:\/\/www.w3.org\/1999\/xhtml\":\"https:\/\/cugir-data.s3.amazonaws.com\/00\/79\/50\/fgdc.html\",\"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wfs\":\"https:\/\/cugir.library.cornell.edu\/geoserver\/cugir\/wfs\",\"http:\/\/www.opengis.net\/def\/serviceType\/ogc\/wms\":\"https:\/\/cugir.library.cornell.edu\/geoserver\/cugir\/wms\"}",
+ "dct_references_s": "{\"http://schema.org/downloadUrl\":[{\"url\":\"https://cugir-data.s3.amazonaws.com/00/79/50/cugir-007950.zip\",\"label\":\"Shapefile\"},{\"url\":\"https://cugir-data.s3.amazonaws.com/00/79/50/agBROO.pdf\",\"label\":\"PDF\"},{\"url\":\"https://cugir-data.s3.amazonaws.com/00/79/50/agBROO2011.kmz\",\"label\":\"KMZ\"}],\"http://www.opengis.net/cat/csw/csdgm\":\"https://cugir-data.s3.amazonaws.com/00/79/50/fgdc.xml\",\"http://www.w3.org/1999/xhtml\":\"https://cugir-data.s3.amazonaws.com/00/79/50/fgdc.html\",\"http://www.opengis.net/def/serviceType/ogc/wfs\":\"https://cugir.library.cornell.edu/geoserver/cugir/wfs\",\"http://www.opengis.net/def/serviceType/ogc/wms\":\"https://cugir.library.cornell.edu/geoserver/cugir/wms\"}",
"id": "cugir-007950",
"gbl_mdModified_dt": "2021-06-11T18:39:49Z",
"gbl_mdVersion_s": "Aardvark"
diff --git a/test/fixtures/files/gbl_documents/no_spatial.json b/test/fixtures/files/gbl_documents/no_spatial.json
index 4cc2d95..babd501 100644
--- a/test/fixtures/files/gbl_documents/no_spatial.json
+++ b/test/fixtures/files/gbl_documents/no_spatial.json
@@ -4,7 +4,7 @@
"no_spatial"
],
"dct_description_sm": [
- "File without geometry type or solr_geometry (will cause error). ",
+ "File without geometry type or locn_geometry (will cause error). ",
"The Advanced Spaceborne Thermal Emission and Reflection radiometer Global Emissivity Database (ASTER GED) was developed by the National Aeronautics and Space Administration's (NASA) Jet Propulsion Laboratory (JPL), California Institute of Technology. The North America portion of this collection was formerly called the North American ASTER Land Surface Emissivity Database (NAALSED) - a seasonal dataset consisting of mean summer (J-A-S) and winter (J-F-M) products. ASTER GED products are output on 1degree x 1 degree grids at 100-meter or 1-kilometer spatial resolution (nominal) and include the mean emissivity and standard deviation for all 5 ASTER thermal infrared bands, mean land surface temperature (LST) and standard deviation, a re-sampled ASTER GDEM (not included in the North America Winter products), land-water mask, mean Normalized Difference Vegetation Index (NDVI) and standard deviation, latitude, longitude, and observation count. Additional ASTER GED product information is available at https://lpdaac.usgs.gov/products/community_products_table. Product tiles are available in HDF and binary format and may be downloaded via HTTP by visiting the following data clients: NASA Reverb (http://reverb.echo.nasa.gov), LP DAAC Data Pool (http://e4ftl01.cr.usgs.gov/ASTT/), or EarthExplorer (http://earthexplorer.usgs.gov)."
],
"schema_provider_s": "U.S. Geological Survey, Department of the Interior",
@@ -22,9 +22,6 @@
"Image map",
"Emissivity"
],
- "dcat_theme_sm": [
- "Imagery and Base Maps"
- ],
"dcat_keyword_sm": [
"GBL Fixture records"
],
diff --git a/test/fixtures/files/gbl_documents/oembed.json b/test/fixtures/files/gbl_documents/oembed.json
index 81f6b04..1475ffb 100644
--- a/test/fixtures/files/gbl_documents/oembed.json
+++ b/test/fixtures/files/gbl_documents/oembed.json
@@ -28,7 +28,8 @@
"Japan"
],
"locn_geometry": "ENVELOPE(138.523426,138.630362,36.656354,36.597519)",
- "dcat_centroid_ss": "36.6269365,138.57689399999998",
+ "dcat_bbox": "ENVELOPE(138.523426,138.630362,36.656354,36.597519)",
+ "dcat_centroid": "36.6269365,138.57689399999998",
"dct_accessRights_s": "Public",
"dct_format_s": "JPEG",
"dct_references_s": "{\"http://schema.org/url\":\"http://purl.stanford.edu/dc482zx1528\",\"https://oembed.com\":\"https://purl.stanford.edu/embed.json?&hide_title=true&url=https://purl.stanford.edu/dc482zx1528\"}",
diff --git a/test/fixtures/files/gbl_documents/princeton-child1.json b/test/fixtures/files/gbl_documents/princeton-child1.json
index 822efce..75ab059 100644
--- a/test/fixtures/files/gbl_documents/princeton-child1.json
+++ b/test/fixtures/files/gbl_documents/princeton-child1.json
@@ -4,7 +4,7 @@
"princeton-child1"
],
"dct_description_sm": [
- "Child record for testing the suppressed_b property. ",
+ "Child record for testing the gbl_suppressed_b property. ",
"Title taken from sheet 1 of 1927 map. \"Feb. 1885.\" Includes location map and key. Oriented with the north to the upper left."
],
"dct_language_sm": [
@@ -28,7 +28,8 @@
"GBL Fixture records"
],
"locn_geometry": "ENVELOPE(-74.68,-74.63,40.37,40.33)",
- "dcat_centroid_ss": "40.349999999999994,-74.655",
+ "dcat_bbox": "ENVELOPE(-74.68,-74.63,40.37,40.33)",
+ "dcat_centroid": "40.349999999999994,-74.655",
"dct_source_sm": [
"princeton-1r66j405w"
],
diff --git a/test/fixtures/files/gbl_documents/princeton-child2.json b/test/fixtures/files/gbl_documents/princeton-child2.json
index d213e37..47572eb 100644
--- a/test/fixtures/files/gbl_documents/princeton-child2.json
+++ b/test/fixtures/files/gbl_documents/princeton-child2.json
@@ -4,7 +4,7 @@
"princeton-child2"
],
"dct_description_sm": [
- "Child record for testing the suppressed_b property. ",
+ "Child record for testing the gbl_suppressed_b property. ",
"Title taken from sheet 1 of 1927 map. \"Feb. 1885.\" Includes location map and key. Oriented with the north to the upper left."
],
"dct_language_sm": [
@@ -28,7 +28,8 @@
"GBL Fixture records"
],
"locn_geometry": "ENVELOPE(-74.68,-74.63,40.37,40.33)",
- "dcat_centroid_ss": "40.349999999999994,-74.655",
+ "dcat_bbox": "ENVELOPE(-74.68,-74.63,40.37,40.33)",
+ "dcat_centroid": "40.349999999999994,-74.655",
"dct_source_sm": [
"princeton-1r66j405w"
],
diff --git a/test/fixtures/files/gbl_documents/princeton-child3.json b/test/fixtures/files/gbl_documents/princeton-child3.json
index e6f3f7e..046894c 100644
--- a/test/fixtures/files/gbl_documents/princeton-child3.json
+++ b/test/fixtures/files/gbl_documents/princeton-child3.json
@@ -28,7 +28,8 @@
"GBL Fixture records"
],
"locn_geometry": "ENVELOPE(-74.68,-74.63,40.37,40.33)",
- "dcat_centroid_ss": "40.349999999999994,-74.655",
+ "dcat_bbox": "ENVELOPE(-74.68,-74.63,40.37,40.33)",
+ "dcat_centroid": "40.349999999999994,-74.655",
"dct_source_sm": [
"princeton-1r66j405w"
],
diff --git a/test/fixtures/files/gbl_documents/princeton-child4.json b/test/fixtures/files/gbl_documents/princeton-child4.json
index 1888297..b56104e 100644
--- a/test/fixtures/files/gbl_documents/princeton-child4.json
+++ b/test/fixtures/files/gbl_documents/princeton-child4.json
@@ -4,7 +4,7 @@
"princeton-child4"
],
"dct_description_sm": [
- "Child record for testing the suppressed_b property. ",
+ "Child record for testing the gbl_suppressed_b property. ",
"Title taken from sheet 1 of 1927 map. \"Feb. 1885.\" Includes location map and key. Oriented with the north to the upper left."
],
"dct_language_sm": [
@@ -28,7 +28,8 @@
"GBL Fixture records"
],
"locn_geometry": "ENVELOPE(-74.68,-74.63,40.37,40.33)",
- "dcat_centroid_ss": "40.349999999999994,-74.655",
+ "dcat_bbox": "ENVELOPE(-74.68,-74.63,40.37,40.33)",
+ "dcat_centroid": "40.349999999999994,-74.655",
"dct_source_sm": [
"princeton-1r66j405w"
],
diff --git a/test/fixtures/files/gbl_documents/princeton-parent.json b/test/fixtures/files/gbl_documents/princeton-parent.json
index e188ec4..50ef999 100644
--- a/test/fixtures/files/gbl_documents/princeton-parent.json
+++ b/test/fixtures/files/gbl_documents/princeton-parent.json
@@ -4,7 +4,7 @@
"princeton-parent"
],
"dct_description_sm": [
- "Parent record for testing the suppressed_b property. ",
+ "Parent record for testing the gbl_suppressed_b property. ",
"Title taken from sheet 1 of 1927 map. \"Feb. 1885.\" Includes location map and key. Oriented with the north to the upper left."
],
"dct_language_sm": [
@@ -14,7 +14,8 @@
"Sanborn Map Company"
],
"dct_publisher_sm": [
- "New York : Sanborn Map & Publishing Co., Limited, 1885."
+ "New York : Sanborn Map & Publishing Co., Limited, 1885.",
+ "Princeton University Library"
],
"schema_provider_s": "Princeton",
"gbl_resourceClass_sm": [
@@ -34,7 +35,8 @@
"[1885 TO 1885]"
],
"locn_geometry": "ENVELOPE(-74.68,-74.63,40.37,40.33)",
- "dcat_centroid_ss": "40.350,-74.655",
+ "dcat_bbox": "ENVELOPE(-74.68,-74.63,40.37,40.33)",
+ "dcat_centroid": "40.350,-74.655",
"dct_accessRights_s": "Public",
"gbl_wxsIdentifier_s": "ark:/88435/1r66j405w",
"dct_references_s": "{\"http://iiif.io/api/image\":\"https://libimages1.princeton.edu/loris/figgy_prod/5a%2F20%2F58%2F5a20585db50d44959fe5ae44821fd174%2Fintermediate_file.jp2/info.json\",\"http://schema.org/url\":\"https://catalog.princeton.edu/catalog/4266648\",\"http://iiif.io/api/presentation#manifest\":\"https://figgy.princeton.edu/concern/scanned_maps/9a193476-5f2e-4f82-95a5-6db472e39b7b/manifest\"}",
diff --git a/test/fixtures/files/gbl_documents/public_direct_download.json b/test/fixtures/files/gbl_documents/public_direct_download.json
index 74c5a30..b8366d7 100644
--- a/test/fixtures/files/gbl_documents/public_direct_download.json
+++ b/test/fixtures/files/gbl_documents/public_direct_download.json
@@ -44,7 +44,8 @@
"Uganda"
],
"locn_geometry": "ENVELOPE(29.572742,35.000308,4.234077,-1.478794)",
- "dcat_centroid_ss": "1.3776415000000002,32.286525",
+ "dcat_bbox": "ENVELOPE(29.572742,35.000308,4.234077,-1.478794)",
+ "dcat_centroid": "1.3776415000000002,32.286525",
"dct_rights_sm": [
"This item is in the public domain. There are no restrictions on use."
],
diff --git a/test/fixtures/files/gbl_documents/public_iiif_princeton.json b/test/fixtures/files/gbl_documents/public_iiif_princeton.json
index 3c73297..40dbdd7 100644
--- a/test/fixtures/files/gbl_documents/public_iiif_princeton.json
+++ b/test/fixtures/files/gbl_documents/public_iiif_princeton.json
@@ -47,11 +47,12 @@
"Pennsylvania"
],
"locn_geometry": "ENVELOPE(-76.3394,-72.1916,46.5798,38.6693)",
- "dcat_centroid_ss": "42.62455,-74.2655",
+ "dcat_bbox": "ENVELOPE(-76.3394,-72.1916,46.5798,38.6693)",
+ "dcat_centroid": "42.62455,-74.2655",
"dct_accessRights_s": "Public",
"dct_format_s": "Raster",
"gbl_wxsIdentifier_s": "02870w62c",
- "dct_references_s": "{\"http://iiif.io/api/image\":\"https://libimages.princeton.edu/loris/pudl0076/map_pownall/00000001.jp2/info.json\",\"http://schema.org/url\":\"http://arks.princeton.edu/ark:/88435/02870w62c\"}",
+ "dct_references_s": "{\"http://iiif.io/api/image\":\"https://iiif-cloud.princeton.edu/iiif/2/6c%2F52%2F12%2F6c5212e81bc845f59bb1cdc740a88bad%2Fintermediate_file/info.json\",\"http://schema.org/url\":\"http://arks.princeton.edu/ark:/88435/02870w62c\"}",
"id": "princeton-02870w62c",
"dct_identifier_sm": [
"http://arks.princeton.edu/ark:/88435/02870w62c"
diff --git a/test/fixtures/files/gbl_documents/public_polygon_mit.json b/test/fixtures/files/gbl_documents/public_polygon_mit.json
index be07bb1..17cf1b7 100644
--- a/test/fixtures/files/gbl_documents/public_polygon_mit.json
+++ b/test/fixtures/files/gbl_documents/public_polygon_mit.json
@@ -32,7 +32,8 @@
"Massachusetts"
],
"locn_geometry": "ENVELOPE(-73.533237,-69.898565,42.888068,41.230345)",
- "dcat_centroid_ss": "42.0592065,-71.715901",
+ "dcat_bbox": "ENVELOPE(-73.533237,-69.898565,42.888068,41.230345)",
+ "dcat_centroid": "42.0592065,-71.715901",
"dct_accessRights_s": "Public",
"dct_format_s": "Shapefile",
"gbl_wxsIdentifier_s": "mit:SDE_DATA_US_MA_E25ZCTA5DCT_2000",
diff --git a/test/fixtures/files/gbl_documents/restricted-line.json b/test/fixtures/files/gbl_documents/restricted-line.json
index 2c3bee0..9664af8 100644
--- a/test/fixtures/files/gbl_documents/restricted-line.json
+++ b/test/fixtures/files/gbl_documents/restricted-line.json
@@ -51,7 +51,8 @@
"Mendocino County (Calif.)"
],
"locn_geometry": "ENVELOPE(-123.387366,-122.52958,39.398403,38.302994)",
- "dcat_centroid_ss": "38.8506985,-122.958473",
+ "dcat_bbox": "ENVELOPE(-123.387366,-122.52958,39.398403,38.302994)",
+ "dcat_centroid": "38.8506985,-122.958473",
"dct_rights_sm": [
"These data are licensed by Stanford Libraries and are available to Stanford University affiliates only. Affiliates are limited to current faculty, staff and students. These data may not be reproduced or used for any purpose without permission. For more information please contact brannerlibrary@stanford.edu"
],
diff --git a/test/fixtures/files/gbl_documents/tilejson.json b/test/fixtures/files/gbl_documents/tilejson.json
new file mode 100644
index 0000000..03cdafe
--- /dev/null
+++ b/test/fixtures/files/gbl_documents/tilejson.json
@@ -0,0 +1,48 @@
+{
+ "gbl_mdVersion_s": "Aardvark",
+ "dct_identifier_sm": [
+ "ark:/99999/fk4544658v"
+ ],
+ "id": "princeton-fk4544658v-tilejson",
+ "dct_title_s": "The Balkans [and] Turkey : G.S.G.S. no. 2097 / War Office. General Staff. Geographical Section (TileJSON Fixture)",
+ "locn_geometry": "ENVELOPE(19.333333, 29.333333, 43.083333, 39.75)",
+ "dcat_bbox": "ENVELOPE(19.333333, 29.333333, 43.083333, 39.75)",
+ "schema_provider_s": "Princeton",
+ "dct_accessRights_s": "Public",
+ "dct_description_sm": [
+ "Relief shown by contours approximately 100 feet interval, spot heights, and shading. Title varies; some sheets are titled \"Turkey\". Shows international boundaries, railways, 2 categories of roads, telegraph lines, places of worship, ruins. Constantinople latest edition map has a glossary."
+ ],
+ "dct_creator_sm": [
+ "Great Britain. War Office. General Staff. Geographical Section"
+ ],
+ "dct_language_sm": [
+ "eng"
+ ],
+ "dct_publisher_sm": [
+ "[London] : War Office. General Staff. Geographical Section. General Staff, 1908-25."
+ ],
+ "dct_subject_sm": [
+ "Balkan Peninsula Maps",
+ "Turkey Maps",
+ "Topographic Maps"
+ ],
+ "dct_spatial_sm": [
+ "Balkan Peninsula",
+ "Turkey"
+ ],
+ "dct_issued_s": 1908,
+ "gbl_indexYear_im": [
+ "1908"
+ ],
+ "gbl_mdModified_dt": "2022-02-03T22:13:40Z",
+ "dct_references_s": "{\"http://schema.org/url\":\"https://catalog.princeton.edu/catalog/99125413918506421\",\"http://schema.org/thumbnailUrl\":\"https://figgy-staging.princeton.edu/downloads/6b55d939-7188-4bce-9550-0ac535441f22/file/9042b887-da2e-4aa9-9ca5-d3ba77f440c4\",\"http://iiif.io/api/image\":\"https://iiif-cloud-staging.princeton.edu/iiif/2/05%2F71%2F04%2F0571046f9c7149a3b950899323f70788%2Fintermediate_file/info.json\",\"http://iiif.io/api/presentation#manifest\":\"https://figgy-staging.princeton.edu/concern/scanned_maps/2a91d82c-541c-426c-b787-cc62afe8f248/manifest\",\"https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames\":\"https://map-tiles-staging.princeton.edu/mosaicjson/tiles/WebMercatorQuad/{z}/{x}/{y}@1x.png?id=2a91d82c541c426cb787cc62afe8f248\",\"https://github.com/mapbox/tilejson-spec\":\"https://map-tiles-staging.princeton.edu/mosaicjson/tilejson.json?id=2a91d82c541c426cb787cc62afe8f248\"}",
+ "layer_geom_type_s": "Image",
+ "gbl_resourceClass_sm": [
+ "Maps",
+ "Web services"
+ ],
+ "gbl_resourceType_sm": [
+ "Military maps",
+ "Topographic maps"
+ ]
+}
diff --git a/test/fixtures/files/gbl_documents/tms.json b/test/fixtures/files/gbl_documents/tms.json
index cff6cab..e5c2acb 100644
--- a/test/fixtures/files/gbl_documents/tms.json
+++ b/test/fixtures/files/gbl_documents/tms.json
@@ -1,45 +1,42 @@
{
- "dct_title_s": "Quaternary Fault and Fold Database of the United States",
+ "dct_title_s": "Agricultural Districts, Columbia County NY, 2009 (TMS)",
"dct_alternative_sm": [
"tms"
],
"dct_description_sm": [
- "Quaternary Fault and Fold Database of the United States"
+ "These GIS files represent geographic boundaries for lands that are under the protection of NYS Agricultural District Law, administered by the New York State Department of Agriculture and Markets. The boundaries are derived from New York State Agricultural District, 1:24,000-scale, maps produced at county agencies. The district boundaries correspond to tax parcel data. District boundaries are joined into a file representing all of the Agricultural Districts within an entire county. Note that 2003 legislation allows lands to be added to districts on an annual basis. Electronic data provided here may predate those additions. Tax parcel detail and secondary rights-of-way are not included in this dataset. Rights-of-way for state and federal highways, railroads and utilities are only included when they are delineated on the original 1:24,000 scale maps. The data files are in ArcGIS shapefile format. A Geographic Information System (ArcGIS) file intended to represent the lands within agricultural district. Please note that boundaries may be generalizations; precise information can be obtained from the county or town tax parcel information."
],
"dct_language_sm": [
"eng"
],
- "dct_publisher_sm": [
- "Geological Survey (U.S.)"
- ],
- "schema_provider_s": "Stanford",
+ "schema_provider_s": "Cornell",
"gbl_resourceClass_sm": [
"Datasets"
],
"gbl_resourceType_sm": [
- "Polyline data"
+ "Polygon"
],
"dct_subject_sm": [
- "Earthquakes",
- "Faults"
+ "New York State Agricultural District boundaries",
+ "Agriculture and Markets",
+ "Agricultural Districts Mapping Program"
],
"dcat_keyword_sm": [
"GBL Fixture records"
],
"dct_temporal_sm": [
- "2020"
+ "2009"
],
- "dct_issued_s": "1905-07-12",
+ "dct_issued_s": "2009-02-13",
"dct_spatial_sm": [
- "Earth (Planet)",
- "North America"
+ "Columbia County NY"
],
- "locn_geometry": "ENVELOPE(-156.02,-70.8,65.59,18.93)",
- "dcat_centroid_ss": "42.260000000000005,-113.41",
+ "locn_geometry": "ENVELOPE(-73.918247, -73.367, 42.507614, 41.978298)",
+ "dcat_bbox": "ENVELOPE(-73.918247, -73.367, 42.507614, 41.978298)",
"dct_accessRights_s": "Public",
"dct_format_s": "Shapefile",
- "dct_references_s": "{\"http://schema.org/url\":\"https://www.usgs.gov/natural-hazards/earthquake-hazards/faults\",\"https://wiki.osgeo.org/wiki/Tile_Map_Service_Specification\":\"https://earthquake.usgs.gov/basemap/tiles/faults/{z}/{x}/{y}.png\",\"http://schema.org/downloadUrl\":\"https://earthquake.usgs.gov/static/lfs/nshm/qfaults/Qfaults_GIS.zip\"}",
- "id": "6f47b103-9955-4bbe-a364-387039623106",
- "gbl_mdModified_dt": "2021-06-11T18:44:16Z",
+ "dct_references_s": "{\"https://wiki.osgeo.org/wiki/Tile_Map_Service_Specification\":\"https://cugir.library.cornell.edu/geoserver/gwc/service/tms/1.0.0/cugir%3Acugir007957@EPSG%3A3857@png/{z}/{x}/{y}.png\",\"http://schema.org/downloadUrl\":\"https://cugir-data.s3.amazonaws.com/00/79/57/cugir-007957.zip\"}",
+ "id": "cugir-007957",
+ "gbl_mdModified_dt": "2019-05-24T23:12:06.151Z",
"gbl_mdVersion_s": "Aardvark"
}
diff --git a/test/fixtures/files/gbl_documents/umn_metro_result1.json b/test/fixtures/files/gbl_documents/umn_metro_result1.json
index 3f579ce..1d6c3c4 100644
--- a/test/fixtures/files/gbl_documents/umn_metro_result1.json
+++ b/test/fixtures/files/gbl_documents/umn_metro_result1.json
@@ -25,7 +25,7 @@
"Polygon data"
],
"dcat_theme_sm": [
- "Planning and Cadastral"
+ "Property"
],
"dcat_keyword_sm": [
"GBL Fixture records"
@@ -35,7 +35,8 @@
],
"dct_issued_s": "2015-10-01",
"gbl_indexYear_im": [
- "2014"
+ "2014",
+ "2030"
],
"gbl_dateRange_drsim": [
"[2014 TO 2014]"
@@ -44,7 +45,8 @@
"Minnesota"
],
"locn_geometry": "ENVELOPE(-94.012,-92.732,45.415,44.471)",
- "dcat_centroid_ss": "44.943,-93.372",
+ "dcat_bbox": "ENVELOPE(-94.012,-92.732,45.415,44.471)",
+ "dcat_centroid": "44.943,-93.372",
"dct_accessRights_s": "Public",
"dct_format_s": "Shapefile",
"dct_references_s": "{\"http://schema.org/downloadUrl\":\"ftp://ftp.gisdata.mn.gov/pub/gdrs/data/pub/us_mn_state_metc/plan_frmwrk2030dev_plan_ar2011/shp_plan_frmwrk2030dev_plan_ar2011.zip\",\"urn:x-esri:serviceType:ArcGIS#FeatureLayer\":\"https://arcgis.metc.state.mn.us/server/rest/services/GISLibrary/Framework2030PlanningAreas2011/FeatureServer/0\",\"http://schema.org/url\":\"https://gisdata.mn.gov/dataset/02236876-9c21-42f6-9870-d2562da8e44f\"}",
diff --git a/test/fixtures/files/gbl_documents/umn_state_result1.json b/test/fixtures/files/gbl_documents/umn_state_result1.json
index af39c21..a754c14 100644
--- a/test/fixtures/files/gbl_documents/umn_state_result1.json
+++ b/test/fixtures/files/gbl_documents/umn_state_result1.json
@@ -24,7 +24,7 @@
"Raster data"
],
"dcat_theme_sm": [
- "Imagery and Base Maps"
+ "Imagery"
],
"dcat_keyword_sm": [
"GBL Fixture records"
@@ -43,7 +43,8 @@
"Minnesota"
],
"locn_geometry": "ENVELOPE(-97.612501,-88.842351,49.464145,42.906949)",
- "dcat_centroid_ss": "46.185547,-93.227426",
+ "dcat_bbox": "ENVELOPE(-97.612501,-88.842351,49.464145,42.906949)",
+ "dcat_centroid": "46.185547,-93.227426",
"dct_accessRights_s": "Public",
"dct_format_s": "ArcGRID",
"dct_references_s": "{\"http://schema.org/downloadUrl\":\"ftp://gdrs.dnr.state.mn.us/gdrs/data/pub/us_mn_state_dnr/fgdb_base_usgs_scanned_topo_100k_drg.zip\",\"http://schema.org/url\":\"https://gisdata.mn.gov/dataset/2eddde2f-c222-41ca-bd07-2fd74a21f4de\"}",
diff --git a/test/fixtures/files/gbl_documents/umn_state_result2.json b/test/fixtures/files/gbl_documents/umn_state_result2.json
index 11d6137..bd10fe6 100644
--- a/test/fixtures/files/gbl_documents/umn_state_result2.json
+++ b/test/fixtures/files/gbl_documents/umn_state_result2.json
@@ -24,14 +24,11 @@
"Raster data"
],
"dcat_theme_sm": [
- "Imagery and Base Maps"
+ "Imagery"
],
"dcat_keyword_sm": [
"GBL Fixture records"
],
- "dct_isPartOf_sm": [
- "Minnesota Geospatial Commons"
- ],
"dct_temporal_sm": [
"1998"
],
@@ -46,7 +43,8 @@
"Minnesota"
],
"locn_geometry": "ENVELOPE(-97.991522,-87.177541,49.892443,42.891013)",
- "dcat_centroid_ss": "46.391728,-92.5845315",
+ "dcat_bbox": "ENVELOPE(-97.991522,-87.177541,49.892443,42.891013)",
+ "dcat_centroid": "46.391728,-92.5845315",
"dct_accessRights_s": "Public",
"dct_format_s": "GeoTIFF",
"dct_references_s": "{\"http://schema.org/downloadUrl\":\"ftp://ftp.gisdata.mn.gov/pub/gdrs/data/pub/us_mn_state_dnr/base_usgs_scanned_topo_250k_drg/fgdb_base_usgs_scanned_topo_250k_drg.zip\",\"http://schema.org/url\":\"https://gisdata.mn.gov/dataset/e9c71086-6b25-4950-8e1c-84c2794e3382\"}",
diff --git a/test/fixtures/files/gbl_documents/uva_slug_colon.json b/test/fixtures/files/gbl_documents/uva_slug_colon.json
index eee552f..00fb60a 100644
--- a/test/fixtures/files/gbl_documents/uva_slug_colon.json
+++ b/test/fixtures/files/gbl_documents/uva_slug_colon.json
@@ -34,7 +34,8 @@
"[2015 TO 2018]"
],
"locn_geometry": "ENVELOPE(-76.346,-76.176,36.971,36.82)",
- "dcat_centroid_ss": "36.8955,-76.261",
+ "dcat_bbox": "ENVELOPE(-76.346,-76.176,36.971,36.82)",
+ "dcat_centroid": "36.8955,-76.261",
"dct_accessRights_s": "Public",
"dct_format_s": "Shapefile",
"gbl_wxsIdentifier_s": "Norfolk:police_point",
diff --git a/test/fixtures/files/gbl_documents/wmts-multiple.json b/test/fixtures/files/gbl_documents/wmts-multiple.json
new file mode 100644
index 0000000..4d6a433
--- /dev/null
+++ b/test/fixtures/files/gbl_documents/wmts-multiple.json
@@ -0,0 +1,41 @@
+{
+ "gbl_mdVersion_s": "Aardvark",
+ "dct_identifier_sm": [
+ "ark:/99999/fk4db9hn29"
+ ],
+ "id": "princeton-fk4db9hn29",
+ "dct_title_s": "Orthofoto 2016 Wien (WMTS)",
+ "locn_geometry": "ENVELOPE(16.133423, 16.626434, 48.3348, 48.106056)",
+ "dcat_bbox": "ENVELOPE(16.133423, 16.626434, 48.3348, 48.106056)",
+ "schema_provider_s": "Princeton",
+ "dct_accessRights_s": "Public",
+ "dct_description_sm": [
+ "The Vienna orthophoto from the year 2016 covers the entire city area with a pixel size of 15 centimeters. The aerial images were taken on 18th and 27th of March and 5th of April 2016."
+ ],
+ "dct_creator_sm": [
+ "Magistrat Wien - Magistratsabteilung 41 - Stadtvermessung"
+ ],
+ "dct_spatial_sm": [
+ "Vienna",
+ "Austria"
+ ],
+ "dct_temporal_sm": [
+ "2022"
+ ],
+ "gbl_indexYear_im": [
+ "2022"
+ ],
+ "gbl_mdModified_dt": "2022-02-04T22:13:37Z",
+ "gbl_wxsIdentifier_s": "lb2016",
+ "dct_references_s": "{\"http://www.opengis.net/def/serviceType/ogc/wmts\":\"https://maps.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml\"}",
+ "layer_geom_type_s": "Raster",
+ "gbl_resourceClass_sm": [
+ "Imagery"
+ ],
+ "gbl_resourceType_sm": [
+ "Aerial photographs",
+ "Raster data"
+ ],
+ "dct_format_s": "GeoTIFF",
+ "dct_issued_s": "2016-01-01T00:00:00Z"
+}
diff --git a/test/fixtures/files/gbl_documents/wmts-single-layer.json b/test/fixtures/files/gbl_documents/wmts-single-layer.json
new file mode 100644
index 0000000..ee66e0b
--- /dev/null
+++ b/test/fixtures/files/gbl_documents/wmts-single-layer.json
@@ -0,0 +1,48 @@
+{
+ "gbl_mdVersion_s": "Aardvark",
+ "dct_identifier_sm": [
+ "ark:/99999/fk4544658v"
+ ],
+ "id": "princeton-fk4544658v-wmts",
+ "dct_title_s": "The Balkans [and] Turkey : G.S.G.S. no. 2097 / War Office. General Staff. Geographical Section (WMTS Fixture)",
+ "locn_geometry": "ENVELOPE(19.333333, 29.333333, 43.083333, 39.75)",
+ "dcat_bbox": "ENVELOPE(19.333333, 29.333333, 43.083333, 39.75)",
+ "schema_provider_s": "Princeton",
+ "dct_accessRights_s": "Public",
+ "dct_description_sm": [
+ "Relief shown by contours approximately 100 feet interval, spot heights, and shading. Title varies; some sheets are titled \"Turkey\". Shows international boundaries, railways, 2 categories of roads, telegraph lines, places of worship, ruins. Constantinople latest edition map has a glossary."
+ ],
+ "dct_creator_sm": [
+ "Great Britain. War Office. General Staff. Geographical Section"
+ ],
+ "dct_language_sm": [
+ "eng"
+ ],
+ "dct_publisher_sm": [
+ "[London] : War Office. General Staff. Geographical Section. General Staff, 1908-25."
+ ],
+ "dct_subject_sm": [
+ "Balkan Peninsula Maps",
+ "Turkey Maps",
+ "Topographic Maps"
+ ],
+ "dct_spatial_sm": [
+ "Balkan Peninsula",
+ "Turkey"
+ ],
+ "dct_issued_s": 1908,
+ "gbl_indexYear_im": [
+ "1908"
+ ],
+ "gbl_mdModified_dt": "2022-02-03T22:13:40Z",
+ "gbl_wxsIdentifier_s": "mosaic",
+ "dct_references_s": "{\"http://schema.org/url\":\"https://catalog.princeton.edu/catalog/99125413918506421\",\"http://schema.org/thumbnailUrl\":\"https://figgy-staging.princeton.edu/downloads/6b55d939-7188-4bce-9550-0ac535441f22/file/9042b887-da2e-4aa9-9ca5-d3ba77f440c4\",\"http://iiif.io/api/image\":\"https://iiif-cloud-staging.princeton.edu/iiif/2/05%2F71%2F04%2F0571046f9c7149a3b950899323f70788%2Fintermediate_file/info.json\",\"http://iiif.io/api/presentation#manifest\":\"https://figgy-staging.princeton.edu/concern/scanned_maps/2a91d82c-541c-426c-b787-cc62afe8f248/manifest\",\"http://www.opengis.net/def/serviceType/ogc/wmts\":\"https://map-tiles-staging.princeton.edu/mosaicjson/WMTSCapabilities.xml?id=2a91d82c541c426cb787cc62afe8f248\"}",
+ "gbl_resourceClass_sm": [
+ "Maps",
+ "Web services"
+ ],
+ "gbl_resourceType_sm": [
+ "Military maps",
+ "Topographic maps"
+ ]
+}
diff --git a/test/fixtures/files/gbl_documents/xyz.json b/test/fixtures/files/gbl_documents/xyz.json
new file mode 100644
index 0000000..03a4172
--- /dev/null
+++ b/test/fixtures/files/gbl_documents/xyz.json
@@ -0,0 +1,46 @@
+{
+ "dct_identifier_sm": [
+ "6f47b103-9955-4bbe-a364-387039623106"
+ ],
+ "dct_title_s": "Quaternary Fault and Fold Database of the United States (XYZ)",
+ "dct_description_sm":[
+ "Quaternary Fault and Fold Database of the United States"
+ ],
+ "dct_accessRights_s": "Public",
+ "schema_provider_s": "Stanford",
+ "dct_references_s": "{\"http://schema.org/url\":\"https://www.usgs.gov/natural-hazards/earthquake-hazards/faults\",\"https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames\":\"https://earthquake.usgs.gov/basemap/tiles/faults/{z}/{x}/{y}.png\",\"http://schema.org/downloadUrl\":\"https://earthquake.usgs.gov/static/lfs/nshm/qfaults/Qfaults_GIS.zip\"}",
+ "id": "6f47b103-9955-4bbe-a364-387039623106-xyz",
+ "gbl_resourceClass_sm": [
+ "Datasets",
+ "Web services"
+ ],
+ "gbl_resourceType_sm": [
+ "Line data"
+ ],
+ "dct_format_s": "Shapefile",
+ "dct_language_sm": [
+ "eng"
+ ],
+ "dct_publisher_sm": [
+ "Geological Survey (U.S.)"
+ ],
+ "dct_subject_sm": [
+ "Earthquakes",
+ "Faults"
+ ],
+ "dct_issued_s": 2020,
+ "gbl_indexYear_im": [
+ "2020"
+ ],
+ "dct_temporal_sm": [
+ "2020"
+ ],
+ "dct_spatial_sm": [
+ "Earth (Planet)",
+ "North America"
+ ],
+ "locn_geometry": "ENVELOPE(-156.02, -70.80, 65.59, 18.93)",
+ "dcat_bbox": "ENVELOPE(-156.02, -70.80, 65.59, 18.93)",
+ "gbl_mdModified_dt": "2021-06-11T17:55:01Z",
+ "gbl_mdVersion_s": "Aardvark"
+}
diff --git a/test/fixtures/files/umass_documents/.DS_Store b/test/fixtures/files/umass_documents/.DS_Store
deleted file mode 100644
index 5008ddf..0000000
Binary files a/test/fixtures/files/umass_documents/.DS_Store and /dev/null differ
diff --git a/test/fixtures/files/umass_documents/umass-macconnell-1951.json b/test/fixtures/files/umass_documents/umass-macconnell-1951.json
index b847cbc..5b99e75 100644
--- a/test/fixtures/files/umass_documents/umass-macconnell-1951.json
+++ b/test/fixtures/files/umass_documents/umass-macconnell-1951.json
@@ -5,7 +5,10 @@
"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_resourceClass_sm": [
+ "Collections",
+ "Imagery"
+ ],
"gbl_resourceType_sm": "Aerial photographs",
"dct_subject_sm": [
"Historical aerial imagery",
diff --git a/test/system/homepage_test.rb b/test/system/homepage_test.rb
index df4815a..c2cfd54 100644
--- a/test/system/homepage_test.rb
+++ b/test/system/homepage_test.rb
@@ -15,8 +15,7 @@ def test_basic_dom
def test_homepage_copy
within('#application-nav ul.navbar-nav') do
assert page.has_link?("About")
- assert page.has_link?("Contact")
- assert page.has_link?("Help")
+ assert page.has_link?("Get Help")
end
end
diff --git a/yarn.lock b/yarn.lock
index 51d9b02..e23f0d8 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3546,9 +3546,9 @@ flush-write-stream@^1.0.0:
readable-stream "^2.3.6"
follow-redirects@^1.0.0:
- version "1.14.7"
- resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.7.tgz#2004c02eb9436eee9a21446a6477debf17e81685"
- integrity sha512-+hbxoLbFMbRKDwohX8GkTataGqO6Jb7jGwpAlwgy2bIz25XtRm7KEzJM76R1WiNT5SwZkX4Y75SwBolkpmE7iQ==
+ version "1.14.8"
+ resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.8.tgz#016996fb9a11a100566398b1c6839337d7bfa8fc"
+ integrity sha512-1x0S9UVJHsQprFcEC/qnNzBLcIxsjAV905f/UkQxbclCsoTWlacCNOpQa/anodLl2uaEKFhfWOvM2Qg77+15zA==
for-in@^1.0.2:
version "1.0.2"
@@ -4605,9 +4605,9 @@ json3@^3.3.3:
integrity sha512-c7/8mbUsKigAbLkD5B010BK4D9LZm7A1pNItkEwiUZRpIN66exu/e7YQWysGun+TRKaJp8MhemM+VkfWv42aCA==
json5@^1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe"
- integrity sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593"
+ integrity sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==
dependencies:
minimist "^1.2.0"
@@ -4991,9 +4991,9 @@ minimatch@^3.0.4, minimatch@~3.0.2:
brace-expansion "^1.1.7"
minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.5:
- version "1.2.5"
- resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
- integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
+ version "1.2.8"
+ resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
+ integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
minipass-collect@^1.0.2:
version "1.0.2"