geoblacklight_sidecar_images 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +17 -0
  4. data/.rspec +1 -0
  5. data/.rubocop.yml +80 -0
  6. data/.travis.yml +29 -0
  7. data/Gemfile +47 -0
  8. data/LICENSE +201 -0
  9. data/README.md +45 -0
  10. data/Rakefile +37 -0
  11. data/app/assets/config/geoblacklight_sidecar_images_manifest.js +2 -0
  12. data/app/assets/images/geoblacklight_sidecar_images/.keep +0 -0
  13. data/app/assets/javascripts/geoblacklight_sidecar_images/application.js +13 -0
  14. data/app/assets/stylesheets/geoblacklight_sidecar_images/application.css +15 -0
  15. data/app/controllers/geoblacklight_sidecar_images/application_controller.rb +5 -0
  16. data/app/helpers/geoblacklight_sidecar_images/application_helper.rb +4 -0
  17. data/app/jobs/geoblacklight_sidecar_images/application_job.rb +4 -0
  18. data/app/mailers/geoblacklight_sidecar_images/application_mailer.rb +6 -0
  19. data/app/models/geoblacklight_sidecar_images/application_record.rb +5 -0
  20. data/app/views/layouts/geoblacklight_sidecar_images/application.html.erb +14 -0
  21. data/config/routes.rb +2 -0
  22. data/db/migrate/20180118203155_create_solr_document_sidecars.rb +12 -0
  23. data/geoblacklight_sidecar_images.gemspec +37 -0
  24. data/lib/generators/geoblacklight_sidecar_images/assets_generator.rb +31 -0
  25. data/lib/generators/geoblacklight_sidecar_images/example_docs_generator.rb +18 -0
  26. data/lib/generators/geoblacklight_sidecar_images/install_generator.rb +58 -0
  27. data/lib/generators/geoblacklight_sidecar_images/jobs_generator.rb +27 -0
  28. data/lib/generators/geoblacklight_sidecar_images/models_generator.rb +60 -0
  29. data/lib/generators/geoblacklight_sidecar_images/services_generator.rb +19 -0
  30. data/lib/generators/geoblacklight_sidecar_images/templates/assets/images/thumbnail-image.png +0 -0
  31. data/lib/generators/geoblacklight_sidecar_images/templates/assets/images/thumbnail-line.png +0 -0
  32. data/lib/generators/geoblacklight_sidecar_images/templates/assets/images/thumbnail-mixed.png +0 -0
  33. data/lib/generators/geoblacklight_sidecar_images/templates/assets/images/thumbnail-multipoint.png +0 -0
  34. data/lib/generators/geoblacklight_sidecar_images/templates/assets/images/thumbnail-paper-map.png +0 -0
  35. data/lib/generators/geoblacklight_sidecar_images/templates/assets/images/thumbnail-point.png +0 -0
  36. data/lib/generators/geoblacklight_sidecar_images/templates/assets/images/thumbnail-polygon.png +0 -0
  37. data/lib/generators/geoblacklight_sidecar_images/templates/assets/images/thumbnail-raster.png +0 -0
  38. data/lib/generators/geoblacklight_sidecar_images/templates/assets/javascripts/geoblacklight.js +9 -0
  39. data/lib/generators/geoblacklight_sidecar_images/templates/assets/stylesheets/geoblacklight.scss +3 -0
  40. data/lib/generators/geoblacklight_sidecar_images/templates/jobs/store_image_job.rb +8 -0
  41. data/lib/generators/geoblacklight_sidecar_images/templates/models/concerns/wms_rewrite_concern.rb +20 -0
  42. data/lib/generators/geoblacklight_sidecar_images/templates/models/solr_document_sidecar.rb +16 -0
  43. data/lib/generators/geoblacklight_sidecar_images/templates/services/image_service.rb +193 -0
  44. data/lib/generators/geoblacklight_sidecar_images/templates/services/image_service/dynamic_map_layer.rb +11 -0
  45. data/lib/generators/geoblacklight_sidecar_images/templates/services/image_service/iiif.rb +13 -0
  46. data/lib/generators/geoblacklight_sidecar_images/templates/services/image_service/image_map_layer.rb +13 -0
  47. data/lib/generators/geoblacklight_sidecar_images/templates/services/image_service/tiled_map_layer.rb +11 -0
  48. data/lib/generators/geoblacklight_sidecar_images/templates/services/image_service/wms.rb +24 -0
  49. data/lib/generators/geoblacklight_sidecar_images/templates/uploaders/image_uploader.rb +53 -0
  50. data/lib/generators/geoblacklight_sidecar_images/templates/views/catalog/_index_split_default.html.erb +27 -0
  51. data/lib/generators/geoblacklight_sidecar_images/uploaders_generator.rb +19 -0
  52. data/lib/generators/geoblacklight_sidecar_images/views_generator.rb +21 -0
  53. data/lib/geoblacklight_sidecar_images.rb +5 -0
  54. data/lib/geoblacklight_sidecar_images/engine.rb +5 -0
  55. data/lib/geoblacklight_sidecar_images/version.rb +3 -0
  56. data/lib/tasks/geoblacklight_sidecar_images_tasks.rake +76 -0
  57. data/solr/conf/_rest_managed.json +3 -0
  58. data/solr/conf/admin-extra.html +31 -0
  59. data/solr/conf/elevate.xml +36 -0
  60. data/solr/conf/mapping-ISOLatin1Accent.txt +246 -0
  61. data/solr/conf/protwords.txt +21 -0
  62. data/solr/conf/schema.xml +190 -0
  63. data/solr/conf/scripts.conf +24 -0
  64. data/solr/conf/solrconfig.xml +243 -0
  65. data/solr/conf/spellings.txt +2 -0
  66. data/solr/conf/stopwords.txt +58 -0
  67. data/solr/conf/stopwords_en.txt +58 -0
  68. data/solr/conf/synonyms.txt +31 -0
  69. data/solr/conf/xslt/example.xsl +132 -0
  70. data/solr/conf/xslt/example_atom.xsl +67 -0
  71. data/solr/conf/xslt/example_rss.xsl +66 -0
  72. data/solr/conf/xslt/luke.xsl +337 -0
  73. data/spec/fixtures/files/actual-papermap1.json +23 -0
  74. data/spec/fixtures/files/actual-point1.json +24 -0
  75. data/spec/fixtures/files/actual-polygon1.json +23 -0
  76. data/spec/fixtures/files/actual-raster1.json +37 -0
  77. data/spec/fixtures/files/baruch_ancestor1.json +46 -0
  78. data/spec/fixtures/files/baruch_ancestor2.json +46 -0
  79. data/spec/fixtures/files/baruch_documentation_download.json +49 -0
  80. data/spec/fixtures/files/esri-dynamic-layer-all-layers.json +36 -0
  81. data/spec/fixtures/files/esri-dynamic-layer-single-layer.json +37 -0
  82. data/spec/fixtures/files/esri-feature-layer.json +33 -0
  83. data/spec/fixtures/files/esri-image-map-layer.json +21 -0
  84. data/spec/fixtures/files/esri-tiled_map_layer.json +22 -0
  85. data/spec/fixtures/files/esri-wms-layer.json +33 -0
  86. data/spec/fixtures/files/harvard_raster.json +44 -0
  87. data/spec/fixtures/files/no_spatial.json +21 -0
  88. data/spec/fixtures/files/public_direct_download.json +28 -0
  89. data/spec/fixtures/files/public_iiif_princeton.json +36 -0
  90. data/spec/fixtures/files/public_polygon_mit.json +39 -0
  91. data/spec/fixtures/files/restricted-line.json +36 -0
  92. data/spec/fixtures/files/umich_iiif_jpg.json +28 -0
  93. data/spec/fixtures/files/umn_iiif_jpg.json +30 -0
  94. data/spec/fixtures/files/umn_metro_result1.json +37 -0
  95. data/spec/fixtures/files/umn_metro_result2.json +35 -0
  96. data/spec/fixtures/files/umn_state_result1.json +31 -0
  97. data/spec/fixtures/files/umn_state_result2.json +36 -0
  98. data/spec/models/solr_document_sidecar_spec.rb +13 -0
  99. data/spec/models/solr_document_spec.rb +14 -0
  100. data/spec/rails_helper.rb +59 -0
  101. data/spec/services/image_service_spec.rb +31 -0
  102. data/spec/spec_helper.rb +5 -0
  103. data/spec/test_app_templates/lib/generators/test_app_generator.rb +33 -0
  104. data/template.rb +13 -0
  105. metadata +395 -0
@@ -0,0 +1,44 @@
1
+ {
2
+ "geoblacklight_version": "1.0",
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/DownloadAction\":\"http://pelham.lib.harvard.edu:8080/HGL/HGLOpenDelivery\",\"http://www.opengis.net/def/serviceType/ogc/wcs\":\"http://pelham.lib.harvard.edu:8090/geoserver/wcs\",\"http://www.opengis.net/def/serviceType/ogc/wms\":\"http://pelham.lib.harvard.edu:8090/geoserver/wms\",\"http://www.opengis.net/cat/csw/csdgm\":\"https://raw.githubusercontent.com/OpenGeoMetadata/edu.harvard/master/217/121/227/77/fgdc.xml\"}",
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
+ "layer_slug_s": "harvard-g7064-s2-1834-k3",
39
+ "layer_id_s": "cite:G7064_S2_1834_K3",
40
+ "layer_geom_type_s": "Raster",
41
+ "layer_modified_dt": "2014-05-27T18:09:36Z",
42
+ "solr_geom": "ENVELOPE(30.013108, 30.875309, 60.041712, 59.669749)",
43
+ "solr_year_i": 1834
44
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "dc_identifier_s": "c0515c4e-97dc-4fff-82cb-f65144482631",
3
+ "dc_title_s": "ASTER Global Emissivity Dataset 1-kilometer V003 - AG1KM",
4
+ "dc_rights_s": "Public",
5
+ "layer_geom_type_s": "dataset",
6
+ "dct_provenance_s": "U.S. Geological Survey, Department of the Interior",
7
+ "dc_description_s": "The Advanced Spaceborne Thermal Emission and Reflection radiometer Global Emissivity Database (ASTER GED) was developed by the National Aeronautics and Space Administration's (NASA) Jet Propulsion Laboratory (JPL), California Institute of Technology. The North America portion of this collection was formerly called the North American ASTER Land Surface Emissivity Database (NAALSED) - a seasonal dataset consisting of mean summer (J-A-S) and winter (J-F-M) products. ASTER GED products are output on 1degree x 1 degree grids at 100-meter or 1-kilometer spatial resolution (nominal) and include the mean emissivity and standard deviation for all 5 ASTER thermal infrared bands, mean land surface temperature (LST) and standard deviation, a re-sampled ASTER GDEM (not included in the North America Winter products), land-water mask, mean Normalized Difference Vegetation Index (NDVI) and standard deviation, latitude, longitude, and observation count. Additional ASTER GED product information is available at https://lpdaac.usgs.gov/products/community_products_table. Product tiles are available in HDF and binary format and may be downloaded via HTTP by visiting the following data clients: NASA Reverb (http://reverb.echo.nasa.gov), LP DAAC Data Pool (http://e4ftl01.cr.usgs.gov/ASTT/), or EarthExplorer (http://earthexplorer.usgs.gov).",
8
+ "layer_slug_s": "aster-global-emissivity-dataset-1-kilometer-v003-ag1kmcad20",
9
+ "dc_subject_sm": [
10
+ "imagery",
11
+ "land surface temperature",
12
+ "u.s. geological survey (usgs)",
13
+ "earth observing system",
14
+ "land processes distributed active archive center (lpdaac)",
15
+ "aster",
16
+ "normalized difference vegetation index",
17
+ "terra",
18
+ "image map",
19
+ "emissivity"
20
+ ]
21
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "geoblacklight_version": "1.0",
3
+ "dc_identifier_s": "http://purl.stanford.edu/cz128vq0535",
4
+ "dc_title_s": "2005 Rural Poverty GIS Database: Uganda",
5
+ "dc_description_s": "This polygon shapefile contains 2005 poverty data for 855 rural subcounties in Uganda. These data are intended for researchers, students, policy makers and the general public for reference and mapping purposes, and may be used for basic applications such as viewing, querying, and map output production.",
6
+ "dc_rights_s": "Public",
7
+ "dct_provenance_s": "Stanford",
8
+ "dct_references_s": "{\"http://schema.org/url\":\"http://purl.stanford.edu/cz128vq0535\",\"http://schema.org/downloadUrl\":\"http://stacks.stanford.edu/file/druid:cz128vq0535/data.zip\",\"http://www.loc.gov/mods/v3\":\"http://purl.stanford.edu/cz128vq0535.mods\",\"http://www.isotc211.org/schemas/2005/gmd/\":\"http://opengeometadata.stanford.edu/metadata/edu.stanford.purl/druid:cz128vq0535/iso19139.xml\",\"http://www.w3.org/1999/xhtml\":\"http://opengeometadata.stanford.edu/metadata/edu.stanford.purl/druid:cz128vq0535/default.html\",\"http://www.opengis.net/def/serviceType/ogc/wfs\":\"https://geowebservices.stanford.edu/geoserver/wfs\",\"http://www.opengis.net/def/serviceType/ogc/wms\":\"https://geowebservices.stanford.edu/geoserver/wms\"}",
9
+ "layer_id_s": "druid:cz128vq0535",
10
+ "layer_slug_s": "stanford-cz128vq0535",
11
+ "layer_geom_type_s": "Polygon",
12
+ "layer_modified_dt": "2015-04-16T23:02:57Z",
13
+ "dc_format_s": "Shapefile",
14
+ "dc_language_s": "English",
15
+ "dc_type_s": "Dataset",
16
+ "dc_publisher_s": "Uganda Bureau of Statistics",
17
+ "dc_creator_sm": "Uganda Bureau of Statistics",
18
+ "dc_subject_sm": [
19
+ "Poverty",
20
+ "Statistics"
21
+ ],
22
+ "dct_issued_s": "2005",
23
+ "dct_temporal_sm": "2005",
24
+ "dct_spatial_sm": "Uganda",
25
+ "solr_geom": "ENVELOPE(29.572742, 35.000308, 4.234077, -1.478794)",
26
+ "solr_year_i": 2005,
27
+ "stanford_rights_metadata_s": "<?xml version=\"1.0\"?>\n<rightsMetadata>\n <access type=\"discover\">\n <machine>\n <world/>\n </machine>\n </access>\n <access type=\"read\">\n <machine>\n <world/>\n </machine>\n </access>\n <use>\n <human type=\"useAndReproduction\">This item is in the public domain. There are no restrictions on use.</human>\n <human type=\"creativeCommons\"/>\n <machine type=\"creativeCommons\"/>\n </use>\n <copyright>\n <human>This work is in the Public Domain, meaning that it is not subject to copyright.</human>\n </copyright>\n</rightsMetadata>\n"
28
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "geoblacklight_version": "1.0",
3
+ "dc_description_s": "Partly colored. Relief shown pictorially. Shows administrative divisions. From Thomas Jefferys's The American atlas, or, A geographical description of the whole continent of America (London : Printed by R. Sayer and Bennett, 1778). Insets: A chart of the mouth of Hudson's River, from Sandy Hook to New York. A plan of the city of New York. Plan of Amboy, with its environs, from an actual survey.",
4
+ "dc_format_s": "Raster",
5
+ "dc_identifier_s": "http://arks.princeton.edu/ark:/88435/02870w62c",
6
+ "dc_language_s": "English",
7
+ "dc_publisher_s": "London, Robt. Sayer & John Bennett",
8
+ "dc_rights_s": "Public",
9
+ "dc_subject_sm": [
10
+ "New York (State)‒Maps",
11
+ "New Jersey‒Maps"
12
+ ],
13
+ "dc_title_s": "The provinces of New York and New Jersey, with part of Pensilvania, and the Province of Quebec : drawn by Major Holland, Surveyor General, of the Northern District in America. Corrected and improved, from the original materials, by Governr. Pownall, Member of Parliament, 1776",
14
+ "dc_type_s": "Dataset",
15
+ "dc_creator_sm": [
16
+ "Rogers, Henry Darwin",
17
+ "Pownall, Thomas"
18
+ ],
19
+ "dct_references_s": "{\"http://schema.org/url\":\"http://arks.princeton.edu/ark:/88435/02870w62c\",\"http://schema.org/thumbnailUrl\":\"https://libimages.princeton.edu/loris2/pudl0076%2Fmap_pownall%2F00000001.jp2/full/50,/0/default.jpg\",\"http://iiif.io/api/image\":\"https://libimages.princeton.edu/loris/pudl0076/map_pownall/00000001.jp2/info.json\"}",
20
+ "dct_spatial_sm": [
21
+ "New York (State)",
22
+ "New Jersey",
23
+ "Pennsylvania"
24
+ ],
25
+ "dct_temporal_sm": [
26
+ "1778"
27
+ ],
28
+ "dct_issued_s": "1778",
29
+ "dct_provenance_s": "Princeton",
30
+ "layer_slug_s": "princeton-02870w62c",
31
+ "layer_id_s": "02870w62c",
32
+ "layer_geom_type_s": "Raster",
33
+ "layer_modified_dt": "2014-10-09T18:00:18Z",
34
+ "solr_geom": "ENVELOPE(-76.3394, -72.1916, 46.5798, 38.6693)",
35
+ "solr_year_i": 1778
36
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "geoblacklight_version": "1.0",
3
+ "dc_format_s": "Shapefile",
4
+ "dc_identifier_s": "urn:arrowsmith.mit.edu:MIT.SDE_DATA.US_MA_E25ZCTA5DCT_2000",
5
+ "dc_language_s": "English",
6
+ "dc_publisher_s": "U.S. Census Bureau",
7
+ "dc_rights_s": "Public",
8
+ "dc_subject_sm": [
9
+ "polygon",
10
+ "Zip",
11
+ "Code",
12
+ "Tabulation",
13
+ "Areas",
14
+ "demographics",
15
+ "population",
16
+ "census",
17
+ "boundaries",
18
+ "ZCTAs",
19
+ "zip",
20
+ "codes"
21
+ ],
22
+ "dc_title_s": "Massachusetts (ZCTA - 5 digit zip code tabulation area, 2000)",
23
+ "dc_type_s": "Dataset",
24
+ "dct_references_s": "{\"http://www.opengis.net/def/serviceType/ogc/wfs\":\"http://arrowsmith.mit.edu:8080/geoserver/wfs\",\"http://www.opengis.net/def/serviceType/ogc/wms\":\"http://arrowsmith.mit.edu:8080/geoserver/wms\"}",
25
+ "dct_spatial_sm": [
26
+ "Massachusetts MA USA"
27
+ ],
28
+ "dct_temporal_sm": [
29
+ "2000"
30
+ ],
31
+ "dct_issued_s": "2000",
32
+ "dct_provenance_s": "MIT",
33
+ "layer_slug_s": "mit-us-ma-e25zcta5dct-2000",
34
+ "layer_id_s": "sde:SDE_DATA.US_MA_E25ZCTA5DCT_2000",
35
+ "layer_geom_type_s": "Polygon",
36
+ "layer_modified_dt": "2014-05-27T18:09:34Z",
37
+ "solr_geom": "ENVELOPE(-73.533237, -69.898565, 42.888068, 41.230345)",
38
+ "solr_year_i": 2000
39
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "geoblacklight_version": "1.0",
3
+ "dc_identifier_s": "http://purl.stanford.edu/cg357zz0321",
4
+ "dc_title_s": "10 Meter Countours: Russian River Basin, California",
5
+ "dc_description_s": "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.",
6
+ "dc_rights_s": "Restricted",
7
+ "dct_provenance_s": "Stanford",
8
+ "dct_references_s": "{\"http://schema.org/url\":\"http://purl.stanford.edu/cg357zz0321\",\"http://schema.org/downloadUrl\":\"http://stacks.stanford.edu/file/druid:cg357zz0321/data.zip\",\"http://www.loc.gov/mods/v3\":\"http://purl.stanford.edu/cg357zz0321.mods\",\"http://www.isotc211.org/schemas/2005/gmd/\":\"https://raw.githubusercontent.com/OpenGeoMetadata/edu.stanford.purl/master/cg/357/zz/0321/iso19139.xml\",\"http://www.w3.org/1999/xhtml\":\"http://opengeometadata.stanford.edu/metadata/edu.stanford.purl/druid:cg357zz0321/default.html\",\"http://www.opengis.net/def/serviceType/ogc/wfs\":\"http://geowebservices-restricted.stanford.edu/geoserver/wfs\",\"http://www.opengis.net/def/serviceType/ogc/wms\":\"http://geowebservices-restricted.stanford.edu/geoserver/wms\"}",
9
+ "layer_id_s": "druid:cg357zz0321",
10
+ "layer_slug_s": "stanford-cg357zz0321",
11
+ "layer_geom_type_s": "Line",
12
+ "layer_modified_dt": "2014-12-03T01:20:46Z",
13
+ "dc_format_s": "Shapefile",
14
+ "dc_language_s": "English",
15
+ "dc_type_s": "Dataset",
16
+ "dc_publisher_s": "Circuit Rider Productions",
17
+ "dc_creator_sm": [
18
+ "United States. National Oceanic and Atmospheric Administration",
19
+ "Circuit Rider Productions"
20
+ ],
21
+ "dc_subject_sm": [
22
+ "Contours (Cartography)",
23
+ "Elevation",
24
+ "Inland Waters"
25
+ ],
26
+ "dct_issued_s": "2003",
27
+ "dct_temporal_sm": [
28
+ "2002"
29
+ ],
30
+ "dct_spatial_sm": [
31
+ "Sonoma County (Calif.)",
32
+ "Mendocino County (Calif.)"
33
+ ],
34
+ "solr_geom": "ENVELOPE(-123.387366, -122.52958, 39.398403, 38.302994)",
35
+ "solr_year_i": 2002
36
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "dc_description_s":"Relief shown pictorially. Dedication in title cartouche to [Henry Bowes Howard,] Earl of Berkshire, deputy earl marshal of England. Shows California as an island. Includes elaborate decorative cartouche in the upper left corner. The cartouche depicts scenes of Native American life, such as battle and food as well. 1 map : outline col. ; 47 x 55 cm. This map is in the public domain. Please attribute access and use of this digitized map to the Stephen S. Clark Library, University of Michigan Library.",
3
+ "layer_modified_dt":"2017-12-11T16:28:21Z",
4
+ "solr_geom":"ENVELOPE(-179.27, -1.42, 68.65, -60.15)",
5
+ "dct_references_s":"{\"http://schema.org/url\":\"https://quod.lib.umich.edu/c/clark1ic/x-012464989/39015095390558\",\"http://schema.org/downloadUrl\":\"https://quod.lib.umich.edu/cgi/i/image/api/image/clark1ic:012464989:39015095390558/full/res:5/0/native.jpg?attachment=1\",\"http://iiif.io/api/image\":\"https://quod.lib.umich.edu/cgi/i/image/api/image/clark1ic:012464989:39015095390558/info.json\"}",
6
+ "dc_rights_s":"Public",
7
+ "uuid":"3ffb1f2e-d617-4361-bc2b-49d9ad270cad",
8
+ "dct_provenance_s":"Michigan",
9
+ "dct_temporal_sm":["ca. 1719"],
10
+ "dc_format_s":"JPEG",
11
+ "dc_creator_sm":["Senex, John, -1740.",
12
+ "Harris, John, fl. ca.1685-ca. 1720 engraver.",
13
+ "Senex, John, -1740. A new general atlas.",
14
+ "Dahl, James, former owner."],
15
+ "thumbnail_path_ss":"https://quod.lib.umich.edu/cgi/i/image/api/image/clark1ic:012464989:39015095390558/full/res:5/0/native.jpg?attachment=1",
16
+ "dc_type_s":"Image",
17
+ "dc_identifier_s":"umich-iiif-jpg-3ffb1f2e-d617-4361-bc2b-49d9ad270cad",
18
+ "dc_relation_sm":["http://sws.geonames.org/10861432"],
19
+ "dct_isPartOf_sm":["Clark Library Map Collections"],
20
+ "solr_year_i":1719,
21
+ "dct_spatial_sm":["Americas"],
22
+ "dc_publisher_sm":["London : s.n."],
23
+ "dc_title_s":"A new map of America from the latest observations / revis'd by I. Senex.",
24
+ "layer_slug_s":"3ffb1f2e-d617-4361-bc2b-49d9ad270cad",
25
+ "centroid_s":"4.25,-90.345",
26
+ "layer_geom_type_s":"Paper Map",
27
+ "dc_language_s":"eng"
28
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "dc_description_s":"Cartographic Details: Scale approximately 1:1,341,000. 90 British Miles 69 1/2 to a Degree = 10.8 cm. Third edition. 56 x 83 cm",
3
+ "layer_modified_dt":"2017-12-11T12:01:50Z",
4
+ "solr_geom":"ENVELOPE(-93.2601, -93.2301, 44.98, 44.96)",
5
+ "dct_references_s":"{\"http://schema.org/url\":\"http://purl.umn.edu/204328\",\"http://schema.org/downloadUrl\":\"https://umedia.lib.umn.edu/sites/default/files/archive/84/image/tiff/1062058.tif\",\"http://iiif.io/api/image\":\"https://umedia.lib.umn.edu/fcgi-bin/iipsrv.fcgi?IIIF=sites/default/files/reference/84/image/jp2/1062058.jp2/info.json\"}",
6
+ "dc_rights_s":"Public",
7
+ "uuid":"83f4648a-125c-4000-a12f-aba2b432e7cd",
8
+ "dct_provenance_s":"Minnesota",
9
+ "dc_subject_sm":["Aerial views",
10
+ "Bird's-eye views"],
11
+ "dct_temporal_sm":["1891"],
12
+ "dct_issued_s":"1891",
13
+ "dc_format_s":"TIFF",
14
+ "dc_creator_sm":["Pezolt, F."],
15
+ "thumbnail_path_ss":"https://umedia.lib.umn.edu/sites/default/files/imagecache/square300/reference/84/image/jpeg/1062058.jpg",
16
+ "dc_type_s":"Image",
17
+ "dc_identifier_s":"minnesota-iiif-jpg-83f4648a-125c-4000-a12f-aba2b432e7cd",
18
+ "dc_relation_sm":["http://sws.geonames.org/5037649",
19
+ "http://sws.geonames.org/5037779"],
20
+ "dct_isPartOf_sm":["John R. Borchert Map Library"],
21
+ "solr_year_i":1891,
22
+ "dct_spatial_sm":["Minneapolis, Minnesota, United States",
23
+ "Minnesota, United States"],
24
+ "dc_publisher_sm":["A.M. Smith"],
25
+ "dc_title_s":"Bird's eye view of Minneapolis, Minn",
26
+ "layer_slug_s":"83f4648a-125c-4000-a12f-aba2b432e7cd",
27
+ "centroid_s":"44.97,-93.2451",
28
+ "layer_geom_type_s":"Paper Map",
29
+ "dc_language_s":"English"
30
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "geoblacklight_version": "1.0",
3
+ "layer_geom_type_s": "Mixed",
4
+ "layer_modified_dt": "2017-01-20T18:38:47Z",
5
+ "solr_geom": "ENVELOPE(-94.012, -92.732, 45.415, 44.471)",
6
+ "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\",\"http://schema.org/url\":\"https://gisdata.mn.gov/dataset/us-mn-state-metc-plan-frmwrk2030dev-plan-ar2011\",\"http://www.isotc211.org/schemas/2005/gmd/\":\"https://opengeometadata.github.io/edu.umn/4a/d4/13/49035c4bd391a777b99afbf550/iso19139.xml\"}",
7
+ "dc_rights_s": "Public",
8
+ "dct_provenance_s": "Minnesota",
9
+ "dc_subject_sm": [
10
+ "Planning and Cadastral",
11
+ "Urban planning and development"
12
+ ],
13
+ "dc_format_s": "Shapefile",
14
+ "dc_description_s": "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.",
15
+ "dct_issued_s": "2014-05-23",
16
+ "dct_temporal_sm": [
17
+ "2011"
18
+ ],
19
+ "dc_creator_sm": [
20
+ "Metropolitan Council"
21
+ ],
22
+ "dc_identifier_s": "4ad41349-035c-4bd3-91a7-77b99afbf550",
23
+ "solr_year_i": 2011,
24
+ "dct_spatial_sm": [
25
+ "Minnesota, United States",
26
+ "Minneapolis-St. Paul-Bloomington, United States"
27
+ ],
28
+ "dc_publisher_sm": [
29
+ "Metropolitan Council"
30
+ ],
31
+ "layer_id_s": "4ad41349-035c-4bd3-91a7-77b99afbf550",
32
+ "dc_title_s": "2030 Regional Development Framework Planning Areas: Twin Cities Metro, Minnesota, 2011",
33
+ "layer_slug_s": "4ad41349-035c-4bd3-91a7-77b99afbf550",
34
+ "dct_isPartOf_sm": [
35
+ "Minnesota Geospatial Commons"
36
+ ]
37
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "layer_geom_type_s": "Mixed",
3
+ "layer_modified_dt": "2017-01-20T18:39:22Z",
4
+ "solr_geom": "ENVELOPE(-94.012, -92.732, 45.415, 44.471)",
5
+ "dct_references_s": "{\"http://schema.org/downloadUrl\":\"ftp://ftp.gisdata.mn.gov/pub/gdrs/data/pub/us_mn_state_metc/society_census_trt_comb1990_2000/shp_society_census_trt_comb1990_2000.zip\",\"http://schema.org/url\":\"https://gisdata.mn.gov/dataset/us-mn-state-metc-society-census-trt-comb1990-2000\",\"http://www.isotc211.org/schemas/2005/gmd/\":\"https://opengeometadata.github.io/edu.umn/e9/71/49/88c3074135b7a7a1d521949f5d/iso19139.xml\"}",
6
+ "dc_rights_s": "Public",
7
+ "dct_provenance_s": "Minnesota",
8
+ "dc_subject_sm": [
9
+ "Society"
10
+ ],
11
+ "dc_format_s": "Shapefile",
12
+ "dc_description_s": "This dataset consists of a correspondence table and shape file of the combined 1990 and 2000 Census tracts. Note: Census tracts from 1990 and 2000 do not match in all areas. This dataset is an attempt to match them. Some combining and splitting of tracts was necessary. See the Lineage in Section 2 of the metadata for more information.",
13
+ "dct_issued_s": "2003-01-27",
14
+ "dct_temporal_sm": [
15
+ "1990-2000"
16
+ ],
17
+ "dc_creator_sm": [
18
+ "Metropolitan Council"
19
+ ],
20
+ "dc_identifier_s": "e9714988-c307-4135-b7a7-a1d521949f5d",
21
+ "solr_year_i": 1990,
22
+ "dct_spatial_sm": [
23
+ "Minnesota, United States",
24
+ "Minneapolis-St. Paul-Bloomington, United States"
25
+ ],
26
+ "dc_publisher_sm": [
27
+ "Metropolitan Council"
28
+ ],
29
+ "layer_id_s": "e9714988-c307-4135-b7a7-a1d521949f5d",
30
+ "dc_title_s": "1990 to 2000 Census Tract Correspondence and Combined Tracts: Twin Cities Metro, Minnesota, 2003",
31
+ "layer_slug_s": "e9714988-c307-4135-b7a7-a1d521949f5d",
32
+ "dct_isPartOf_sm": [
33
+ "Minnesota Geospatial Commons"
34
+ ]
35
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "layer_geom_type_s": "Mixed",
3
+ "layer_modified_dt": "2017-01-20T18:38:45Z",
4
+ "solr_geom": "ENVELOPE(-97.612501, -88.842351, 49.464145, 42.906949)",
5
+ "dct_references_s": "{\"http://schema.org/downloadUrl\":\"ftp://gdrs.dnr.state.mn.us/gdrs/data/pub/us_mn_state_dnr/tif_base_usgs_scanned_topo_100k_drg.zip\",\"http://schema.org/url\":\"https://gisdata.mn.gov/dataset/base-usgs-scanned-topo-100k-drg\",\"http://www.isotc211.org/schemas/2005/gmd/\":\"https://opengeometadata.github.io/edu.umn/08/32/9e/9637794cea9fa85d9939b6276f/iso19139.xml\"}",
6
+ "dc_rights_s": "Public",
7
+ "dct_provenance_s": "Minnesota",
8
+ "dc_subject_sm": [
9
+ "Imagery and Base Maps"
10
+ ],
11
+ "dc_format_s": "GeoTIFF",
12
+ "dc_description_s": "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
+ "dct_issued_s": "2010-04-22T06:00:00.000ZZ",
14
+ "dc_creator_sm": [
15
+ "U.S. Geological Survey (USGS) and Minnesota Department of Natural Resources (DNR)"
16
+ ],
17
+ "dc_identifier_s": "08329e96-3779-4cea-9fa8-5d9939b6276f",
18
+ "dct_isPartOf_sm": [
19
+ "Minnesota Geospatial Commons"
20
+ ],
21
+ "solr_year_i": 2010,
22
+ "dct_spatial_sm": [
23
+ "Minnesota, United States"
24
+ ],
25
+ "dc_publisher_sm": [
26
+ "Minnesota Department of Natural Resources"
27
+ ],
28
+ "layer_id_s": "08329e96-3779-4cea-9fa8-5d9939b6276f",
29
+ "dc_title_s": "1:100k Digital Raster Graphic, Collars Removed: Minnesota, 2010",
30
+ "layer_slug_s": "08329e96-3779-4cea-9fa8-5d9939b6276f"
31
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "layer_geom_type_s": "Mixed",
3
+ "layer_modified_dt": "2017-01-20T18:40:36Z",
4
+ "solr_geom": "ENVELOPE(-97.991522, -87.177541, 49.892443, 42.891013)",
5
+ "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/base-usgs-scanned-topo-250k-drg\",\"http://www.isotc211.org/schemas/2005/gmd/\":\"https://opengeometadata.github.io/edu.umn/18/63/6f/2f3d0a470e82bf26f9ceb4ea43/iso19139.xml\"}",
6
+ "dc_rights_s": "Public",
7
+ "dct_provenance_s": "Minnesota",
8
+ "dc_subject_sm": [
9
+ "Imagery and Base Maps",
10
+ "Imagerybasemapsearthcover",
11
+ "Drg"
12
+ ],
13
+ "dc_format_s": "GeoTIFF",
14
+ "dc_description_s": "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.",
15
+ "dct_issued_s": "1998-01-01",
16
+ "dct_temporal_sm": [
17
+ "1998"
18
+ ],
19
+ "dc_creator_sm": [
20
+ "U.S. Geological Survey and Minnesota DNR"
21
+ ],
22
+ "dc_identifier_s": "18636f2f-3d0a-470e-82bf-26f9ceb4ea43",
23
+ "solr_year_i": 1998,
24
+ "dct_spatial_sm": [
25
+ "Minnesota, United States"
26
+ ],
27
+ "dc_publisher_sm": [
28
+ "Minnesota Department of Natural Resources"
29
+ ],
30
+ "layer_id_s": "18636f2f-3d0a-470e-82bf-26f9ceb4ea43",
31
+ "dc_title_s": "1:250k Digital Raster Graphic, Collars Removed: Minnesota, 1998",
32
+ "layer_slug_s": "18636f2f-3d0a-470e-82bf-26f9ceb4ea43",
33
+ "dct_isPartOf_sm": [
34
+ "Minnesota Geospatial Commons"
35
+ ]
36
+ }
@@ -0,0 +1,13 @@
1
+ require 'rails_helper'
2
+
3
+ describe SolrDocumentSidecar do
4
+ let(:document) { SolrDocument.new(document_attributes) }
5
+
6
+ describe '#sidecar' do
7
+ let(:document_attributes) { json_data('umn_iiif_jpg') }
8
+
9
+ it 'responds to image method' do
10
+ expect(document.sidecar).to respond_to :image
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,14 @@
1
+ require 'rails_helper'
2
+
3
+ describe Geoblacklight::SolrDocument do
4
+ let(:document) { SolrDocument.new(document_attributes) }
5
+
6
+ describe '#sidecar' do
7
+ let(:document_attributes) { json_data('umn_iiif_jpg') }
8
+
9
+ it 'responds to sidecar method' do
10
+ expect(document).to respond_to :sidecar
11
+ expect(document.sidecar).to be_kind_of SolrDocumentSidecar
12
+ end
13
+ end
14
+ end