geoblacklight 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/geoblacklight/modules/layer_opacity.js +11 -8
  3. data/app/assets/stylesheets/geoblacklight/_geoblacklight.css.scss +1 -0
  4. data/app/assets/stylesheets/geoblacklight/modules/item.css.scss +4 -0
  5. data/app/assets/stylesheets/geoblacklight/modules/layer_opacity.css.scss +42 -13
  6. data/app/assets/stylesheets/geoblacklight/modules/mixins.css.scss +5 -0
  7. data/app/helpers/geoblacklight_helper.rb +0 -1
  8. data/app/views/catalog/_show_sidebar.html.erb +18 -5
  9. data/app/views/shared/_header_navbar.html.erb +1 -1
  10. data/lib/geoblacklight.rb +5 -0
  11. data/lib/geoblacklight/constants.rb +18 -0
  12. data/lib/geoblacklight/reference.rb +21 -0
  13. data/lib/geoblacklight/references.rb +55 -0
  14. data/lib/geoblacklight/solr_document.rb +9 -1
  15. data/lib/geoblacklight/version.rb +1 -1
  16. data/lib/geoblacklight/view_helper_override.rb +1 -1
  17. data/spec/features/dct_references_generate.rb +100 -0
  18. data/spec/features/dct_references_spec.rb +77 -0
  19. data/spec/features/download_layer_spec.rb +23 -7
  20. data/spec/features/search_bar_spec.rb +12 -0
  21. data/spec/fixtures/test-dct-references1.json +38 -0
  22. data/spec/fixtures/test-dct-references2.json +41 -0
  23. data/spec/fixtures/test-dct-references3.json +45 -0
  24. data/spec/fixtures/test-dct-references4.json +60 -0
  25. data/spec/fixtures/test-dct-references5.json +57 -0
  26. data/spec/fixtures/test-dct-references6.json +52 -0
  27. data/spec/fixtures/test-dct-references7.json +42 -0
  28. data/spec/fixtures/test-dct-references8.json +46 -0
  29. data/spec/lib/geoblacklight/references_spec.rb +86 -0
  30. data/spec/lib/geoblacklight/{solr_document.rb → solr_document_spec.rb} +35 -2
  31. metadata +32 -4
@@ -0,0 +1,77 @@
1
+ require 'json'
2
+ require 'spec_helper'
3
+
4
+ URIs = Geoblacklight::Constants::URI
5
+
6
+ def parse_dct n
7
+ doc = JSON.parse(File.open("spec/fixtures/test-dct-references#{n}.json").read)
8
+ refs = JSON.parse(doc['dct_references_s'])
9
+ [doc, refs]
10
+ end
11
+
12
+ feature 'DCT:References Parsing' do
13
+ scenario 'Case 1: Minimal case of HTML metadata only' do
14
+ doc, refs = parse_dct 1
15
+ expect(refs[URIs[:html]]).to match %r'.*/.*html'
16
+ end
17
+
18
+ scenario 'Case 2: Minimal case of FGDC metadata, a URL (homepage), and WMS tile server' do
19
+ doc, refs = parse_dct 2
20
+ expect(refs[URIs[:fgdc]]).to match %r'.*/fgdc.xml'
21
+ expect(refs[URIs[:wms]]).to match %r'.*/wms'
22
+ expect(refs[URIs[:url]]).to match %r'.*/homepage'
23
+ end
24
+
25
+ scenario 'Case 3: ISO & MODS metadata, a URL, and WMS tile server' do
26
+ doc, refs = parse_dct 3
27
+ expect(refs[URIs[:iso19139]]).to match %r'.*/iso19139.xml'
28
+ expect(refs[URIs[:mods]]).to match %r'.*/mods.xml'
29
+ expect(refs[URIs[:url]]).to match %r'.*/homepage'
30
+ expect(refs[URIs[:wms]]).to match %r'.*/wms'
31
+ end
32
+
33
+ scenario 'Case 4: FGDC metadata and IIIF tile server' do
34
+ doc, refs = parse_dct 4
35
+ expect(refs[URIs[:fgdc]]).to match %r'.*/fgdc.xml'
36
+ expect(refs[URIs[:iiif]]).to match %r'.*/iiif'
37
+ end
38
+
39
+ scenario 'Case 5: ISO & MODS metadata, a URL, Shapefile ZIP and WFS, and WMS tile server' do
40
+ doc, refs = parse_dct 5
41
+ expect(doc['dc_format_s']).to eq 'Shapefile'
42
+ expect(doc['layer_geom_type_s']).to match %r'Point|Line|Polygon'
43
+ expect(refs[URIs[:download]]).to match %r'.*/data.zip'
44
+ expect(refs[URIs[:iso19139]]).to match %r'.*/iso19139.xml'
45
+ expect(refs[URIs[:mods]]).to match %r'.*/mods.xml'
46
+ expect(refs[URIs[:wms]]).to match %r'.*/wms'
47
+ expect(refs[URIs[:wfs]]).to match %r'.*/wfs'
48
+ expect(refs[URIs[:url]]).to match %r'.*/homepage'
49
+ end
50
+
51
+ scenario 'Case 6: ISO & MODS metadata, GeoTIFF ZIP and WCS, and WMS tile server' do
52
+ doc, refs = parse_dct 6
53
+ expect(doc['dc_format_s']).to eq 'GeoTIFF'
54
+ expect(doc['layer_geom_type_s']).to eq 'Raster'
55
+ expect(refs[URIs[:download]]).to match %r'.*/data.zip'
56
+ expect(refs[URIs[:iso19139]]).to match %r'.*/iso19139.xml'
57
+ expect(refs[URIs[:mods]]).to match %r'.*/mods.xml'
58
+ expect(refs[URIs[:wms]]).to match %r'.*/wms'
59
+ expect(refs[URIs[:wcs]]).to match %r'.*/wcs'
60
+ end
61
+
62
+ scenario 'Case 7: No metadata, GeoJSON' do
63
+ doc, refs = parse_dct 7
64
+ expect(doc['dc_format_s']).to eq 'Shapefile'
65
+ expect(doc['layer_geom_type_s']).to match %r'Point|Line|Polygon'
66
+ expect(refs[URIs[:download]]).to match %r'.*/data.json'
67
+ end
68
+
69
+ scenario 'Case 8: HTML metadata and WMS tile server' do
70
+ doc, refs = parse_dct 8
71
+ expect(doc['dc_format_s']).to eq 'Shapefile'
72
+ expect(refs[URIs[:download]]).to eq nil
73
+ expect(refs[URIs[:html]]).to match %r'.*/.*.html'
74
+ expect(refs[URIs[:wms]]).to match %r'.*/wms'
75
+ end
76
+
77
+ end
@@ -1,29 +1,45 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  feature 'Download layer' do
4
- scenario 'clicking shapefile download button should trigger download', js: true do
4
+ scenario 'clicking initial shapefile download button should trigger download', js: true do
5
5
  expect_any_instance_of(ShapefileDownload).to receive(:get).and_return('mit-us-ma-e25zcta5dct-2000-shapefile.zip')
6
6
  visit catalog_path('mit-us-ma-e25zcta5dct-2000')
7
- find('button', text: 'Download').click
8
- find('a', text: 'Shapefile').click
7
+ find('a', text: 'Download Shapefile').click
9
8
  expect(page).to have_css('a', text: 'Your file mit-us-ma-e25zcta5dct-2000-shapefile.zip is ready for download')
10
9
  end
11
10
  scenario 'clicking kmz download button should trigger download', js: true do
12
11
  expect_any_instance_of(KmzDownload).to receive(:get).and_return('mit-us-ma-e25zcta5dct-2000-kmz.kmz')
13
12
  visit catalog_path('mit-us-ma-e25zcta5dct-2000')
14
- find('button', text: 'Download').click
15
- find('a', text: 'KMZ').click
13
+ find('button.download-dropdown-toggle').click
14
+ find('a', text: 'Download Kmz').click
16
15
  expect(page).to have_css('a', text: 'Your file mit-us-ma-e25zcta5dct-2000-kmz.kmz is ready for download')
17
16
  end
17
+ scenario 'options should be available under toggle' do
18
+ visit catalog_path('mit-us-ma-e25zcta5dct-2000')
19
+ find('button.download-dropdown-toggle').click
20
+ expect(page).to have_css('li a', text: 'Download Shapefile')
21
+ expect(page).to have_css('li a', text: 'Download Kmz')
22
+ end
18
23
  scenario 'restricted layer should not have download available to non logged in user' do
19
24
  visit catalog_path('stanford-jf841ys4828')
20
25
  expect(page).to have_css 'a', text: 'Login to view and download'
21
- expect(page).to_not have_css 'button', text: 'Download'
26
+ expect(page).to_not have_css 'button', text: 'Download Shapefile'
22
27
  end
23
28
  scenario 'restricted layer should have download available to logged in user' do
24
29
  sign_in
25
30
  visit catalog_path('stanford-jf841ys4828')
26
31
  expect(page).to_not have_css 'a', text: 'Login to view and download'
27
- expect(page).to have_css 'button', text: 'Download'
32
+ expect(page).to have_css 'a', text: 'Download Shapefile'
33
+ expect(page).to have_css 'button.download-dropdown-toggle'
34
+ end
35
+ scenario 'layer with direct download and wms/wfs should include all download types' do
36
+ sign_in
37
+ visit catalog_path('stanford-jf841ys4828')
38
+ expect(page).to have_css 'a', text: 'Download Shapefile'
39
+ find('button.download-dropdown-toggle').click
40
+ expect(page).to have_css 'li.dropdown-header', text: 'Original'
41
+ expect(page).to have_css 'li.dropdown-header', text: 'Projected'
42
+ expect(page).to have_css 'li a', text: 'Download Shapefile'
43
+ expect(page).to have_css 'li a', text: 'Download Kmz'
28
44
  end
29
45
  end
@@ -0,0 +1,12 @@
1
+ require 'spec_helper'
2
+
3
+ feature 'search bar' do
4
+ scenario 'present on a spatial search' do
5
+ visit catalog_index_path(bbox: '25, 3, 75, 35')
6
+ expect(page).to have_css '#search-navbar'
7
+ end
8
+ scenario 'present on a text search' do
9
+ visit catalog_index_path(q: 'test')
10
+ expect(page).to have_css '#search-navbar'
11
+ end
12
+ end
@@ -0,0 +1,38 @@
1
+ {
2
+ "uuid": "urn:hul.harvard.edu:HARVARD.SDE2.USGS_NU_ESTELI_RDL",
3
+ "dc_description_s": "Roads for the Esteli region, Nicaragua. This layer was vectorized from original hard copy 1:50,000 topographic maps produced by the Instituto Geogra?fico Nacional, Nicaragua.\n\nHurricane Mitch devastated Central America during the months of October-November of 1998. From 1998 to 2001 the US Geological Survey was involved along with other federal agencies in the reconstruction effort. The source CD consists of a compilation of GIS data layers and computer applications focused on hazard prevention and useful in municipal planning. Each dataset includes layers for a base area around the urban center of each municipality in the Hurricane Mitch project.",
4
+ "dc_format_s": "Shapefile",
5
+ "dc_identifier_s": "urn:hul.harvard.edu:HARVARD.SDE2.USGS_NU_ESTELI_RDL",
6
+ "dc_language_s": "English",
7
+ "dc_publisher_s": "US Geological Survey, Hurricane Mitch Program",
8
+ "dc_rights_s": "Public",
9
+ "dc_subject_sm": [
10
+ "Transportation Roads transportation"
11
+ ],
12
+ "dc_title_s": "Roads, Esteli Region, Nicaragua, 2001",
13
+ "dc_type_s": "Dataset",
14
+ "dct_references_s": "{\"http://www.w3.org/1999/xhtml\":\"http://example.com/urn:hul.harvard.edu:HARVARD.SDE2.USGS_NU_ESTELI_RDL/metadata.html\"}",
15
+ "dct_spatial_sm": [
16
+ "Nicaragua Esteli",
17
+ "Departamento de Esteli"
18
+ ],
19
+ "dct_temporal_sm": [
20
+ "2001"
21
+ ],
22
+ "dct_issued_s": "2000",
23
+ "dct_provenance_s": "Harvard",
24
+ "georss_box_s": "13.028337 -86.420715 13.154937 -86.291663",
25
+ "georss_polygon_s": "13.154937 -86.420715 13.154937 -86.291663 13.028337 -86.291663 13.028337 -86.420715 13.154937 -86.420715",
26
+ "layer_slug_s": "harvard-usgs-nu-esteli-rdl",
27
+ "layer_id_s": "sde:SDE2.USGS_NU_ESTELI_RDL",
28
+ "layer_geom_type_s": "Line",
29
+ "layer_modified_dt": "2014-05-27T18:09:37Z",
30
+ "solr_bbox": "-86.420715 13.028337 -86.291663 13.154937",
31
+ "solr_ne_pt": "13.154937,-86.291663",
32
+ "solr_sw_pt": "13.028337,-86.420715",
33
+ "solr_geom": "ENVELOPE(-86.420715, -86.291663, 13.154937, 13.028337)",
34
+ "solr_year_i": 2001,
35
+ "solr_issued_dt": "2000-01-01T00:00:00Z",
36
+ "solr_wms_url": "http://hgl.harvard.edu:8080/geoserver/wms",
37
+ "solr_wfs_url": "http://hgl.harvard.edu:8080/geoserver/wfs"
38
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "uuid": "urn:hul.harvard.edu:HARVARD.SDE.AMS7810_S250_U54_NG47_11",
3
+ "dc_description_s": "This layer is a geo-referenced raster image of the Army Map Service 1:250,000 scale China series topographic map of the Ta-Li region. This map (NG47-1) was compiled in 1954 from China Proper SW, 1:250,000, Army Map Service Sheets G47-P, G47-Q, 1946 and was first printed in this series in May 1956.\n\nA digital raster graphic (DRG) is a scanned image of a standard series topographic map, including all map collar information. The image inside the map neatline is geo-referenced to the surface of the earth and fit to the Universal Transverse Mercator projection. The horizontal positional accuracy and datum of the DRG matches closely with the accuracy and datum of the source map.\n\nThis map series of China (Series L500) was created and printed by the US Army Corps of Engineers Army Map Service (AMS) during the 1950s. The AMS was later known as the Defense Mapping Agency, which is now subsumed under NIMA. \nThese maps are a contoured topographic map series based largely on the Survey of India. These color maps have contour intervals of 100 meters. Map sources used to create these maps include British Survey of India maps, Japanese civil survey and military maps; United States Air Force (USAF) and United States Hydrographic Office (USHO) charts and a variety of other source maps simply described as the \"... best available large scale and medium scale maps of China.\"\nThese maps are in English, with modified Wade-Giles romanized Chinese place and feature names, many names also appear as Chinese ideographs. These are typical topographic maps with all of the normal topographic information: contours, transportation, culture, etc. Please pay close attention to map collar information on projections, spheroid and keys to grid numbering and other numbers which appear inside the neatline.",
4
+ "dc_format_s": "GeoTIFF",
5
+ "dc_identifier_s": "urn:hul.harvard.edu:HARVARD.SDE.AMS7810_S250_U54_NG47_11",
6
+ "dc_language_s": "English",
7
+ "dc_rights_s": "Public",
8
+ "dc_subject_sm": [
9
+ "imageryBaseMapsEarthCover Maps",
10
+ "Topographic Land Use Infrastructure Human settlements Bodies of water Landforms"
11
+ ],
12
+ "dc_title_s": "AMS China Ta-Li Region",
13
+ "dc_type_s": "Dataset",
14
+ "dct_references_s": "{\"http://www.opengis.net/cat/csw/csdgm\":\"http://example.com/urn:hul.harvard.edu:HARVARD.SDE.AMS7810_S250_U54_NG47_11/fgdc.xml\",\"http://schema.org/url\":\"http://example.com/urn:hul.harvard.edu:HARVARD.SDE.AMS7810_S250_U54_NG47_11/homepage\",\"http://www.opengis.net/def/serviceType/ogc/wms\":\"http://hgl.harvard.edu:8080/geoserver/wms\"}",
15
+ "dct_spatial_sm": [
16
+ "China",
17
+ "Ta-Li",
18
+ "Dali",
19
+ "Yunnan",
20
+ "province"
21
+ ],
22
+ "dct_temporal_sm": [
23
+ "2005"
24
+ ],
25
+ "dct_issued_s": "2000",
26
+ "dct_provenance_s": "Harvard",
27
+ "georss_box_s": "24.774628 98.881922 26.090835 100.788377",
28
+ "georss_polygon_s": "26.090835 98.881922 26.090835 100.788377 24.774628 100.788377 24.774628 98.881922 26.090835 98.881922",
29
+ "layer_slug_s": "harvard-ams7810-s250-u54-ng47-11",
30
+ "layer_id_s": "cite:SDE.AMS7810_S250_U54_NG47_11",
31
+ "layer_geom_type_s": "Raster",
32
+ "layer_modified_dt": "2014-05-27T18:09:35Z",
33
+ "solr_bbox": "98.881922 24.774628 100.788377 26.090835",
34
+ "solr_ne_pt": "26.090835,100.788377",
35
+ "solr_sw_pt": "24.774628,98.881922",
36
+ "solr_geom": "ENVELOPE(98.881922, 100.788377, 26.090835, 24.774628)",
37
+ "solr_year_i": 2005,
38
+ "solr_issued_dt": "2000-01-01T00:00:00Z",
39
+ "solr_wms_url": "http://hgl.harvard.edu:8080/geoserver/wms",
40
+ "solr_wcs_url": "http://hgl.harvard.edu:8080/geoserver/wcs"
41
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "uuid": "urn:hul.harvard.edu:HARVARD.SDE.TG00NJPUMA",
3
+ "dc_description_s": "This datalayer displays the Public Use Microdata Areas (PUMAs) for the state. \nA public use microdata area is a decennial census area for which the U.S. Census Bureau provides selected extracts of raw data from a small sample of long-form census records that are screened to protect confidentiality. These extracts are referred to as Public Use Microdata Sample (PUMS) files. Since 1960, data users have been using these files to create their own statistical tabulations and data summaries. For Census 2000, state, District of Columbia, and Puerto Rico participants, following U.S. Census Bureau criteria, delineated two types of PUMAs within their states or statistically equivalent entity. \n\nPUMAs of one type comprise areas that contain at least 100,000 people. The PUMS files for these PUMAs contain a 5-percent sample of the long-form records. The other type of PUMAs, super-PUMAs, comprise areas of at least 400,000 people. The sample size is 1-percent for the PUMS files for super-PUMAs. \n\nPUMAs cannot be in more than one state or statistically equivalent entity. The larger 1-percent PUMAs are aggregations of the smaller 5-percent PUMAs. The UA Census 2000 TIGER/Line files contain a Public Use Microdata Area File, 2000 field containing the PUMA codes from the 5- percent sample.",
4
+ "dc_format_s": "Shapefile",
5
+ "dc_identifier_s": "urn:hul.harvard.edu:HARVARD.SDE.TG00NJPUMA",
6
+ "dc_language_s": "English",
7
+ "dc_publisher_s": "U.S. Department of Commerce, Bureau of the Census",
8
+ "dc_rights_s": "Public",
9
+ "dc_subject_sm": [
10
+ "boundaries",
11
+ "Census",
12
+ "districts",
13
+ "Statistics",
14
+ "Boundaries",
15
+ "Public",
16
+ "use",
17
+ "microdata",
18
+ "areas"
19
+ ],
20
+ "dc_title_s": "UA Census Public Use Microdata Areas, 2000 - New Jersey",
21
+ "dc_type_s": "Dataset",
22
+ "dct_references_s": "{\"http://www.isotc211.org/schemas/2005/gmd/\":\"http://example.com/urn:hul.harvard.edu:HARVARD.SDE.TG00NJPUMA/iso19139.xml\",\"http://www.loc.gov/mods/v3\":\"http://example.com/urn:hul.harvard.edu:HARVARD.SDE.TG00NJPUMA/mods.xml\",\"http://schema.org/url\":\"http://example.com/urn:hul.harvard.edu:HARVARD.SDE.TG00NJPUMA/homepage\",\"http://www.opengis.net/def/serviceType/ogc/wms\":\"http://hgl.harvard.edu:8080/geoserver/wms\"}",
23
+ "dct_spatial_sm": [
24
+ "New Jersey"
25
+ ],
26
+ "dct_temporal_sm": [
27
+ "2000"
28
+ ],
29
+ "dct_issued_s": "2000",
30
+ "dct_provenance_s": "Harvard",
31
+ "georss_box_s": "38.9285189995282 -75.5597900005237 41.3573710003341 -73.9026749997039",
32
+ "georss_polygon_s": "41.3573710003341 -75.5597900005237 41.3573710003341 -73.9026749997039 38.9285189995282 -73.9026749997039 38.9285189995282 -75.5597900005237 41.3573710003341 -75.5597900005237",
33
+ "layer_slug_s": "harvard-tg00njpuma",
34
+ "layer_id_s": "sde:SDE.TG00NJPUMA",
35
+ "layer_geom_type_s": "Polygon",
36
+ "layer_modified_dt": "2014-05-27T18:09:35Z",
37
+ "solr_bbox": "-75.5597900005237 38.9285189995282 -73.9026749997039 41.3573710003341",
38
+ "solr_ne_pt": "41.3573710003341,-73.9026749997039",
39
+ "solr_sw_pt": "38.9285189995282,-75.5597900005237",
40
+ "solr_geom": "ENVELOPE(-75.5597900005237, -73.9026749997039, 41.3573710003341, 38.9285189995282)",
41
+ "solr_year_i": 2000,
42
+ "solr_issued_dt": "2000-01-01T00:00:00Z",
43
+ "solr_wms_url": "http://hgl.harvard.edu:8080/geoserver/wms",
44
+ "solr_wfs_url": "http://hgl.harvard.edu:8080/geoserver/wfs"
45
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "uuid": "urn:hul.harvard.edu:HARVARD.SDE2.ESRI04LAKES",
3
+ "dc_description_s": "World Lakes represents the major lakes and inland seas within the world.",
4
+ "dc_format_s": "Shapefile",
5
+ "dc_identifier_s": "urn:hul.harvard.edu:HARVARD.SDE2.ESRI04LAKES",
6
+ "dc_language_s": "English",
7
+ "dc_publisher_s": "ESRI",
8
+ "dc_rights_s": "Restricted",
9
+ "dc_subject_sm": [
10
+ "Lakes",
11
+ "Seas",
12
+ "Bodies",
13
+ "of",
14
+ "water",
15
+ "Hydrography",
16
+ "inlandWaters",
17
+ "polygon",
18
+ "lakes",
19
+ "seas",
20
+ "hydrography"
21
+ ],
22
+ "dc_title_s": "ESRI Data Maps 2004 : World Lakes",
23
+ "dc_type_s": "Dataset",
24
+ "dct_references_s": "{\"http://www.opengis.net/cat/csw/csdgm\":\"http://example.com/urn:hul.harvard.edu:HARVARD.SDE2.ESRI04LAKES/fgdc.xml\",\"http://iiif.io/api/image\":\"http://example.com/iiif\"}",
25
+ "dct_spatial_sm": [
26
+ "Earth",
27
+ "Northern",
28
+ "Hemisphere",
29
+ "Southern",
30
+ "Eastern",
31
+ "Western",
32
+ "Africa",
33
+ "Asia",
34
+ "Europe",
35
+ "North",
36
+ "America",
37
+ "South",
38
+ "Polar",
39
+ "regions"
40
+ ],
41
+ "dct_temporal_sm": [
42
+ "1992"
43
+ ],
44
+ "dct_issued_s": "2000",
45
+ "dct_provenance_s": "Harvard",
46
+ "georss_box_s": "-16.606264 -125.123318 67.046936 109.965",
47
+ "georss_polygon_s": "67.046936 -125.123318 67.046936 109.965 -16.606264 109.965 -16.606264 -125.123318 67.046936 -125.123318",
48
+ "layer_slug_s": "harvard-esri04lakes",
49
+ "layer_id_s": "sde:SDE2.ESRI04LAKES",
50
+ "layer_geom_type_s": "Polygon",
51
+ "layer_modified_dt": "2014-05-27T18:09:36Z",
52
+ "solr_bbox": "-125.123318 -16.606264 109.965 67.046936",
53
+ "solr_ne_pt": "67.046936,109.965",
54
+ "solr_sw_pt": "-16.606264,-125.123318",
55
+ "solr_geom": "ENVELOPE(-125.123318, 109.965, 67.046936, -16.606264)",
56
+ "solr_year_i": 1992,
57
+ "solr_issued_dt": "2000-01-01T00:00:00Z",
58
+ "solr_wms_url": "http://hgl.harvard.edu:8080/geoserver/wms",
59
+ "solr_wfs_url": "http://hgl.harvard.edu:8080/geoserver/wfs"
60
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "uuid": "urn:hul.harvard.edu:HARVARD.SDE2.TG10USAIANNH",
3
+ "dc_description_s": "This polygon data layer represents the 2010 TIGER/Line Census American Indian/Alaska Native/Native Hawaiian areas for the United States. The TIGER/Line Files are shapefiles and related database files (.dbf) that are an extract of selected geographic and cartographic information from the U.S. Census Bureau's Master Address File / Topologically Integrated Geographic Encoding and Referencing (MAF/TIGER) Database (MTDB). The MTDB represents a seamless national file with no overlaps or gaps between parts, however, each TIGER/Line File is designed to stand alone as an independent data set, or they can be combined to cover the entire nation. The American Indian / Alaska Native / Native Hawaiian (AIANNH) Areas Shapefile includes the following legal entities: federally recognized American Indian reservations and off-reservation trust land areas, State-recognized American Indian reservations, and Hawaiian home lands (HHLs). The statistical entities included are Alaska Native village statistical areas (ANVSAs), Oklahoma tribal statistical areas (OTSAs), tribal designated statistical areas (TDSAs), and State designated tribal statistical areas (SDTSAs). Joint use areas are also included in this shapefile and mean that the area is administered jointly and/or claimed by two or more American Indian tribes. The Census Bureau designates both legal and statistical joint use areas as unique geographic entities for the purpose of presenting statistical data. Note that tribal subdivisions and Alaska Native Regional Corporations (ANRCs) are additional types of American Indian / Alaska Native areas stored by the Census Bureau, but are displayed in separate shapefiles because of how the fall within the Census Bureau's geographic hierarchy. The 2010 Census boundaries for federally recognized American Indian reservations and off-reservation trust lands are as of January 1, 2010, as reported by the federally recognized tribal governments through the Census Bureau's Boundary and Annexation Survey (BAS). The State of Hawaii's Office of Hawaiian Home Lands provided the legal boundaries used in Census 2000 for the HHLs, but provided no updates since and none for the 2010 Census although there is strong evidence of HHL land acquisitions and large housing and commercial development on most HHLs. The boundaries for ANVSAs, OTSAs, and TDSAs were delineated for the 2010 Census through the Tribal Statistical Areas Program (TSAP) by participants from the federally recognized tribal governments. The Bureau of Indian Affairs (BIA) within the U.S. Department of the Interior (DOI) provides the list of federally recognized Tribes and only provides legal boundary information when the Tribes need supporting records, if a boundary is based on treaty or another document that is historical or open to legal interpretation, or when another Tribal, State, or local government challenges the depiction of a reservation or off-reservation trust land. The boundaries for State recognized American Indian reservations and for SDTSAs were delineated State governor appointed liaisons for the 2010 Census through the State American Indian Reservation Program and TSAP respectively.",
4
+ "dc_format_s": "Shapefile",
5
+ "dc_identifier_s": "urn:hul.harvard.edu:HARVARD.SDE2.TG10USAIANNH",
6
+ "dc_language_s": "English",
7
+ "dc_rights_s": "Public",
8
+ "dc_subject_sm": [
9
+ "Boundaries",
10
+ "Indian",
11
+ "reservations",
12
+ "Census",
13
+ "Administrative",
14
+ "and",
15
+ "political",
16
+ "divisions",
17
+ "boundaries",
18
+ "Nation",
19
+ "Polygon",
20
+ "American",
21
+ "Area",
22
+ "AIA",
23
+ "Alaska",
24
+ "Native",
25
+ "ANA",
26
+ "Hawaiian",
27
+ "Home",
28
+ "Land"
29
+ ],
30
+ "dc_title_s": "American Indian/Alaska Native/Native Hawaiian Areas (AIANNH) United States 2010",
31
+ "dc_type_s": "Dataset",
32
+ "dct_references_s": "{\"http://schema.org/downloadUrl\":\"http://example.com/urn:hul.harvard.edu:HARVARD.SDE2.TG10USAIANNH/data.zip\",\"http://www.isotc211.org/schemas/2005/gmd/\":\"http://example.com/urn:hul.harvard.edu:HARVARD.SDE2.TG10USAIANNH/iso19139.xml\",\"http://www.loc.gov/mods/v3\":\"http://example.com/urn:hul.harvard.edu:HARVARD.SDE2.TG10USAIANNH/mods.xml\",\"http://schema.org/url\":\"http://example.com/urn:hul.harvard.edu:HARVARD.SDE2.TG10USAIANNH/homepage\",\"http://www.opengis.net/def/serviceType/ogc/wms\":\"http://hgl.harvard.edu:8080/geoserver/wms\",\"http://www.opengis.net/def/serviceType/ogc/wfs\":\"http://hgl.harvard.edu:8080/geoserver/wfs\"}",
33
+ "dct_spatial_sm": [
34
+ "United",
35
+ "States",
36
+ "U.S."
37
+ ],
38
+ "dct_temporal_sm": [
39
+ "2010"
40
+ ],
41
+ "dct_issued_s": "2000",
42
+ "dct_provenance_s": "Harvard",
43
+ "georss_box_s": "17.831509 -179.231086 71.441059 179.859681",
44
+ "georss_polygon_s": "71.441059 -179.231086 71.441059 179.859681 17.831509 179.859681 17.831509 -179.231086 71.441059 -179.231086",
45
+ "layer_slug_s": "harvard-tg10usaiannh",
46
+ "layer_id_s": "sde:SDE2.TG10USAIANNH",
47
+ "layer_geom_type_s": "Polygon",
48
+ "layer_modified_dt": "2014-05-27T18:09:37Z",
49
+ "solr_bbox": "-179.231086 17.831509 179.859681 71.441059",
50
+ "solr_ne_pt": "71.441059,179.859681",
51
+ "solr_sw_pt": "17.831509,-179.231086",
52
+ "solr_geom": "ENVELOPE(-179.231086, 179.859681, 71.441059, 17.831509)",
53
+ "solr_year_i": 2010,
54
+ "solr_issued_dt": "2000-01-01T00:00:00Z",
55
+ "solr_wms_url": "http://hgl.harvard.edu:8080/geoserver/wms",
56
+ "solr_wfs_url": "http://hgl.harvard.edu:8080/geoserver/wfs"
57
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "uuid": "urn:hul.harvard.edu:HARVARD.SDE2.G7064_S2_1834_K3",
3
+ "dc_description_s": "This layer is a georeferenced raster image of the historic paper map entitled: [Karta mesta zanimaemago Sanktpeterburgom : v tom vide v kakom onoe nakhodilos' za god do osnovaniia goroda; sostavlena dlia panoramy S. Peterburga, 1834]. It was published in 1834. Scale [ca. 1:76,000]. Covers Saint Petersburg Region, Russia. Map in Russian and Swedish.\n\nThe image inside the map neatline is georeferenced to the surface of the earth and fit to the 'Pulkovo 1995 Gauss Kruger Zone 6N' coordinate system. All map collar and inset information is also available as part of the raster image, including any inset maps, profiles, statistical tables, directories, text, illustrations, index maps, legends, or other information associated with the principal map.\n\nThis map shows features such as roads, drainage, built-up areas and selected buildings, ground cover, and more. Relief is shown by hachures. Depths shown by soundings. Includes insets: [Retusari island] -- [Sluselberg]. \n\nThis layer is part of a selection of digitally scanned and georeferenced historic maps from The Harvard Map Collection as part of the Imaging the Urban Environment project. Maps selected for this project represent major urban areas and cities of the world, at various time periods. These maps typically portray both natural and manmade features at a large scale. The selection represents a range of regions, originators, ground condition dates, scales, and purposes.",
4
+ "dc_format_s": "GeoTIFF",
5
+ "dc_identifier_s": "urn:hul.harvard.edu:HARVARD.SDE2.G7064_S2_1834_K3",
6
+ "dc_language_s": "English",
7
+ "dc_publisher_s": "Harvard Map Collection, Harvard College Library",
8
+ "dc_rights_s": "Public",
9
+ "dc_subject_sm": [
10
+ "Maps",
11
+ "Human",
12
+ "settlements",
13
+ "Cities",
14
+ "and",
15
+ "towns",
16
+ "Land",
17
+ "use",
18
+ "Landforms",
19
+ "Infrastructure",
20
+ "(Economics)",
21
+ "Transportation",
22
+ "Bodies",
23
+ "of",
24
+ "water",
25
+ "imageryBaseMapsEarthCover"
26
+ ],
27
+ "dc_title_s": "Saint Petersburg Region, Russia, 1834 (Raster Image)",
28
+ "dc_type_s": "Dataset",
29
+ "dct_references_s": "{\"http://schema.org/downloadUrl\":\"http://example.com/urn:hul.harvard.edu:HARVARD.SDE2.G7064_S2_1834_K3/data.zip\",\"http://www.isotc211.org/schemas/2005/gmd/\":\"http://example.com/urn:hul.harvard.edu:HARVARD.SDE2.G7064_S2_1834_K3/iso19139.xml\",\"http://www.loc.gov/mods/v3\":\"http://example.com/urn:hul.harvard.edu:HARVARD.SDE2.G7064_S2_1834_K3/mods.xml\",\"http://www.opengis.net/def/serviceType/ogc/wms\":\"http://hgl.harvard.edu:8080/geoserver/wms\",\"http://www.opengis.net/def/serviceType/ogc/wcs\":\"http://hgl.harvard.edu:8080/geoserver/wcs\"}",
30
+ "dct_spatial_sm": [
31
+ "Russia Saint Petersburg"
32
+ ],
33
+ "dct_temporal_sm": [
34
+ "1834"
35
+ ],
36
+ "dct_issued_s": "2000",
37
+ "dct_provenance_s": "Harvard",
38
+ "georss_box_s": "59.669749 30.013108 60.041712 30.875309",
39
+ "georss_polygon_s": "60.041712 30.013108 60.041712 30.875309 59.669749 30.875309 59.669749 30.013108 60.041712 30.013108",
40
+ "layer_slug_s": "harvard-g7064-s2-1834-k3",
41
+ "layer_id_s": "cite:SDE2.G7064_S2_1834_K3",
42
+ "layer_geom_type_s": "Raster",
43
+ "layer_modified_dt": "2014-05-27T18:09:36Z",
44
+ "solr_bbox": "30.013108 59.669749 30.875309 60.041712",
45
+ "solr_ne_pt": "60.041712,30.875309",
46
+ "solr_sw_pt": "59.669749,30.013108",
47
+ "solr_geom": "ENVELOPE(30.013108, 30.875309, 60.041712, 59.669749)",
48
+ "solr_year_i": 1834,
49
+ "solr_issued_dt": "2000-01-01T00:00:00Z",
50
+ "solr_wms_url": "http://hgl.harvard.edu:8080/geoserver/wms",
51
+ "solr_wcs_url": "http://hgl.harvard.edu:8080/geoserver/wcs"
52
+ }