geoblacklight 3.4.0 → 4.0.0.pre.alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +5 -0
- data/app/assets/images/blacklight/michigan-state-university.svg +0 -1
- data/app/assets/images/blacklight/pennsylvania-state-university.svg +0 -1
- data/app/assets/images/blacklight/purdue-university.svg +0 -1
- data/app/assets/images/blacklight/the-ohio-state-university.svg +0 -1
- data/app/assets/images/blacklight/university-of-chicago.svg +0 -1
- data/app/assets/images/blacklight/university-of-illinois-urbana-champaign.svg +0 -1
- data/app/assets/images/blacklight/university-of-iowa.svg +0 -1
- data/app/assets/images/blacklight/university-of-maryland.svg +0 -1
- data/app/assets/images/blacklight/university-of-michigan.svg +0 -1
- data/app/assets/images/blacklight/university-of-minnesota.svg +0 -1
- data/app/assets/images/blacklight/university-of-nebraska-lincoln.svg +0 -1
- data/app/assets/images/blacklight/university-of-wisconsin-madison.svg +0 -1
- data/app/helpers/geoblacklight_helper.rb +0 -15
- data/app/models/concerns/geoblacklight/solr_document/citation.rb +2 -2
- data/app/models/concerns/geoblacklight/solr_document.rb +4 -4
- data/app/models/concerns/geoblacklight/spatial_search_behavior.rb +3 -3
- data/app/views/catalog/_downloads_primary.html.erb +1 -1
- data/app/views/catalog/_header_icons.html.erb +1 -1
- data/app/views/catalog/_home_text.html.erb +2 -2
- data/app/views/relation/_relations.html.erb +15 -0
- data/app/views/relation/index.html.erb +5 -17
- data/app/views/relation/index.json.jbuilder +6 -2
- data/config/initializers/rails_config.rb +0 -8
- data/config/locales/geoblacklight.en.yml +8 -0
- data/lib/generators/geoblacklight/templates/catalog_controller.rb +82 -36
- data/lib/generators/geoblacklight/templates/settings.gbl_v1.yml +195 -0
- data/lib/generators/geoblacklight/templates/settings.yml +81 -22
- data/lib/geoblacklight/download/geojson_download.rb +1 -1
- data/lib/geoblacklight/download/geotiff_download.rb +1 -1
- data/lib/geoblacklight/download/hgl_download.rb +1 -1
- data/lib/geoblacklight/download/kmz_download.rb +1 -1
- data/lib/geoblacklight/download/shapefile_download.rb +1 -1
- data/lib/geoblacklight/engine.rb +0 -2
- data/lib/geoblacklight/references.rb +1 -1
- data/lib/geoblacklight/relation/ancestors.rb +4 -3
- data/lib/geoblacklight/relation/descendants.rb +4 -3
- data/lib/geoblacklight/relation/relation_response.rb +21 -6
- data/lib/geoblacklight/version.rb +1 -1
- data/schema/{geoblacklight-schema.json → geoblacklight-schema-1.0.json} +1 -1
- data/schema/geoblacklight-schema-aardvark.json +211 -0
- data/solr/conf/schema.xml +38 -30
- data/solr/conf/solrconfig.xml +15 -15
- data/spec/components/geoblacklight/homepage_feature_facet_component_spec.rb +1 -1
- data/spec/config/initializers/rails_config_spec.rb +5 -8
- data/spec/controllers/catalog_controller_spec.rb +6 -6
- data/spec/features/download_layer_spec.rb +1 -1
- data/spec/features/esri_viewer_spec.rb +0 -1
- data/spec/features/home_page_spec.rb +4 -4
- data/spec/features/missing_metadata_spec.rb +2 -2
- data/spec/features/relations_spec.rb +2 -2
- data/spec/features/search_results_map_spec.rb +2 -1
- data/spec/features/search_results_overlap_ratio_spec.rb +2 -2
- data/spec/features/search_spec.rb +5 -0
- data/spec/features/show_page_download_spec.rb +26 -0
- data/spec/features/split_view.html.erb_spec.rb +15 -11
- data/spec/fixtures/solr_documents/README.md +48 -36
- data/spec/fixtures/solr_documents/actual-papermap1.json +41 -18
- data/spec/fixtures/solr_documents/actual-point1.json +47 -27
- data/spec/fixtures/solr_documents/actual-polygon1.json +43 -18
- data/spec/fixtures/solr_documents/actual-raster1.json +52 -23
- data/spec/fixtures/solr_documents/all-relationships.json +48 -0
- data/spec/fixtures/solr_documents/baruch_ancestor1.json +62 -37
- data/spec/fixtures/solr_documents/baruch_ancestor2.json +62 -37
- data/spec/fixtures/solr_documents/baruch_documentation_download.json +60 -34
- data/spec/fixtures/solr_documents/bbox-spans-180.json +34 -16
- data/spec/fixtures/solr_documents/cornell_html_metadata.json +46 -26
- data/spec/fixtures/solr_documents/esri-dynamic-layer-all-layers.json +43 -25
- data/spec/fixtures/solr_documents/esri-dynamic-layer-single-layer.json +45 -28
- data/spec/fixtures/solr_documents/esri-feature-layer.json +44 -34
- data/spec/fixtures/solr_documents/esri-image-map-layer.json +45 -31
- data/spec/fixtures/solr_documents/esri-tiled_map_layer.json +42 -17
- data/spec/fixtures/solr_documents/esri-wms-layer.json +46 -21
- data/spec/fixtures/solr_documents/harvard_raster.json +55 -36
- data/spec/fixtures/solr_documents/iiif-eastern-hemisphere.json +35 -22
- data/spec/fixtures/solr_documents/index-map-polygon-no-downloadurl.json +48 -27
- data/spec/fixtures/solr_documents/index-map-polygon.json +48 -27
- data/spec/fixtures/solr_documents/index-map-stanford.json +54 -25
- data/spec/fixtures/solr_documents/index_map_point.json +54 -26
- data/spec/fixtures/solr_documents/metadata_no_geom.json +27 -0
- data/spec/fixtures/solr_documents/metadata_no_provider.json +39 -0
- data/spec/fixtures/solr_documents/multiple-downloads.json +33 -20
- data/spec/fixtures/solr_documents/no_locn_geometry.json +25 -0
- data/spec/fixtures/solr_documents/no_spatial.json +37 -19
- data/spec/fixtures/solr_documents/oembed.json +34 -17
- data/spec/fixtures/solr_documents/princeton-child1.json +45 -28
- data/spec/fixtures/solr_documents/princeton-child2.json +45 -28
- data/spec/fixtures/solr_documents/princeton-child3.json +45 -28
- data/spec/fixtures/solr_documents/princeton-child4.json +45 -28
- data/spec/fixtures/solr_documents/princeton-parent.json +46 -23
- data/spec/fixtures/solr_documents/public_direct_download.json +48 -21
- data/spec/fixtures/solr_documents/public_iiif_princeton.json +49 -24
- data/spec/fixtures/solr_documents/public_polygon_mit.json +31 -15
- data/spec/fixtures/solr_documents/restricted-line.json +52 -21
- data/spec/fixtures/solr_documents/the-related-record.json +27 -0
- data/spec/fixtures/solr_documents/tms.json +33 -17
- data/spec/fixtures/solr_documents/umn_metro_result1.json +44 -28
- data/spec/fixtures/solr_documents/umn_state_result1.json +44 -26
- data/spec/fixtures/solr_documents/umn_state_result2.json +45 -24
- data/spec/fixtures/solr_documents/uva_slug_colon.json +43 -20
- data/spec/helpers/geoblacklight_helper_spec.rb +0 -19
- data/spec/lib/geoblacklight/download/geojson_download_spec.rb +1 -1
- data/spec/lib/geoblacklight/download/geotiff_download_spec.rb +1 -1
- data/spec/lib/geoblacklight/download/hgl_download_spec.rb +1 -1
- data/spec/lib/geoblacklight/download/kmz_download_spec.rb +1 -1
- data/spec/lib/geoblacklight/download/shapefile_download_spec.rb +1 -1
- data/spec/lib/geoblacklight/download_spec.rb +1 -1
- data/spec/lib/geoblacklight/references_spec.rb +2 -2
- data/spec/lib/geoblacklight/relation/ancestors_spec.rb +3 -3
- data/spec/lib/geoblacklight/relation/descendants_spec.rb +3 -3
- data/spec/lib/geoblacklight/relation/relation_response_spec.rb +32 -17
- data/spec/models/concerns/geoblacklight/solr_document_spec.rb +4 -4
- metadata +22 -24
- data/app/views/relation/_ancestors.html.erb +0 -8
- data/app/views/relation/_descendants.html.erb +0 -15
- data/config/initializers/new_gbl_settings_defaults_3_3.yml +0 -10
- data/schema/format-values.md +0 -50
- data/schema/geoblacklight-schema-deprecated.md +0 -39
- data/schema/geoblacklight-schema.md +0 -323
- data/schema/geometry-type-values.md +0 -11
- data/schema/references.md +0 -23
- data/schema/schema-commentary.md +0 -198
- data/schema/subjects.md +0 -41
- data/schema/type-values.md +0 -10
- data/spec/fixtures/solr_documents/metadata_no_dct_provenance_s.json +0 -30
- data/spec/fixtures/solr_documents/metadata_no_layer_geom_type_s.json +0 -17
- data/spec/fixtures/solr_documents/metadata_no_solr_geom.json +0 -23
@@ -1,27 +1,43 @@
|
|
1
1
|
{
|
2
|
-
"
|
2
|
+
"dct_title_s": "Massachusetts (ZCTA - 5 digit zip code tabulation area, 2000)",
|
3
|
+
"dct_alternative_sm": [
|
4
|
+
"public_polygon_mit"
|
5
|
+
],
|
6
|
+
"dct_description_sm": [
|
7
|
+
"Polygon shapefile with WMS and WFS"
|
8
|
+
],
|
9
|
+
"dct_creator_sm": [
|
10
|
+
"United States. Bureau of the Census"
|
11
|
+
],
|
12
|
+
"dct_publisher_sm": [
|
3
13
|
"United States. Bureau of the Census"
|
4
14
|
],
|
5
|
-
"
|
6
|
-
"
|
7
|
-
|
8
|
-
|
15
|
+
"schema_provider_s": "MIT",
|
16
|
+
"gbl_resourceClass_sm": [
|
17
|
+
"Maps"
|
18
|
+
],
|
19
|
+
"gbl_resourceType_sm": [
|
20
|
+
"Polygon data"
|
21
|
+
],
|
22
|
+
"dct_subject_sm": [
|
9
23
|
"Zip codes",
|
10
24
|
"Census data",
|
11
25
|
"Demographic surveys",
|
12
26
|
"Population"
|
13
27
|
],
|
14
|
-
"
|
15
|
-
|
16
|
-
|
28
|
+
"dcat_keyword_sm": [
|
29
|
+
"GBL Fixture records"
|
30
|
+
],
|
17
31
|
"dct_spatial_sm": [
|
18
32
|
"Massachusetts"
|
19
33
|
],
|
20
|
-
"
|
21
|
-
"
|
22
|
-
"
|
23
|
-
"
|
24
|
-
"
|
25
|
-
"
|
26
|
-
"
|
34
|
+
"locn_geometry": "ENVELOPE(-73.533237,-69.898565,42.888068,41.230345)",
|
35
|
+
"dcat_centroid_ss": "42.0592065,-71.715901",
|
36
|
+
"dct_accessRights_s": "Public",
|
37
|
+
"dct_format_s": "Shapefile",
|
38
|
+
"gbl_wxsIdentifier_s": "mit:SDE_DATA_US_MA_E25ZCTA5DCT_2000",
|
39
|
+
"dct_references_s": "{\"http://www.opengis.net/def/serviceType/ogc/wfs\":\"https://geodata.mit.edu/geoserver/wfs\",\"http://www.opengis.net/def/serviceType/ogc/wms\":\"https://geodata.mit.edu/geoserver/wms\"}",
|
40
|
+
"id": "mit-f6rqs4ucovjk2",
|
41
|
+
"gbl_mdModified_dt": "2021-06-11T18:42:45Z",
|
42
|
+
"gbl_mdVersion_s": "Aardvark"
|
27
43
|
}
|
@@ -1,37 +1,68 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
|
5
|
-
|
6
|
-
"
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
"
|
11
|
-
|
12
|
-
|
13
|
-
"
|
14
|
-
"dc_type_s": "Dataset",
|
15
|
-
"dc_publisher_s": "Circuit Rider Productions",
|
16
|
-
"dc_creator_sm": [
|
2
|
+
"dct_title_s": "10 Meter Contours: Russian River Basin, California",
|
3
|
+
"dct_alternative_sm": [
|
4
|
+
"restricted-line"
|
5
|
+
],
|
6
|
+
"dct_description_sm": [
|
7
|
+
"Restricted line layer with WFS, WMS and metadata in MODS and ISO 19139. ",
|
8
|
+
"This line shapefile contains contours that were derived from a mosiac of 10 meter digital elevation models for the extent of the Russian River basin, located in Sonoma and Mendocino Counties, California.This layer can be used for watershed analysis and planning in the Russian River region of California."
|
9
|
+
],
|
10
|
+
"dct_language_sm": [
|
11
|
+
"eng"
|
12
|
+
],
|
13
|
+
"dct_creator_sm": [
|
17
14
|
"United States. National Oceanic and Atmospheric Administration",
|
18
15
|
"Circuit Rider Productions"
|
19
16
|
],
|
20
|
-
"
|
17
|
+
"dct_publisher_sm": [
|
18
|
+
"Circuit Rider Productions"
|
19
|
+
],
|
20
|
+
"schema_provider_s": "Stanford",
|
21
|
+
"gbl_resourceClass_sm": [
|
22
|
+
"Datasets"
|
23
|
+
],
|
24
|
+
"gbl_resourceType_sm": [
|
25
|
+
"Line data"
|
26
|
+
],
|
27
|
+
"dct_subject_sm": [
|
21
28
|
"Contours (Cartography)",
|
22
29
|
"Elevation",
|
23
30
|
"Inland Waters"
|
24
31
|
],
|
25
|
-
"
|
32
|
+
"dcat_theme_sm": [
|
33
|
+
"Elevation",
|
34
|
+
"Inland Waters"
|
35
|
+
],
|
36
|
+
"dcat_keyword_sm": [
|
37
|
+
"GBL Fixture records"
|
38
|
+
],
|
26
39
|
"dct_temporal_sm": [
|
27
40
|
"2002"
|
28
41
|
],
|
42
|
+
"dct_issued_s": "2002",
|
43
|
+
"gbl_indexYear_im": [
|
44
|
+
"2002"
|
45
|
+
],
|
46
|
+
"gbl_dateRange_drsim": [
|
47
|
+
"[2002 TO 2002]"
|
48
|
+
],
|
29
49
|
"dct_spatial_sm": [
|
30
50
|
"Sonoma County (Calif.)",
|
31
51
|
"Mendocino County (Calif.)"
|
32
52
|
],
|
33
|
-
"
|
34
|
-
"
|
35
|
-
"
|
36
|
-
|
53
|
+
"locn_geometry": "ENVELOPE(-123.387366,-122.52958,39.398403,38.302994)",
|
54
|
+
"dcat_centroid_ss": "38.8506985,-122.958473",
|
55
|
+
"dct_rights_sm": [
|
56
|
+
"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"
|
57
|
+
],
|
58
|
+
"dct_accessRights_s": "Restricted",
|
59
|
+
"dct_format_s": "Shapefile",
|
60
|
+
"gbl_wxsIdentifier_s": "druid:cg357zz0321",
|
61
|
+
"dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://stacks.stanford.edu/file/druid:cg357zz0321/data.zip\",\"http://schema.org/url\":\"http://purl.stanford.edu/cg357zz0321\",\"http://www.isotc211.org/schemas/2005/gmd/\":\"https://raw.githubusercontent.com/OpenGeoMetadata/edu.stanford.purl/master/cg/357/zz/0321/iso19139.xml\",\"http://www.loc.gov/mods/v3\":\"http://purl.stanford.edu/cg357zz0321.mods\",\"http://www.opengis.net/def/serviceType/ogc/wfs\":\"https://geowebservices-restricted.stanford.edu/geoserver/wfs\",\"http://www.opengis.net/def/serviceType/ogc/wms\":\"https://geowebservices-restricted.stanford.edu/geoserver/wms\"}",
|
62
|
+
"id": "stanford-cg357zz0321",
|
63
|
+
"dct_identifier_sm": [
|
64
|
+
"http://purl.stanford.edu/cg357zz0321"
|
65
|
+
],
|
66
|
+
"gbl_mdModified_dt": "2021-06-01T22:14:16Z",
|
67
|
+
"gbl_mdVersion_s": "Aardvark"
|
37
68
|
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
{
|
2
|
+
"id": "the-related-record",
|
3
|
+
"gbl_mdVersion_s": "Aardvark",
|
4
|
+
"dct_title_s": "The Related Record",
|
5
|
+
"dct_description_sm": [
|
6
|
+
"This record serves as the ID for each item relation in the record titled \"All Relationships\""
|
7
|
+
],
|
8
|
+
"dct_creator_sm": [
|
9
|
+
"GeoBlacklight Community"
|
10
|
+
],
|
11
|
+
"gbl_resourceClass_sm": [
|
12
|
+
"Other"
|
13
|
+
],
|
14
|
+
"dct_temporal_sm": [
|
15
|
+
"1900"
|
16
|
+
],
|
17
|
+
"dct_spatial_sm": [
|
18
|
+
"United States"
|
19
|
+
],
|
20
|
+
"dct_format_s": "Shapefile",
|
21
|
+
"gbl_georeferenced_b": false,
|
22
|
+
"dct_references_s": "{\"http://schema.org/url\":\"https://example.com\"}",
|
23
|
+
"schema_provider_s": "GeoBlacklight Community",
|
24
|
+
"dct_accessRights_s": "Public",
|
25
|
+
"gbl_suppressed_b": false,
|
26
|
+
"gbl_mdModified_dt": "2021-08-25T15:30:09Z"
|
27
|
+
}
|
@@ -1,29 +1,45 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
|
5
|
-
|
6
|
-
"
|
7
|
-
|
8
|
-
|
9
|
-
"
|
10
|
-
|
11
|
-
|
12
|
-
"
|
13
|
-
|
14
|
-
|
2
|
+
"dct_title_s": "Quaternary Fault and Fold Database of the United States",
|
3
|
+
"dct_alternative_sm": [
|
4
|
+
"tms"
|
5
|
+
],
|
6
|
+
"dct_description_sm": [
|
7
|
+
"Quaternary Fault and Fold Database of the United States"
|
8
|
+
],
|
9
|
+
"dct_language_sm": [
|
10
|
+
"eng"
|
11
|
+
],
|
12
|
+
"dct_publisher_sm": [
|
13
|
+
"Geological Survey (U.S.)"
|
14
|
+
],
|
15
|
+
"schema_provider_s": "Stanford",
|
16
|
+
"gbl_resourceClass_sm": [
|
17
|
+
"Datasets"
|
18
|
+
],
|
19
|
+
"gbl_resourceType_sm": [
|
20
|
+
"Polyline data"
|
21
|
+
],
|
22
|
+
"dct_subject_sm": [
|
15
23
|
"Earthquakes",
|
16
24
|
"Faults"
|
17
25
|
],
|
18
|
-
"
|
26
|
+
"dcat_keyword_sm": [
|
27
|
+
"GBL Fixture records"
|
28
|
+
],
|
19
29
|
"dct_temporal_sm": [
|
20
30
|
"2020"
|
21
31
|
],
|
32
|
+
"dct_issued_s": "1905-07-12",
|
22
33
|
"dct_spatial_sm": [
|
23
34
|
"Earth (Planet)",
|
24
35
|
"North America"
|
25
36
|
],
|
26
|
-
"
|
27
|
-
"
|
28
|
-
"
|
37
|
+
"locn_geometry": "ENVELOPE(-156.02,-70.8,65.59,18.93)",
|
38
|
+
"dcat_centroid_ss": "42.260000000000005,-113.41",
|
39
|
+
"dct_accessRights_s": "Public",
|
40
|
+
"dct_format_s": "Shapefile",
|
41
|
+
"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\"}",
|
42
|
+
"id": "6f47b103-9955-4bbe-a364-387039623106",
|
43
|
+
"gbl_mdModified_dt": "2021-06-11T18:44:16Z",
|
44
|
+
"gbl_mdVersion_s": "Aardvark"
|
29
45
|
}
|
@@ -1,41 +1,57 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
|
5
|
-
|
6
|
-
"
|
7
|
-
|
8
|
-
"
|
9
|
-
],
|
10
|
-
"
|
11
|
-
"
|
12
|
-
|
13
|
-
|
14
|
-
"dc_publisher_sm": [
|
2
|
+
"dct_title_s": "2030 Regional Development Framework Planning Areas: Metro Twin Cities, Minnesota, 2011",
|
3
|
+
"dct_alternative_sm": [
|
4
|
+
"umn_metro_result1"
|
5
|
+
],
|
6
|
+
"dct_description_sm": [
|
7
|
+
"Bounding box of metropolitan area and ArcGIS Dynamic Feature Service. ",
|
8
|
+
"The 2030 Regional Development Framework Planning Areas - 2011 updates the 2030 Regional Development Framework Planning Areas initially adopted on January 14, 2004 and ammended in 2006. This dataset reflect the agreed upon planning areas between a community and the Metropolitan Council and defined in the communities' 2030 Comprehensive Plan Update and is intended to supplement the 2030 Regional Development Framework - the planning guide for the 7-county Twin Cities metropolitan area of Minneapolis and Saint Paul, Minnesota. Planning area definitions and strategies for the planning areas are available in the 2030 Regional Development Framework document at http://www.metrocouncil.org/Planning/Planning/2030-Regional-Development-Framework.aspx (See Chapter 3). For questions about how decisions were made regarding individual communities' geographic planning areas, please contact the Metropolitan Council Regional Framework Development staff, Dan Marckel, 651-602-1548. See Currentness Reference and Lineage in Data Quality Section of this metadata for more information."
|
9
|
+
],
|
10
|
+
"dct_language_sm": [
|
11
|
+
"eng"
|
12
|
+
],
|
13
|
+
"dct_creator_sm": [
|
15
14
|
"Metropolitan Council"
|
16
15
|
],
|
17
|
-
"
|
16
|
+
"dct_publisher_sm": [
|
18
17
|
"Metropolitan Council"
|
19
18
|
],
|
20
|
-
"
|
19
|
+
"schema_provider_s": "University of Minnesota",
|
20
|
+
"gbl_resourceClass_sm": [
|
21
|
+
"Datasets",
|
22
|
+
"Web services"
|
23
|
+
],
|
24
|
+
"gbl_resourceType_sm": [
|
25
|
+
"Polygon data"
|
26
|
+
],
|
27
|
+
"dcat_theme_sm": [
|
21
28
|
"Planning and Cadastral"
|
22
29
|
],
|
23
|
-
"
|
24
|
-
|
25
|
-
"dct_isPartOf_sm": [
|
26
|
-
"Minnesota Geospatial Commons"
|
30
|
+
"dcat_keyword_sm": [
|
31
|
+
"GBL Fixture records"
|
27
32
|
],
|
28
|
-
"dct_issued_s": "2015-10-01T10:01:54.499443",
|
29
33
|
"dct_temporal_sm": [
|
30
34
|
"2014"
|
31
35
|
],
|
36
|
+
"dct_issued_s": "2015-10-01",
|
37
|
+
"gbl_indexYear_im": [
|
38
|
+
"2014"
|
39
|
+
],
|
40
|
+
"gbl_dateRange_drsim": [
|
41
|
+
"[2014 TO 2014]"
|
42
|
+
],
|
32
43
|
"dct_spatial_sm": [
|
33
|
-
"Minnesota
|
34
|
-
],
|
35
|
-
"
|
36
|
-
"
|
37
|
-
"
|
38
|
-
"
|
39
|
-
"
|
40
|
-
"
|
44
|
+
"Minnesota"
|
45
|
+
],
|
46
|
+
"locn_geometry": "ENVELOPE(-94.012,-92.732,45.415,44.471)",
|
47
|
+
"dcat_centroid_ss": "44.943,-93.372",
|
48
|
+
"dct_accessRights_s": "Public",
|
49
|
+
"dct_format_s": "Shapefile",
|
50
|
+
"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\"}",
|
51
|
+
"id": "02236876-9c21-42f6-9870-d2562da8e44f",
|
52
|
+
"dct_identifier_sm": [
|
53
|
+
"02236876-9c21-42f6-9870-d2562da8e44f"
|
54
|
+
],
|
55
|
+
"gbl_mdModified_dt": "2021-06-01T22:14:16Z",
|
56
|
+
"gbl_mdVersion_s": "Aardvark"
|
41
57
|
}
|
@@ -1,38 +1,56 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
|
5
|
-
|
6
|
-
"
|
7
|
-
|
8
|
-
"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
"Minnesota Department of Natural Resources (DNR)"
|
2
|
+
"dct_title_s": "1:100k Digital Raster Graphic - Collars Removed: Minnesota",
|
3
|
+
"dct_alternative_sm": [
|
4
|
+
"umn_state_result1"
|
5
|
+
],
|
6
|
+
"dct_description_sm": [
|
7
|
+
"Bounding box of state area and static image in references. ",
|
8
|
+
"A digital raster graphic (DRG) is a scanned image of an U.S. Geological Survey (USGS) standard series topographic map, including all map collar information. The image inside the map neatline is georeferenced to the surface of the earth and fit to the Universal Transverse Mercator projection. The horizontal positional accuracy and datum of the DRG matches the accuracy and datum of the source map. The map is scanned at a minimum resolution of 250 dots per inch. DRG's are created by scanning published paper maps on high-resolution scanners. The raster image is georeferenced and fit to the UTM projection. Colors are standardized to remove scanner limitations and artifacts. The average data set size is about 6 megabytes in Tagged Image File Format (TIFF) with PackBits compression. DRG's can be easily combined with other digital cartographic products such as digital elevation models (DEM) and digital orthophoto quadrangles (DOQ). DRG's are stored as rectified TIFF files in geoTIFF format. GeoTIFF is a relatively new TIFF image storage format that incorporates georeferencing information in the header. This allows software, such as ArcView, ARC/INFO, or EPPL7 to reference the image without an additional header or world file. Within the Minnesota Department of Natural Resources Core GIS data set the DRG's have been processed to be in compliance with departmental data standards (UTM Extended Zone 15, NAD83 datum) and the map collar information has been removed to facilitate the display of the DRG's in a seamless fashion. These DRG's were clipped and transformed to UTM Zone 15 using EPPL7 Raster GIS."
|
9
|
+
],
|
10
|
+
"dct_language_sm": [
|
11
|
+
"eng"
|
13
12
|
],
|
14
|
-
"
|
13
|
+
"dct_creator_sm": [
|
15
14
|
"U.S. Geological Survey (USGS) and Minnesota Department of Natural Resources (DNR)"
|
16
15
|
],
|
17
|
-
"
|
16
|
+
"dct_publisher_sm": [
|
17
|
+
"Minnesota Department of Natural Resources (DNR)"
|
18
|
+
],
|
19
|
+
"schema_provider_s": "University of Minnesota",
|
20
|
+
"gbl_resourceClass_sm": [
|
21
|
+
"Datasets"
|
22
|
+
],
|
23
|
+
"gbl_resourceType_sm": [
|
24
|
+
"Raster data"
|
25
|
+
],
|
26
|
+
"dcat_theme_sm": [
|
18
27
|
"Imagery and Base Maps"
|
19
28
|
],
|
20
|
-
"
|
21
|
-
|
22
|
-
"dct_isPartOf_sm": [
|
23
|
-
"Minnesota Geospatial Commons"
|
29
|
+
"dcat_keyword_sm": [
|
30
|
+
"GBL Fixture records"
|
24
31
|
],
|
25
|
-
"dct_issued_s": "2015-11-18T11:02:15.705119",
|
26
32
|
"dct_temporal_sm": [
|
27
33
|
"2015"
|
28
34
|
],
|
35
|
+
"dct_issued_s": "2015-11-18",
|
36
|
+
"gbl_indexYear_im": [
|
37
|
+
"2015"
|
38
|
+
],
|
39
|
+
"gbl_dateRange_drsim": [
|
40
|
+
"[2015 TO 2015]"
|
41
|
+
],
|
29
42
|
"dct_spatial_sm": [
|
30
|
-
"Minnesota
|
31
|
-
],
|
32
|
-
"
|
33
|
-
"
|
34
|
-
"
|
35
|
-
"
|
36
|
-
"
|
37
|
-
"
|
43
|
+
"Minnesota"
|
44
|
+
],
|
45
|
+
"locn_geometry": "ENVELOPE(-97.612501,-88.842351,49.464145,42.906949)",
|
46
|
+
"dcat_centroid_ss": "46.185547,-93.227426",
|
47
|
+
"dct_accessRights_s": "Public",
|
48
|
+
"dct_format_s": "ArcGRID",
|
49
|
+
"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\"}",
|
50
|
+
"id": "2eddde2f-c222-41ca-bd07-2fd74a21f4de",
|
51
|
+
"dct_identifier_sm": [
|
52
|
+
"2eddde2f-c222-41ca-bd07-2fd74a21f4de"
|
53
|
+
],
|
54
|
+
"gbl_mdModified_dt": "2021-06-01T22:14:16Z",
|
55
|
+
"gbl_mdVersion_s": "Aardvark"
|
38
56
|
}
|
@@ -1,38 +1,59 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
|
5
|
-
|
6
|
-
"
|
7
|
-
|
8
|
-
"
|
9
|
-
"Dataset"
|
10
|
-
],
|
11
|
-
"dc_publisher_sm": [
|
12
|
-
"Minnesota Department of Natural Resources (DNR)"
|
2
|
+
"dct_title_s": "1:250k Digital Raster Graphic - Collars Removed: Minnesota",
|
3
|
+
"dct_alternative_sm": [
|
4
|
+
"umn_state_result2"
|
5
|
+
],
|
6
|
+
"dct_description_sm": [
|
7
|
+
"Bounding box of state area and raster download. ",
|
8
|
+
"A digital raster graphic (DRG) is a scanned image of an U.S. Geological Survey (USGS) standard series topographic map, including all map collar information. The image inside the map neatline is georeferenced to the surface of the earth and fit to the Universal Transverse Mercator projection. The horizontal positional accuracy and datum of the DRG matches the accuracy and datum of the source map. The map is scanned at a minimum resolution of 250 dots per inch. DRG's are created by scanning published paper maps on high-resolution scanners. The raster image is georeferenced and fit to the UTM projection. Colors are standardized to remove scanner limitations and artifacts. The average data set size is about 6 megabytes in Tagged Image File Format (TIFF) with PackBits compression. DRG's can be easily combined with other digital cartographic products such as digital elevation models (DEM) and digital orthophoto quadrangles (DOQ). DRG's are stored as rectified TIFF files in geoTIFF format. GeoTIFF is a relatively new TIFF image storage format that incorporates georeferencing information in the header. This allows software, such as ArcView, ARC/INFO, or EPPL7 to reference the image without an additional header or world file. Within the Minnesota Department of Natural Resources Core GIS data set the DRG's have been processed to be in compliance with departmental data standards (UTM Extended Zone 15, NAD83 datum) and the map collar information has been removed to facilitate the display of the DRG's in a seamless fashion. These DRG's were clipped and transformed to UTM Zone 15 using EPPL7 Raster GIS."
|
13
9
|
],
|
14
|
-
"
|
10
|
+
"dct_language_sm": [
|
11
|
+
"eng"
|
12
|
+
],
|
13
|
+
"dct_creator_sm": [
|
15
14
|
"U.S. Geological Survey and Minnesota DNR"
|
16
15
|
],
|
17
|
-
"
|
16
|
+
"dct_publisher_sm": [
|
17
|
+
"Minnesota Department of Natural Resources (DNR)"
|
18
|
+
],
|
19
|
+
"schema_provider_s": "University of Minnesota",
|
20
|
+
"gbl_resourceClass_sm": [
|
21
|
+
"Datasets"
|
22
|
+
],
|
23
|
+
"gbl_resourceType_sm": [
|
24
|
+
"Raster data"
|
25
|
+
],
|
26
|
+
"dcat_theme_sm": [
|
18
27
|
"Imagery and Base Maps"
|
19
28
|
],
|
20
|
-
"
|
21
|
-
|
29
|
+
"dcat_keyword_sm": [
|
30
|
+
"GBL Fixture records"
|
31
|
+
],
|
22
32
|
"dct_isPartOf_sm": [
|
23
33
|
"Minnesota Geospatial Commons"
|
24
34
|
],
|
25
|
-
"dct_issued_s": "2015-11-18T11:02:15.187331",
|
26
35
|
"dct_temporal_sm": [
|
27
36
|
"1998"
|
28
37
|
],
|
38
|
+
"dct_issued_s": "2015-11-18",
|
39
|
+
"gbl_indexYear_im": [
|
40
|
+
"1998"
|
41
|
+
],
|
42
|
+
"gbl_dateRange_drsim": [
|
43
|
+
"[1998 TO 1998]"
|
44
|
+
],
|
29
45
|
"dct_spatial_sm": [
|
30
|
-
"Minnesota
|
31
|
-
],
|
32
|
-
"
|
33
|
-
"
|
34
|
-
"
|
35
|
-
"
|
36
|
-
"
|
37
|
-
"
|
46
|
+
"Minnesota"
|
47
|
+
],
|
48
|
+
"locn_geometry": "ENVELOPE(-97.991522,-87.177541,49.892443,42.891013)",
|
49
|
+
"dcat_centroid_ss": "46.391728,-92.5845315",
|
50
|
+
"dct_accessRights_s": "Public",
|
51
|
+
"dct_format_s": "GeoTIFF",
|
52
|
+
"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\"}",
|
53
|
+
"id": "e9c71086-6b25-4950-8e1c-84c2794e3382",
|
54
|
+
"dct_identifier_sm": [
|
55
|
+
"e9c71086-6b25-4950-8e1c-84c2794e3382"
|
56
|
+
],
|
57
|
+
"gbl_mdModified_dt": "2021-06-01T22:14:17Z",
|
58
|
+
"gbl_mdVersion_s": "Aardvark"
|
38
59
|
}
|
@@ -1,25 +1,48 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"
|
4
|
-
|
5
|
-
|
6
|
-
"
|
7
|
-
|
2
|
+
"dct_title_s": "Norfolk 2005 Police Stations",
|
3
|
+
"dct_alternative_sm": [
|
4
|
+
"uva_slug_colon"
|
5
|
+
],
|
6
|
+
"dct_description_sm": [
|
7
|
+
"Multipoint dataset with WMS and WFS and a colon in the slug and layer ID. ",
|
8
|
+
"Police stations for Norfolk, Virginia."
|
9
|
+
],
|
10
|
+
"dct_language_sm": [
|
11
|
+
"eng"
|
12
|
+
],
|
13
|
+
"schema_provider_s": "UVa",
|
14
|
+
"gbl_resourceClass_sm": [
|
15
|
+
"Datasets"
|
16
|
+
],
|
17
|
+
"gbl_resourceType_sm": [
|
18
|
+
"Multipoint data"
|
19
|
+
],
|
20
|
+
"dcat_theme_sm": [
|
8
21
|
"Location"
|
9
22
|
],
|
10
|
-
"
|
11
|
-
|
12
|
-
|
13
|
-
"dct_references_s": "{\"http://www.opengis.net/def/serviceType/ogc/wms\":\"http://gis.lib.virginia.edu/geoserver/wms\",\"http://www.opengis.net/def/serviceType/ogc/wfs\":\"http://gis.lib.virginia.edu/geoserver/wfs\",\"http://www.opengis.net/def/serviceType/ogc/wcs\":\"http://gis.lib.virginia.edu/geoserver/wcs\",\"http://schema.org/downloadUrl\":\"http://gis.lib.virginia.edu/geoserver/ows?service=WFS\\u0026typeName=Norfolk:police_point\\u0026request=GetFeature\\u0026outputFormat=shape-zip\",\"http://www.isotc211.org/schemas/2005/gmd/\":\"https://opengeometadata.github.io/edu.virginia/382/13/iso19139.xml\"}",
|
23
|
+
"dcat_keyword_sm": [
|
24
|
+
"GBL Fixture records"
|
25
|
+
],
|
14
26
|
"dct_temporal_sm": [
|
15
|
-
"
|
16
|
-
],
|
17
|
-
"
|
18
|
-
"
|
19
|
-
|
20
|
-
|
21
|
-
"
|
22
|
-
|
23
|
-
|
24
|
-
"
|
27
|
+
"2015-2018"
|
28
|
+
],
|
29
|
+
"dct_issued_s": "2008-10-17",
|
30
|
+
"gbl_indexYear_im": [
|
31
|
+
"2015"
|
32
|
+
],
|
33
|
+
"gbl_dateRange_drsim": [
|
34
|
+
"[2015 TO 2018]"
|
35
|
+
],
|
36
|
+
"locn_geometry": "ENVELOPE(-76.346,-76.176,36.971,36.82)",
|
37
|
+
"dcat_centroid_ss": "36.8955,-76.261",
|
38
|
+
"dct_accessRights_s": "Public",
|
39
|
+
"dct_format_s": "Shapefile",
|
40
|
+
"gbl_wxsIdentifier_s": "Norfolk:police_point",
|
41
|
+
"dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://gis.lib.virginia.edu/geoserver/ows?service=WFS\\\\u0026typeName=Norfolk:police_point\\\\u0026request=GetFeature\\\\u0026outputFormat=shape-zip\",\"http://www.isotc211.org/schemas/2005/gmd/\":\"https://opengeometadata.github.io/edu.virginia/382/13/iso19139.xml\",\"http://www.opengis.net/def/serviceType/ogc/wfs\":\"http://gis.lib.virginia.edu/geoserver/wfs\",\"http://www.opengis.net/def/serviceType/ogc/wms\":\"http://www.opengis.net/def/serviceType/ogc/wms:http://gis.lib.virginia.edu/geoserver/wms\"}",
|
42
|
+
"id": "uva-Norfolk:police_point",
|
43
|
+
"dct_identifier_sm": [
|
44
|
+
"315fc8ee-3b57-4ebb-aa24-4300f1c42dc9-13"
|
45
|
+
],
|
46
|
+
"gbl_mdModified_dt": "2021-06-01T22:14:17Z",
|
47
|
+
"gbl_mdVersion_s": "Aardvark"
|
25
48
|
}
|
@@ -64,25 +64,6 @@ describe GeoblacklightHelper, type: :helper do
|
|
64
64
|
end
|
65
65
|
end
|
66
66
|
|
67
|
-
describe '#download_link_direct' do
|
68
|
-
let(:text) { 'Test Link Text' }
|
69
|
-
let(:references_field) { Settings.FIELDS.REFERENCES }
|
70
|
-
let(:document_attributes) do
|
71
|
-
{
|
72
|
-
references_field => {
|
73
|
-
'http://schema.org/downloadUrl' => 'http://example.com/urn:hul.harvard.edu:HARVARD.SDE2.TG10USAIANNH/data.zip'
|
74
|
-
}.to_json
|
75
|
-
}
|
76
|
-
end
|
77
|
-
let(:document) { SolrDocument.new(document_attributes) }
|
78
|
-
before do
|
79
|
-
allow_any_instance_of(Geoblacklight::Reference).to receive(:to_hash).and_return(download: 'http://example.com/urn:hul.harvard.edu:HARVARD.SDE2.TG10USAIANNH/data.zip')
|
80
|
-
end
|
81
|
-
it 'generates a link to download the original file' do
|
82
|
-
expect(download_link_direct(text, document)).to eq '<a contentUrl="http://example.com/urn:hul.harvard.edu:HARVARD.SDE2.TG10USAIANNH/data.zip" class="btn btn-default download download-original" data-download="trigger" data-download-type="direct" href="http://example.com/urn:hul.harvard.edu:HARVARD.SDE2.TG10USAIANNH/data.zip">Test Link Text</a>'
|
83
|
-
end
|
84
|
-
end
|
85
|
-
|
86
67
|
describe '#download_link_hgl' do
|
87
68
|
let(:text) { 'Test Link Text' }
|
88
69
|
let(:document) { instance_double(SolrDocument) }
|
@@ -2,7 +2,7 @@
|
|
2
2
|
require 'spec_helper'
|
3
3
|
|
4
4
|
describe Geoblacklight::GeojsonDownload do
|
5
|
-
let(:document) { SolrDocument.new(
|
5
|
+
let(:document) { SolrDocument.new(Settings.FIELDS.ID => 'test', solr_wfs_url: 'http://www.example.com/wfs', Settings.FIELDS.WXS_IDENTIFIER => 'stanford-test', Settings.FIELDS.SPATIAL_EXTENT => 'ENVELOPE(-180, 180, 90, -90)') }
|
6
6
|
let(:download) { described_class.new(document) }
|
7
7
|
describe '#initialize' do
|
8
8
|
it 'initializes as a GeojsonDownload object with specific options' do
|