geoblacklight 6.0.0.pre.beta.2 → 6.0.0.pre.beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/geoblacklight/record.css +1 -2
- data/app/assets/stylesheets/geoblacklight/search.css +3 -4
- data/app/assets/stylesheets/geoblacklight.css +0 -1
- data/app/components/geoblacklight/document/download_link_component.html.erb +1 -1
- data/app/components/geoblacklight/document/download_links_component.html.erb +1 -1
- data/app/components/geoblacklight/document/download_links_component.rb +1 -1
- data/app/components/geoblacklight/document/preview_component.html.erb +1 -1
- data/app/components/geoblacklight/document/preview_component.rb +45 -0
- data/app/components/geoblacklight/iiif_drag_drop_component.rb +1 -1
- data/app/components/geoblacklight/metadata_description_markdown_component.rb +1 -1
- data/app/components/geoblacklight/relations/relation_component.html.erb +2 -4
- data/app/components/geoblacklight/relations/relation_component.rb +0 -4
- data/app/components/geoblacklight/search_result_component.html.erb +2 -4
- data/app/components/geoblacklight/search_result_component.rb +0 -3
- data/app/components/geoblacklight/static_map_component.rb +2 -3
- data/app/helpers/geoblacklight_helper.rb +0 -18
- data/app/javascript/geoblacklight/controllers/overview_map_controller.js +4 -3
- data/app/javascript/geoblacklight/initializers/field_truncation.js +1 -4
- data/app/models/concerns/geoblacklight/bbox_filter_field.rb +0 -13
- data/app/models/concerns/geoblacklight/solr_document/preview.rb +58 -0
- data/app/models/concerns/geoblacklight/solr_document.rb +20 -23
- data/app/views/catalog/_document_split.html.erb +1 -1
- data/config/importmap.rb +5 -6
- data/geoblacklight.gemspec +1 -1
- data/lib/generators/geoblacklight/templates/assets/customizations.css +13 -4
- data/lib/generators/geoblacklight/templates/catalog_controller.rb +4 -6
- data/lib/geoblacklight/constants.rb +1 -0
- data/lib/geoblacklight/references.rb +0 -9
- data/lib/geoblacklight/version.rb +1 -1
- data/spec/components/geoblacklight/citation_component_spec.rb +2 -2
- data/spec/components/geoblacklight/{item_map_viewer_component_spec.rb → document/preview_component_spec.rb} +6 -1
- data/spec/components/geoblacklight/download_links_component_spec.rb +1 -1
- data/spec/components/geoblacklight/iiif_drag_drop_component_spec.rb +7 -7
- data/spec/components/geoblacklight/relations/relation_component_spec.rb +3 -11
- data/spec/components/geoblacklight/search_result_component_spec.rb +4 -12
- data/spec/components/geoblacklight/static_map_component_spec.rb +19 -10
- data/spec/features/search_results_map_spec.rb +13 -0
- data/spec/features/search_spec.rb +1 -1
- data/spec/features/truncated_metadata_spec.rb +0 -5
- data/spec/fixtures/solr_documents/README.md +63 -57
- data/spec/fixtures/solr_documents/b1g_iiif_manifest.json +1 -1
- data/spec/fixtures/solr_documents/baruch_documentation_download.json +1 -0
- data/spec/fixtures/solr_documents/bbox-spans-180.json +3 -3
- data/spec/fixtures/solr_documents/bluemarble.json +28 -0
- data/spec/fixtures/solr_documents/complex-geom.json +3 -3
- data/spec/fixtures/solr_documents/cornell-roads-fgdc.json +19 -0
- data/spec/fixtures/solr_documents/dalian.json +38 -0
- data/spec/fixtures/solr_documents/esri-tiled_map_layer.json +1 -1
- data/spec/fixtures/solr_documents/iiif-eastern-hemisphere.json +2 -2
- data/spec/fixtures/solr_documents/metadata_no_provider.json +0 -1
- data/spec/fixtures/solr_documents/modis-ndvi.json +36 -0
- data/spec/fixtures/solr_documents/panama.json +37 -0
- data/spec/fixtures/solr_documents/public_cog_princeton.json +0 -2
- data/spec/fixtures/solr_documents/stanford-geojson.json +39 -0
- data/spec/fixtures/solr_documents/usgs-htmc-index-ca-24000.json +36 -0
- data/spec/fixtures/solr_documents/usgs-tnm-index-dem1.json +28 -0
- data/spec/helpers/geoblacklight_helper_spec.rb +0 -32
- data/spec/lib/geoblacklight/references_spec.rb +8 -14
- data/spec/models/concerns/geoblacklight/bbox_filter_field_spec.rb +0 -24
- data/spec/models/concerns/geoblacklight/solr_document_spec.rb +30 -23
- data/spec/requests/catalog_search_spec.rb +1 -1
- data/spec/requests/catalog_show_spec.rb +2 -2
- data/spec/requests/index_view_spec.rb +6 -6
- data/spec/requests/metadata_spec.rb +1 -1
- data/spec/requests/missing_metadata_spec.rb +13 -13
- data/spec/requests/search_results_spec.rb +4 -3
- data/spec/spec_helper.rb +5 -0
- metadata +13 -16
- data/app/assets/stylesheets/geoblacklight/index_maps.css +0 -29
- data/app/components/geoblacklight/item_map_viewer_component.html.erb +0 -1
- data/app/components/geoblacklight/item_map_viewer_component.rb +0 -52
- data/app/models/concerns/geoblacklight/solr_document/inspection.rb +0 -17
- data/lib/geoblacklight/geometry.rb +0 -86
- data/lib/geoblacklight/item_viewer.rb +0 -84
- data/spec/fixtures/solr_documents/no_locn_geometry.json +0 -17
- data/spec/fixtures/solr_documents/no_spatial.json +0 -28
- data/spec/javascripts/metadata_download_button_spec.js +0 -17
- data/spec/lib/geoblacklight/geometry_spec.rb +0 -60
- data/spec/lib/geoblacklight/item_viewer_spec.rb +0 -77
- data/spec/models/concerns/geoblacklight/solr_document/inspection_spec.rb +0 -19
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require "spec_helper"
|
|
4
4
|
|
|
5
|
-
RSpec.describe Geoblacklight::
|
|
5
|
+
RSpec.describe Geoblacklight::Document::PreviewComponent, type: :component do
|
|
6
6
|
before do
|
|
7
7
|
render_inline(described_class.new(document: document))
|
|
8
8
|
end
|
|
@@ -10,6 +10,7 @@ RSpec.describe Geoblacklight::ItemMapViewerComponent, type: :component do
|
|
|
10
10
|
# One viewer for every protocol it can preview: what to show is the viewer's own decision, taken
|
|
11
11
|
# from the references in the record it fetches
|
|
12
12
|
["solr_documents/iiif-eastern-hemisphere.json",
|
|
13
|
+
"solr_documents/stanford-geojson.json",
|
|
13
14
|
"solr_documents/public_pmtiles_princeton.json",
|
|
14
15
|
"solr_documents/actual-polygon1.json"].each do |fixture_path|
|
|
15
16
|
context "with #{File.basename(fixture_path, ".json")}" do
|
|
@@ -82,5 +83,9 @@ RSpec.describe Geoblacklight::ItemMapViewerComponent, type: :component do
|
|
|
82
83
|
it "uses the oembed viewer instead" do
|
|
83
84
|
expect(page).to have_css("div#oembed-viewer")
|
|
84
85
|
end
|
|
86
|
+
|
|
87
|
+
it "hands it the oembed endpoint" do
|
|
88
|
+
expect(page).to have_css("div#oembed-viewer[data-oembed-viewer-url-value='#{document.oembed}']")
|
|
89
|
+
end
|
|
85
90
|
end
|
|
86
91
|
end
|
|
@@ -15,7 +15,7 @@ RSpec.describe Geoblacklight::Document::DownloadLinksComponent, type: :component
|
|
|
15
15
|
downloadable?: downloadable,
|
|
16
16
|
direct_download: direct_download,
|
|
17
17
|
iiif_download: iiif_download,
|
|
18
|
-
|
|
18
|
+
format: file_format,
|
|
19
19
|
references: references
|
|
20
20
|
)
|
|
21
21
|
end
|
|
@@ -4,21 +4,21 @@ require "spec_helper"
|
|
|
4
4
|
|
|
5
5
|
RSpec.describe Geoblacklight::IiifDragDropComponent, type: :component do
|
|
6
6
|
describe "#iiifdragdropcomponet" do
|
|
7
|
-
let(:
|
|
8
|
-
let(:
|
|
9
|
-
let(:document) { instance_double(SolrDocument, id: 123, item_viewer: item_viewer) }
|
|
7
|
+
let(:references_field) { Geoblacklight.configuration.fields.references }
|
|
8
|
+
let(:document) { SolrDocument.new("id" => 123, references_field => references.to_json) }
|
|
10
9
|
let(:component) { described_class.new(document: document) }
|
|
11
10
|
|
|
12
|
-
context "does not have
|
|
13
|
-
let(:
|
|
11
|
+
context "does not have a manifest url" do
|
|
12
|
+
let(:references) { {"http://iiif.io/api/image" => "https://url.com/info.json"} }
|
|
14
13
|
|
|
15
14
|
it "does not render" do
|
|
16
15
|
expect(component.render?).to be false
|
|
17
16
|
end
|
|
18
17
|
end
|
|
19
18
|
|
|
20
|
-
context "has
|
|
21
|
-
let(:
|
|
19
|
+
context "has a manifest url" do
|
|
20
|
+
let(:references) { {"http://iiif.io/api/presentation#manifest" => "https://url.com/manifest.json"} }
|
|
21
|
+
|
|
22
22
|
it "renders iiif drag and drop icon" do
|
|
23
23
|
render_inline(component)
|
|
24
24
|
expect(component.render?).to be true
|
|
@@ -25,7 +25,7 @@ RSpec.describe Geoblacklight::Relations::RelationComponent, type: :component do
|
|
|
25
25
|
end
|
|
26
26
|
|
|
27
27
|
it "does not render a description block when there is no description" do
|
|
28
|
-
expect(page).to have_no_css(".
|
|
28
|
+
expect(page).to have_no_css(".description")
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
it "does not render a sibling browse link when no sibling_count is given" do
|
|
@@ -38,16 +38,8 @@ RSpec.describe Geoblacklight::Relations::RelationComponent, type: :component do
|
|
|
38
38
|
|
|
39
39
|
before { render_inline(described_class.new(document: document)) }
|
|
40
40
|
|
|
41
|
-
it "renders
|
|
42
|
-
expect(page).to have_css(".
|
|
43
|
-
expect(page).to have_content("First paragraph.")
|
|
44
|
-
expect(page).to have_content("Second paragraph.")
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
it "sets up the truncation data attributes for the JS initializer" do
|
|
48
|
-
expect(page).to have_css(
|
|
49
|
-
".truncate-abstract[data-max-lines='5'][data-read-more-text='Read more'][data-close-text='Close']"
|
|
50
|
-
)
|
|
41
|
+
it "renders the description as a single paragraph" do
|
|
42
|
+
expect(page).to have_css(".description", text: "First paragraph. Second paragraph.")
|
|
51
43
|
end
|
|
52
44
|
end
|
|
53
45
|
|
|
@@ -22,26 +22,18 @@ RSpec.describe Geoblacklight::SearchResultComponent, type: :component do
|
|
|
22
22
|
|
|
23
23
|
describe "#description" do
|
|
24
24
|
it "does not render a description block when there is no description" do
|
|
25
|
-
expect(page).to have_no_css(".
|
|
25
|
+
expect(page).to have_no_css(".description")
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
context "when the document has a description" do
|
|
29
29
|
let(:description) { ["First paragraph.", "Second paragraph."] }
|
|
30
30
|
|
|
31
|
-
it "renders
|
|
32
|
-
expect(page).to have_css(".
|
|
33
|
-
expect(page).to have_content("First paragraph.")
|
|
34
|
-
expect(page).to have_content("Second paragraph.")
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
it "sets up the truncation data attributes for the JS initializer" do
|
|
38
|
-
expect(page).to have_css(
|
|
39
|
-
".truncate-abstract[data-max-lines='4'][data-read-more-text='Read more'][data-close-text='Close']"
|
|
40
|
-
)
|
|
31
|
+
it "renders the description as a single paragraph" do
|
|
32
|
+
expect(page).to have_css(".description", text: "First paragraph. Second paragraph.")
|
|
41
33
|
end
|
|
42
34
|
|
|
43
35
|
it "exposes the description as schema.org markup" do
|
|
44
|
-
expect(page).to have_css(".
|
|
36
|
+
expect(page).to have_css(".description[itemprop='description']")
|
|
45
37
|
end
|
|
46
38
|
end
|
|
47
39
|
end
|
|
@@ -9,20 +9,29 @@ RSpec.describe Geoblacklight::StaticMapComponent, type: :component do
|
|
|
9
9
|
render_inline(described_class.new(document: document))
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
allow(Geoblacklight.configuration).to receive(:sidebar_static_map).and_return(["map"])
|
|
12
|
+
it "renders a locator map of where the record is" do
|
|
13
|
+
expect(rendered.css("ogm-locator#locator-map")).to be_present
|
|
15
14
|
end
|
|
16
15
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
it "points it at the same endpoint the item viewer reads its own metadata from" do
|
|
17
|
+
map = rendered.css("ogm-locator").first
|
|
18
|
+
expect(map["record-url"]).to eq Rails.application.routes.url_helpers.viewer_solr_document_path(document)
|
|
19
|
+
expect(map["theme"]).to be_nil
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
context "when the record has a map-previewable reference" do
|
|
23
|
+
let(:document) { SolrDocument.new(JSON.parse(read_fixture("solr_documents/actual-polygon1.json"))) }
|
|
24
|
+
|
|
25
|
+
it "does not render a locator map" do
|
|
26
|
+
expect(rendered.css("ogm-locator")).to be_empty
|
|
20
27
|
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
context "when the record has a IIIF-previewable reference only" do
|
|
31
|
+
let(:document) { SolrDocument.new(JSON.parse(read_fixture("solr_documents/public_iiif_princeton.json"))) }
|
|
21
32
|
|
|
22
|
-
it "
|
|
23
|
-
|
|
24
|
-
expect(map["record-url"]).to eq Rails.application.routes.url_helpers.viewer_solr_document_path(document)
|
|
25
|
-
expect(map["theme"]).to be_nil
|
|
33
|
+
it "renders a locator map" do
|
|
34
|
+
expect(rendered.css("ogm-locator#locator-map")).to be_present
|
|
26
35
|
end
|
|
27
36
|
end
|
|
28
37
|
end
|
|
@@ -25,6 +25,19 @@ RSpec.feature "search results map", js: true do
|
|
|
25
25
|
expect(north).to be_within(1).of(45)
|
|
26
26
|
end
|
|
27
27
|
|
|
28
|
+
scenario "draws a result that crosses the antimeridian across the Pacific, not the long way round" do
|
|
29
|
+
visit search_catalog_path(q: "Oceania")
|
|
30
|
+
|
|
31
|
+
# East Asia and Oceania is ENVELOPE(68, -124.73, 62.45, -53.23): its east edge is numerically west
|
|
32
|
+
# of its west edge, the way a box that crosses the antimeridian is written. If drawn the wrong way,
|
|
33
|
+
# it will cover the Americas and the Atlantic instead, which is the opposite of what it actually depicts.
|
|
34
|
+
place = find(".document[data-map-id='princeton-sx61dn82p']")["data-document-counter"].to_i
|
|
35
|
+
(west, _south), (east, _north) = drawn_extents[place - 1]
|
|
36
|
+
|
|
37
|
+
expect(west).to be_within(1).of(68)
|
|
38
|
+
expect(east).to be_within(1).of(-124.73 + 360)
|
|
39
|
+
end
|
|
40
|
+
|
|
28
41
|
scenario "comes back knowing the area the reader searched" do
|
|
29
42
|
# The line of text saying how to search goes up with the map
|
|
30
43
|
expect(find("#overview-map").shadow_root).to have_css(".maplibregl-ctrl-geosearch")
|
|
@@ -53,11 +53,6 @@ RSpec.feature "Metadata fields that limit their values" do
|
|
|
53
53
|
scenario "The hidden values stay available to assistive technology", js: true do
|
|
54
54
|
visit solr_document_path("princeton-dc7h14b252v")
|
|
55
55
|
|
|
56
|
-
# visually-hidden leaves the values in the accessibility tree, so the button is of no use
|
|
57
|
-
# to assistive technology and says so rather than promising something it cannot deliver
|
|
58
|
-
expect(read_more[:"aria-disabled"]).to eq "true"
|
|
59
|
-
expect(read_more[:"aria-label"]).to include "assistive technology"
|
|
60
|
-
|
|
61
56
|
hidden = all("#{group} > dd.visually-hidden", visible: :all).last
|
|
62
57
|
expect(hidden.evaluate_script("getComputedStyle(this).display")).not_to eq "none"
|
|
63
58
|
expect(hidden.evaluate_script("getComputedStyle(this).visibility")).not_to eq "hidden"
|
|
@@ -2,60 +2,66 @@
|
|
|
2
2
|
|
|
3
3
|
If you add a new document, please add it to the table below, and indicate its purpose.
|
|
4
4
|
|
|
5
|
-
| Filename | Title
|
|
6
|
-
| ------------------------------------------------------------------------- |
|
|
7
|
-
| [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.
|
|
8
|
-
| [actual-point1](actual-point1.json) | 2014 New York City Places
|
|
9
|
-
| [actual-polygon1](actual-polygon1.json) | 2000 Census Block Groups, Calaveras County, California, 2018
|
|
10
|
-
| [actual-raster1](actual-raster1.json) | 1-Meter Shaded Relief Multibeam Bathymetry Image (Color): Elkhorn Slough, California, 2005
|
|
11
|
-
| [all-relationships](all-relationships.json) | All Relationships
|
|
12
|
-
| [b1g_iiif_manifest](b1g_iiif_manifest.json) | Atlas de Finlande, 1910, Atlas
|
|
13
|
-
| [b1g_wabash_child_15](b1g_wabash_child_15.json) | Wabash Aerial (15): Illinois, 1938
|
|
14
|
-
| [b1g_wabash_child_16](b1g_wabash_child_16.json) | Wabash Aerial (16): Illinois, 1938
|
|
15
|
-
| [b1g_wabash_child_17](b1g_wabash_child_17.json) | Wabash Aerial (17): Illinois, 1938
|
|
16
|
-
| [b1g_wabash_child_18](b1g_wabash_child_18.json) | Wabash Aerial (18): Illinois, 1938
|
|
17
|
-
| [b1g_wabash_parent](b1g_wabash_parent.json) | Wabash County Aerial Photography: Illinois, 1938
|
|
18
|
-
| [baruch_ancestor1](baruch_ancestor1.json) | 2016 NYC Geodatabase, Open Source Version (jan2016)
|
|
19
|
-
| [baruch_ancestor2](baruch_ancestor2.json) | 2016 NYC Geodatabase, ArcGIS Version (jan2016)
|
|
20
|
-
| [baruch_documentation_download](baruch_documentation_download.json) | 2015 New York City Subway Complexes and Ridership
|
|
21
|
-
| [bbox-spans-180](bbox-spans-180.json) | East Asia and Oceania
|
|
22
|
-
| [
|
|
23
|
-
| [
|
|
24
|
-
| [
|
|
25
|
-
| [
|
|
26
|
-
| [
|
|
27
|
-
| [
|
|
28
|
-
| [esri-
|
|
29
|
-
| [esri-
|
|
30
|
-
| [esri-
|
|
31
|
-
| [
|
|
32
|
-
| [
|
|
33
|
-
| [
|
|
34
|
-
| [
|
|
35
|
-
| [
|
|
36
|
-
| [index-map-
|
|
37
|
-
| [
|
|
38
|
-
| [
|
|
39
|
-
| [
|
|
40
|
-
| [
|
|
41
|
-
| [
|
|
42
|
-
| [
|
|
43
|
-
| [
|
|
44
|
-
| [
|
|
45
|
-
| [
|
|
46
|
-
| [princeton-
|
|
47
|
-
| [princeton-
|
|
48
|
-
| [
|
|
49
|
-
| [
|
|
50
|
-
| [
|
|
51
|
-
| [
|
|
52
|
-
| [
|
|
53
|
-
| [
|
|
54
|
-
| [
|
|
55
|
-
| [
|
|
56
|
-
| [
|
|
57
|
-
| [
|
|
58
|
-
| [
|
|
59
|
-
| [
|
|
60
|
-
| [
|
|
61
|
-
| [
|
|
5
|
+
| Filename | Title | ID | Purpose |
|
|
6
|
+
| ------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
7
|
+
| [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 |
|
|
8
|
+
| [actual-point1](actual-point1.json) | 2014 New York City Places | nyu-2451-34564 | Point dataset with WMS and WFS |
|
|
9
|
+
| [actual-polygon1](actual-polygon1.json) | 2000 Census Block Groups, Calaveras County, California, 2018 | berkeley-s7st30 | Polygon dataset (no direct download) with WFS, WMS, and ISO 19139 metadata as XML |
|
|
10
|
+
| [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 |
|
|
11
|
+
| [all-relationships](all-relationships.json) | All Relationships | all-relationships | Carries every relationship field, each pointing at the-related-record, so the relations panel renders one group per relation type |
|
|
12
|
+
| [b1g_iiif_manifest](b1g_iiif_manifest.json) | Atlas de Finlande, 1910, Atlas | p16022coll229:3210 | Collection member with a IIIF manifest reference and a colon in its id |
|
|
13
|
+
| [b1g_wabash_child_15](b1g_wabash_child_15.json) | Wabash Aerial (15): Illinois, 1938 | 757d0f6e-2e04-4ac1-bd28-a5204df46ac1 | Child sheet of the Wabash County Aerial Photography record, and the sibling used to test sibling counts |
|
|
14
|
+
| [b1g_wabash_child_16](b1g_wabash_child_16.json) | Wabash Aerial (16): Illinois, 1938 | 972872c0-3459-438c-8ef0-6e8ff8110395 | Child sheet of the Wabash County Aerial Photography record, making up its four parts |
|
|
15
|
+
| [b1g_wabash_child_17](b1g_wabash_child_17.json) | Wabash Aerial (17): Illinois, 1938 | 33ecd1bd-c532-422c-8996-d8c1800aed5b | Child sheet of the Wabash County Aerial Photography record, making up its four parts |
|
|
16
|
+
| [b1g_wabash_child_18](b1g_wabash_child_18.json) | Wabash Aerial (18): Illinois, 1938 | 1b315c9c-f3f7-44be-a77b-2b726e87ff94 | Child sheet of the Wabash County Aerial Photography record, making up its four parts |
|
|
17
|
+
| [b1g_wabash_parent](b1g_wabash_parent.json) | Wabash County Aerial Photography: Illinois, 1938 | eee6150b-ce2f-4837-9d17-ce72a0c1c26f | Parent of the four Wabash Aerial sheets, for the "Has 4 parts" relations group and its browse link |
|
|
18
|
+
| [baruch_ancestor1](baruch_ancestor1.json) | 2016 NYC Geodatabase, Open Source Version (jan2016) | nyu_2451_34635 | SQLite Database with documentation download Referenced as parent |
|
|
19
|
+
| [baruch_ancestor2](baruch_ancestor2.json) | 2016 NYC Geodatabase, ArcGIS Version (jan2016) | nyu_2451_34636 | Geodatabase with documentation download Referenced as parent |
|
|
20
|
+
| [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 |
|
|
21
|
+
| [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 |
|
|
22
|
+
| [bluemarble](bluemarble.json) | Blue Marble (August 2004, Shaded Relief and Bathymetry), MODIS / NASA Earth Observatory | nasa-gibs-bluemarble_shadedrelief_bathymetry | Global NASA GIBS imagery layer with XYZ tiles, WMS, and WMTS references. |
|
|
23
|
+
| [complex-geom](complex-geom.json) | Anglesey; Garnesay; Wight olim vectis; ... | c8b46b52-0846-4abb-ba56-b484064f84ac | Scanned map with MULTIPOLYGON locn_geometry value |
|
|
24
|
+
| [cornell-roads-fgdc](cornell-roads-fgdc.json) | Road Centerlines, Tompkins County NY, 2005 | cugir-007879 | Line dataset with WMS, direct download, and FGDC metadata as XML and HTML, whose Entity and Attribute section provide a rich description of the features |
|
|
25
|
+
| [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 |
|
|
26
|
+
| [dalian](dalian.json) | 大連市街圖 東部 -- Dairen shigaizu tōbu 1:1,200, Maps Index | stanford-zz075gp2099 | Polygon index map with mixed availability (some sheets are unavailable). Has OpenIndexMaps GeoJSON, PMTiles, and FlatGeobuf references, ISO 19139, ISO 19110, and FGDC metadata, and a CJK title. |
|
|
27
|
+
| [display-note](display-note.json) | Building Footprints, Frobozz Headquarters, 781 GUE | frobozz-111 | Has one display note of each configured type: generic, Danger, Info, Tip, and Warning |
|
|
28
|
+
| [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 |
|
|
29
|
+
| [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 |
|
|
30
|
+
| [esri-feature-layer](esri-feature-layer.json) | Transit - Airports: Maryland | f406332e63eb4478a9560ad86ae90327_18 | ArcGIS Feature Layer - point dataset |
|
|
31
|
+
| [esri-image-map-layer](esri-image-map-layer.json) | USGS Digital Raster Graphic Mosaic: Illinois | 32653ed6-8d83-4692-8a06-bf13ffe2c018 | ArcGIS Image Map Layer, served from a statewide raster mosaic |
|
|
32
|
+
| [esri-tiled_map_layer](esri-tiled_map_layer.json) | Minnesota Land Cover Classification and Impervious Surface Area by Landsat and Lidar (2013 Update) | 31567cf1-bad8-4bc5-8d57-44b96c207ecc | ArcGIS tiled map layer |
|
|
33
|
+
| [esri-wms-layer](esri-wms-layer.json) | Bedrock Geology: Illinois, 2005 | 5f92e192-7e3f-4ec7-a193-8c165288560a | Dataset with ArcGIS Dynamic Map Layer, ArcGIS WMS, and direct download |
|
|
34
|
+
| [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 |
|
|
35
|
+
| [index_map_point](index_map_point.json) | New York Aerial Photos (1960s) | cornell-ny-aerial-photos-1960s | GeoJSON index map of points |
|
|
36
|
+
| [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 |
|
|
37
|
+
| [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 |
|
|
38
|
+
| [index-map-stanford](index-map-stanford.json) | Clearwater, Los Angeles Co., Cal., Sept. 1927, including Hynes, Maps Index | stanford-bc576pk4911 | GeoJSON index map of rectangular polygons |
|
|
39
|
+
| [index-map-v1-complex](index-map-v1-complex.json) | Millionth Map of Hispanic America | ark:-77981-gmgscj87k49 | OpenIndexMap with complex geometry (inset sheets, multiple editions) using specification version 1.0.0 |
|
|
40
|
+
| [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 |
|
|
41
|
+
| [metadata_no_provider](metadata_no_provider.json) | Social Explorer | 99-0001-noprovider | This is a website record that does not have a Provider. |
|
|
42
|
+
| [modis-ndvi](modis-ndvi.json) | Vegetation Index (L3, Monthly), Aqua / MODIS | nasa-gibs-modis_aqua_l3_ndvi_monthly | Global NASA GIBS monthly time-series layer (2002 to present) with XYZ PNG tiles, WMTS (including time dimension), and WMS |
|
|
43
|
+
| [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 |
|
|
44
|
+
| [oembed](oembed.json) | Jōshū Kusatsu Onsenzu | stanford-dc482zx1528 | This record has an Oembed reference link |
|
|
45
|
+
| [panama](panama.json) | The Panama Canal : Map showing Isthmus with completed canal | stanford-cz340dc9589 | Georeferenced IIIF scanned map with a IIIF manifest and a IIIF georeference annotation |
|
|
46
|
+
| [princeton-child1](princeton-child1.json) | Princeton, Mercer County, New Jersey (Sheet 1) | princeton-n009w382v | Child record for testing the gbl_suppressed_b property |
|
|
47
|
+
| [princeton-child2](princeton-child2.json) | Princeton, Mercer County, New Jersey (Sheet 2) | princeton-jq085m62x | Child record for testing the gbl_suppressed_b property |
|
|
48
|
+
| [princeton-child3](princeton-child3.json) | Princeton, Mercer County, New Jersey (Sheet 3) | princeton-n009w382v-fake1 | Child record for testing the gbl_suppressed_b property |
|
|
49
|
+
| [princeton-child4](princeton-child4.json) | Princeton, Mercer County, New Jersey (Sheet 4) | princeton-n009w382v-fake2 | Child record for testing the gbl_suppressed_b property |
|
|
50
|
+
| [princeton-parent](princeton-parent.json) | Princeton, Mercer County, New Jersey | princeton-1r66j405w | Parent record for testing the gbl_suppressed_b property |
|
|
51
|
+
| [public_cog_princeton](public_cog_princeton.json) | Map illustrating the journey of the Pundit Nain Singh through Great Tibet from Ladákh to Assam [cartographic material] : to accompany the paper by Captn. H. Trotter R.E. / [engraved by] Edwd. Weller. (geotiff) | princeton-dc7h14b252v | Scanned map with a Cloud Optimized GeoTIFF (COG) reference, and a dct_source_sm value |
|
|
52
|
+
| [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 |
|
|
53
|
+
| [public_pmtiles_princeton](public_pmtiles_princeton.json) | Louisiana voting districts from 2010 Census | princeton-t722hd30j | Polygon dataset with a PMTiles reference, FGDC metadata, and a direct download |
|
|
54
|
+
| [public_polygon](public_polygon.json) | 1994 General Plan Land Use Designations, Stanislaus County, California, 2014 | berkeley-s7pq31 | Polygon shapefile with WMS and WFS, and no metadata reference |
|
|
55
|
+
| [restricted-line](restricted-line.json) | Roads, Port-au-Prince, Haiti, 2010 | berkeley-s76d73 | Restricted line layer with WFS, WMS and metadata in ISO 19139 |
|
|
56
|
+
| [stanford-geojson](stanford-geojson.json) | Home Owners' Loan Corporation Graded Neighborhoods, United States, 1935 [GeoJSON] | stanford-rv900sk6861 | Polygon dataset whose only previewable reference is a GeoJSON file, with a zipped download. The oEmbed reference on the real record is left out, since it would take precedence over the map preview |
|
|
57
|
+
| [the-related-record](the-related-record.json) | The Related Record | the-related-record | Target of every relation on All Relationships, so the inverse relationship groups render |
|
|
58
|
+
| [tilejson](tilejson.json) | The Balkans [and] Turkey : G.S.G.S. no. 2097 / War Office. General Staff. Geographical Section (TileJSON Fixture) | princeton-fk4544658v-tilejson | Raster mosaic dataset with a reference to a TileJSON document |
|
|
59
|
+
| [tms](tms.json) | Agricultural Districts, Columbia County NY, 2009 (TMS) | cugir-007957 | Includes a reference to a TMS web service |
|
|
60
|
+
| [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 |
|
|
61
|
+
| [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 |
|
|
62
|
+
| [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 |
|
|
63
|
+
| [usgs-htmc-index-ca-24000](usgs-htmc-index-ca-24000.json) | Index to USGS 1:24000-scale Quadrangles of California | usgs-htmc-index-ca-24000 | Large GeoJSON index map (7.5 MB, 10,486 polygons) of overlapping map editions, with a downloadUrl for the index itself |
|
|
64
|
+
| [usgs-tnm-index-dem1](usgs-tnm-index-dem1.json) | Index to USGS 3DEP 1 Arc-Second DEM Tiles | usgs-tnm-index-dem1 | GeoJSON index map of DEM tiles whose bounding box spans the 180th meridian, with a downloadUrl for the index itself and FGDC metadata |
|
|
65
|
+
| [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 |
|
|
66
|
+
| [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 |
|
|
67
|
+
| [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 |
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"gbl_indexYear_im": [1911],
|
|
20
20
|
"gbl_dateRange_drsim": ["[1911 TO 1911]"],
|
|
21
21
|
"dct_spatial_sm": ["Finland"],
|
|
22
|
-
"locn_geometry": "POLYGON((19.08 70.09,
|
|
22
|
+
"locn_geometry": "POLYGON((19.08 70.09, 19.08 59.45, 31.59 59.45, 31.59 70.09, 19.08 70.09))",
|
|
23
23
|
"dcat_bbox": "ENVELOPE(19.08,31.59,70.09,59.45)",
|
|
24
24
|
"dcat_centroid": "64.77000000000001,25.335",
|
|
25
25
|
"pcdm_memberOf_sm": ["64bd8c4c-8e60-4956-b43d-bdc3f93db488"],
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"Borough of Queens, New York"
|
|
31
31
|
],
|
|
32
32
|
"locn_geometry": "ENVELOPE(-74.030876,-73.755405,40.903125,40.576127)",
|
|
33
|
+
"dcat_bbox": "ENVELOPE(-74.030876,-73.755405,40.903125,40.576127)",
|
|
33
34
|
"dcat_centroid": "40.739626,-73.8931405",
|
|
34
35
|
"dct_source_sm": ["nyu_2451_34635", "nyu_2451_34636"],
|
|
35
36
|
"dct_accessRights_s": "Public",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"gbl_resourceClass_sm": ["Maps"],
|
|
12
12
|
"dct_subject_sm": ["Asia, east — Maps"],
|
|
13
13
|
"dcat_keyword_sm": ["GBL Fixture records"],
|
|
14
|
-
"locn_geometry": "ENVELOPE(
|
|
15
|
-
"dcat_bbox": "ENVELOPE(
|
|
16
|
-
"dcat_centroid": "4.608
|
|
14
|
+
"locn_geometry": "ENVELOPE(68,-124.7333333,62.45,-53.23333333)",
|
|
15
|
+
"dcat_bbox": "ENVELOPE(68,-124.7333333,62.45,-53.23333333)",
|
|
16
|
+
"dcat_centroid": "4.608,151.633",
|
|
17
17
|
"dct_accessRights_s": "Public",
|
|
18
18
|
"dct_format_s": "TIFF",
|
|
19
19
|
"gbl_wxsIdentifier_s": "public-figgy:a990e1b4-7f0e-44b8-ae2a-de7e93cdd74a",
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "nasa-gibs-bluemarble_shadedrelief_bathymetry",
|
|
3
|
+
"dct_title_s": "Blue Marble (August 2004, Shaded Relief and Bathymetry), MODIS / NASA Earth Observatory",
|
|
4
|
+
"dct_description_sm": [
|
|
5
|
+
"The MODIS Blue Marble, Next Generation layer with Shaded Relief and Bathymetry is a cloud free, true color composite of MODIS imagery from August 2004 including shaded relief and bathymetry in the water bodies.",
|
|
6
|
+
"A visualization from NASA's Global Imagery Browse Services (GIBS)."
|
|
7
|
+
],
|
|
8
|
+
"dct_publisher_sm": ["United States. National Aeronautics and Space Administration"],
|
|
9
|
+
"schema_provider_s": "National Aeronautics and Space Administration",
|
|
10
|
+
"dct_identifier_sm": ["BlueMarble_ShadedRelief_Bathymetry"],
|
|
11
|
+
"dct_subject_sm": ["Blue Marble"],
|
|
12
|
+
"dcat_theme_sm": ["Imagery", "Land Cover"],
|
|
13
|
+
"dcat_keyword_sm": ["Global Imagery Browse Services"],
|
|
14
|
+
"gbl_resourceClass_sm": ["Imagery"],
|
|
15
|
+
"gbl_resourceType_sm": ["Satellite imagery"],
|
|
16
|
+
"dct_format_s": "JPEG",
|
|
17
|
+
"locn_geometry": "ENVELOPE(-180, 180, 90, -90)",
|
|
18
|
+
"dcat_bbox": "ENVELOPE(-180, 180, 90, -90)",
|
|
19
|
+
"pcdm_memberOf_sm": ["nasa-gibs"],
|
|
20
|
+
"dct_rights_sm": [
|
|
21
|
+
"We acknowledge the use of imagery provided by services from NASA's Global Imagery Browse Services (GIBS), part of NASA's Earth Science Data and Information System (ESDIS)."
|
|
22
|
+
],
|
|
23
|
+
"dct_accessRights_s": "Public",
|
|
24
|
+
"gbl_mdModified_dt": "2026-10-05T00:00:00Z",
|
|
25
|
+
"gbl_mdVersion_s": "Aardvark",
|
|
26
|
+
"gbl_wxsIdentifier_s": "BlueMarble_ShadedRelief_Bathymetry",
|
|
27
|
+
"dct_references_s": "{\"https://wiki.openstreetmap.org/wiki/Slippy_map_tilenames\":\"https://gibs.earthdata.nasa.gov/wmts/epsg3857/best/BlueMarble_ShadedRelief_Bathymetry/default/default/GoogleMapsCompatible_Level8/{z}/{y}/{x}.jpeg\",\"http://www.opengis.net/def/serviceType/ogc/wmts\":\"https://gibs.earthdata.nasa.gov/wmts/epsg3857/best/1.0.0/WMTSCapabilities.xml\",\"http://www.opengis.net/def/serviceType/ogc/wms\":\"https://gibs.earthdata.nasa.gov/wms/epsg3857/best/wms.cgi\",\"http://schema.org/url\":\"https://worldview.earthdata.nasa.gov/?l=BlueMarble_ShadedRelief_Bathymetry\",\"http://schema.org/thumbnailUrl\":\"https://gibs.earthdata.nasa.gov/wms/epsg4326/best/wms.cgi?SERVICE=WMS&REQUEST=GetMap&VERSION=1.1.1&LAYERS=BlueMarble_ShadedRelief_Bathymetry&STYLES=&SRS=EPSG:4326&BBOX=-180,-90,180,90&WIDTH=512&HEIGHT=256&FORMAT=image/jpeg\"}"
|
|
28
|
+
}
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"gbl_indexYear_im": [1630],
|
|
20
20
|
"gbl_dateRange_drsim": ["[1630 TO 1639]"],
|
|
21
21
|
"dct_spatial_sm": ["Isle of Wight", "Guernsey (Isle)", "Jersey (Isle)", "Anglesey (Isle)", "England", "Wales"],
|
|
22
|
-
"locn_geometry": "MULTIPOLYGON(((-4.7 53.44, -4.
|
|
23
|
-
"dcat_bbox": "ENVELOPE(-
|
|
24
|
-
"dcat_centroid": "51.
|
|
22
|
+
"locn_geometry": "MULTIPOLYGON(((-4.7 53.44, -4.7 53.13, -4.02 53.13, -4.02 53.44, -4.7 53.44)),((-1.591789 50.767556, -1.591789 50.574678, -1.062732 50.574678, -1.062732 50.767556, -1.591789 50.767556)),((-2.6825 49.5351, -2.6825 49.3851, -2.3117 49.3851, -2.3117 49.5351, -2.6825 49.5351)),((-2.2649 49.2775, -2.2649 49.1411, -1.9958 49.1411, -1.9958 49.2775, -2.2649 49.2775)),((-5.1707 54.5534, -5.1707 53.845, -3.9654 53.845, -3.9654 54.5534, -5.1707 54.5534)))",
|
|
23
|
+
"dcat_bbox": "ENVELOPE(-5.1707,-1.062732,54.5534,49.1411)",
|
|
24
|
+
"dcat_centroid": "51.84725,-3.116716",
|
|
25
25
|
"pcdm_memberOf_sm": ["64bd8c4c-8e60-4956-b43d-bdc3f93db488"],
|
|
26
26
|
"dct_isPartOf_sm": ["07d-01"],
|
|
27
27
|
"dct_rights_sm": ["This map is in the public domain."],
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "cugir-007879",
|
|
3
|
+
"dct_title_s": "Road Centerlines, Tompkins County NY, 2005",
|
|
4
|
+
"dct_description_sm": [
|
|
5
|
+
"Road centerlines for Tompkins County, New York. Converted mechanically from CUGIR's GeoBlacklight 1.0 record (cugir-007879) to Aardvark. The FGDC reference in this fixture contains extensive descriptions of the features; its Entity and Attribute section defines 23 of 26 fields and carries 96 enumerated domain values."
|
|
6
|
+
],
|
|
7
|
+
"dct_accessRights_s": "Public",
|
|
8
|
+
"dct_format_s": "Shapefile",
|
|
9
|
+
"dct_publisher_sm": ["Tompkins County (N.Y.). Information Technology Services. GIS Division"],
|
|
10
|
+
"dct_spatial_sm": ["Tompkins County (N.Y.)"],
|
|
11
|
+
"dct_references_s": "{\"http://www.opengis.net/def/serviceType/ogc/wms\":\"https://cugir.library.cornell.edu/geoserver/cugir/wms\",\"http://www.opengis.net/cat/csw/csdgm\":\"https://cugir-data.s3.amazonaws.com/00/78/79/fgdc.xml\",\"http://www.w3.org/1999/xhtml\":\"https://cugir-data.s3.amazonaws.com/00/78/79/fgdc.html\",\"http://schema.org/downloadUrl\":\"https://cugir-data.s3.amazonaws.com/00/78/79/cugir-007879.zip\"}",
|
|
12
|
+
"dcat_bbox": "ENVELOPE(-76.696426, -76.24689, 42.62742, 42.262786)",
|
|
13
|
+
"locn_geometry": "ENVELOPE(-76.696426, -76.24689, 42.62742, 42.262786)",
|
|
14
|
+
"gbl_mdVersion_s": "Aardvark",
|
|
15
|
+
"gbl_resourceClass_sm": ["Datasets"],
|
|
16
|
+
"gbl_resourceType_sm": ["Line data"],
|
|
17
|
+
"gbl_wxsIdentifier_s": "cugir007879",
|
|
18
|
+
"schema_provider_s": "Cornell"
|
|
19
|
+
}
|