geoblacklight 1.5.1 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +7 -3
  3. data/app/assets/javascripts/geoblacklight/geoblacklight.js +1 -1
  4. data/app/assets/javascripts/geoblacklight/modules/metadata.js +7 -0
  5. data/app/assets/javascripts/geoblacklight/modules/metadata_download_button.js +58 -0
  6. data/app/assets/javascripts/geoblacklight/modules/results.js +10 -15
  7. data/app/assets/stylesheets/geoblacklight/_geoblacklight.scss +3 -2
  8. data/app/assets/stylesheets/geoblacklight/modules/metadata.scss +27 -3
  9. data/app/assets/stylesheets/geoblacklight/modules/metadata_content.scss +38 -0
  10. data/app/assets/stylesheets/geoblacklight/modules/metadata_markup.scss +9 -0
  11. data/app/assets/stylesheets/geoblacklight/modules/metadata_missing.scss +7 -0
  12. data/app/helpers/geoblacklight_helper.rb +24 -0
  13. data/app/presenters/geoblacklight/document_presenter.rb +2 -1
  14. data/app/views/catalog/_metadata.html.erb +21 -6
  15. data/app/views/catalog/metadata/_content.html.erb +3 -0
  16. data/app/views/catalog/metadata/_markup.html.erb +8 -0
  17. data/app/views/catalog/metadata/_missing.html.erb +6 -0
  18. data/app/views/catalog/metadata.js.erb +8 -4
  19. data/config/locales/geoblacklight.en.yml +1 -0
  20. data/geoblacklight.gemspec +4 -1
  21. data/lib/generators/geoblacklight/templates/settings.yml +2 -2
  22. data/lib/geoblacklight/engine.rb +2 -1
  23. data/lib/geoblacklight/metadata/base.rb +88 -0
  24. data/lib/geoblacklight/metadata/fgdc.rb +14 -0
  25. data/lib/geoblacklight/metadata/iso19139.rb +14 -0
  26. data/lib/geoblacklight/metadata.rb +12 -31
  27. data/lib/geoblacklight/metadata_transformer/base.rb +49 -0
  28. data/lib/geoblacklight/metadata_transformer/fgdc.rb +16 -0
  29. data/lib/geoblacklight/metadata_transformer/iso19139.rb +16 -0
  30. data/lib/geoblacklight/metadata_transformer.rb +33 -0
  31. data/lib/geoblacklight/references.rb +14 -0
  32. data/lib/geoblacklight/version.rb +1 -1
  33. data/lib/geoblacklight/view_helper_override.rb +3 -2
  34. data/lib/geoblacklight.rb +7 -0
  35. data/spec/features/download_layer_spec.rb +5 -2
  36. data/spec/features/layer_inspection_spec.rb +1 -1
  37. data/spec/features/metadata_panel_spec.rb +15 -4
  38. data/spec/features/saved_searches_spec.rb +1 -1
  39. data/spec/features/split_view.html.erb_spec.rb +2 -2
  40. data/spec/fixtures/solr_documents/harvard_raster.json +2 -2
  41. data/spec/fixtures/solr_documents/public_iiif_princeton.json +1 -1
  42. data/spec/helpers/{geoblacklight_helpers_spec.rb → geoblacklight_helper_spec.rb} +54 -0
  43. data/spec/javascripts/geoblacklight_spec.js +4 -0
  44. data/spec/javascripts/metadata_download_button_spec.js +14 -0
  45. data/spec/lib/geoblacklight/metadata/base_spec.rb +85 -0
  46. data/spec/lib/geoblacklight/metadata_spec.rb +26 -18
  47. data/spec/lib/geoblacklight/metadata_transformer/base_spec.rb +35 -0
  48. data/spec/lib/geoblacklight/metadata_transformer/fgdc_spec.rb +23 -0
  49. data/spec/lib/geoblacklight/metadata_transformer/iso19139_spec.rb +23 -0
  50. data/spec/lib/geoblacklight/metadata_transformer_spec.rb +69 -0
  51. data/spec/lib/geoblacklight/references_spec.rb +12 -1
  52. data/spec/lib/geoblacklight/view_helper_override_spec.rb +1 -0
  53. data/spec/spec_helper.rb +11 -8
  54. data/spec/test_app_templates/lib/generators/test_app_generator.rb +2 -0
  55. data/spec/test_app_templates/metadata/fgdc.html +129 -0
  56. data/spec/test_app_templates/metadata/fgdc.xml +145 -0
  57. data/spec/test_app_templates/metadata/iso.html +275 -0
  58. data/spec/test_app_templates/metadata/iso.xml +511 -0
  59. data/spec/test_app_templates/solr_documents +1 -1
  60. metadata +83 -7
  61. data/app/assets/stylesheets/geoblacklight/modules/coderay.scss +0 -147
@@ -0,0 +1,275 @@
1
+ <html>
2
+ <head>
3
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4
+ <title>
5
+ Abandoned Mine Land Inventory Polygons: Pennsylvania, 2016
6
+ </title>
7
+ </head>
8
+ <body>
9
+ <h1>
10
+ Abandoned Mine Land Inventory Polygons: Pennsylvania, 2016
11
+ </h1>
12
+ <ul>
13
+ <li><a href="#iso-identification-info">Identification Information</a></li>
14
+ <li><a href="#iso-data-quality-info">Data Quality Information</a></li>
15
+ <li><a href="#iso-distribution-info">Distribution Information</a></li>
16
+ <li><a href="#iso-spatial-representation-info">Spatial Representation Information</a></li>
17
+ <li><a href="#iso-metadata-reference-info">Metadata Reference Information</a></li>
18
+ </ul>
19
+ <div id="iso-identification-info"><dl>
20
+ <dt>Identification Information</dt>
21
+ <dd><dl>
22
+ <dt>Citation</dt>
23
+ <dd><dl>
24
+ <dt>Title</dt>
25
+ <dd>
26
+ Abandoned Mine Land Inventory Polygons: Pennsylvania, 2016
27
+ </dd>
28
+ <dt>Originator</dt>
29
+ <dd>
30
+ Pennsylvania Department of Environmental Protection
31
+ </dd>
32
+ <dt>Publisher</dt>
33
+ <dd>
34
+ Pennsylvania Department of Environmental Protection
35
+ </dd>
36
+ <dt>Publication Date</dt>
37
+ <dd>
38
+ 2016-04-01
39
+ </dd>
40
+ <dt>Identifier</dt>
41
+ <dd>
42
+ urn-00c157ae-7ff4-4b4f-ba14-f3d999f9af0d
43
+ </dd>
44
+ <dt>Geospatial Data Presentation Form</dt>
45
+ <dd>mapDigital</dd>
46
+ <dt>Collection Title</dt>
47
+ <dd>
48
+ Pennsylvania Spatial Data Access (PASDA)
49
+ </dd>
50
+ <dt>Other Citation Details</dt>
51
+ <dd>
52
+ Mixed
53
+ </dd>
54
+ </dl></dd>
55
+ <dt>Abstract</dt>
56
+ <dd>
57
+ This data set portrays the approximate location of Abandoned Mine Land Problem Areas containing public health, safety, and public welfare problems created by past coal mining. It is a subset of data contained in the Office of Surface Mining (OSM) Abandoned Mine Land Inventory. This layer identifies AML Polygons representing specific areas to large to be represented by points within the entire, AML Inventory Site, examples include AML dangerous highwalls.
58
+ </dd>
59
+ <dt>Purpose</dt>
60
+ <dd>
61
+ This data set provides information needed to implement Title IV Abandoned Mine Reclamation, of the Surface Mining Control and Reclamation Act (SMCRA) of 1977. One of the major uses of this data set is for the reporting of annual Abandoned Mine Land Program accomplishments to Congress. In addition, the data is used in the National Atlas of the United States for geographic display and analysis at the national level, and for large regional areas.
62
+ </dd>
63
+ <dt>Temporal Extent</dt>
64
+ <dd><dl>
65
+ <dt>Currentness Reference</dt>
66
+ <dd>
67
+ publication date
68
+ </dd>
69
+ <dt>Time Period</dt>
70
+ <dd><dl>
71
+ <dt>Begin</dt>
72
+ <dd>2016</dd>
73
+ <dt>End</dt>
74
+ <dd>2016</dd>
75
+ </dl></dd>
76
+ </dl></dd>
77
+ <dt>Bounding Box</dt>
78
+ <dd><dl>
79
+ <dt>West</dt>
80
+ <dd>
81
+ -80.581888
82
+ </dd>
83
+ <dt>East</dt>
84
+ <dd>
85
+ -75.435593
86
+ </dd>
87
+ <dt>North</dt>
88
+ <dd>
89
+ 41.914002
90
+ </dd>
91
+ <dt>South</dt>
92
+ <dd>
93
+ 39.699659
94
+ </dd>
95
+ </dl></dd>
96
+ <dt>ISO Topic Category</dt>
97
+ <dd>economy</dd>
98
+ <dd>health</dd>
99
+ <dt>Place Keyword</dt>
100
+ <dd>
101
+ Pennsylvania, United States
102
+ <dl>
103
+ <dt>Place Keyword Thesaurus</dt>
104
+ <dd></dd>
105
+ </dl>
106
+ </dd>
107
+ <dt>Theme Keyword</dt>
108
+ <dd>
109
+ Coal
110
+ </dd>
111
+ <dd>
112
+ Mining
113
+ <dl>
114
+ <dt>Theme Keyword Thesaurus</dt>
115
+ <dd></dd>
116
+ </dl>
117
+ </dd>
118
+ <dt>Resource Constraints</dt>
119
+ <dd><dl>
120
+ <dt>Use Limitation</dt>
121
+ <dd>
122
+ Commonwealth of Pennsylvania, Department of Environmental Protection Disclaimer for Data The user shall save the Commonwealth harmless from any suits, claims, or actions arising out of the use of the data files or accompanying documentation, or arising out of any defects in the datafiles or accompanying documentation. The Commonwealth excludes any and all implied warranties and makes no warranty or representation with respect to the data files or accompanying documentation, including quality, performance, merchantability, or fits for a particular purpose. These data files and documentation are provided "as is" and the user assumes the entire risk as to their quality and performance.
123
+ </dd>
124
+ </dl></dd>
125
+ <dt>Legal Constraints</dt>
126
+ <dd><dl>
127
+ <dt>Use Limitation</dt>
128
+ <dd>
129
+ The USER shall indemnify, save harmless, and, if requested, defend those parties involved with the development and distribution of this data, their officers, agents, and employees from and against any suits, claims, or actions for injury, death, or property damage arising out of the use of or any defect in the FILES or any accompanying documentation. Those parties involved with the development and distribution excluded any and all implied warranties, including warranties or merchantability and fitness for a particular purpose and makes no warranty or representation, either express or implied, with respect to the FILES or accompanying documentation, including its quality, performance, merchantability, or fitness for a particular purpose. The FILES and documentation are provided "as is" and the USER assumes the entire risk as to its quality and performance. Those parties involved with the development and distribution of this data will not be liable for any direct, indirect, special, incidental, or consequential damages arising out of the use or inability to use the FILES or any accompanying documentation.
130
+ </dd>
131
+ </dl></dd>
132
+ <dt>Security Constraints</dt>
133
+ <dd><dl></dl></dd>
134
+ <dt>Status</dt>
135
+ <dd>completed</dd>
136
+ <dt>Maintenance and Update Frequency</dt>
137
+ <dd>continual</dd>
138
+ <dt>Collection</dt>
139
+ <dd><dl>
140
+ <dt>Collection Title</dt>
141
+ <dd></dd>
142
+ <dt>URL</dt>
143
+ <dd></dd>
144
+ </dl></dd>
145
+ <dt>Language</dt>
146
+ <dd>
147
+
148
+ </dd>
149
+ <dt>Credit</dt>
150
+ <dd>
151
+ Department of Environmental Protection
152
+ </dd>
153
+ <dt>Point of Contact</dt>
154
+ <dd><dl>
155
+ <dt>Contact</dt>
156
+ <dd>
157
+ PA DEP, Geospatial Data Center
158
+ </dd>
159
+ <dt>Email</dt>
160
+ <dd>
161
+ ra-epgeospatialdatacenter@state.pa.us
162
+ </dd>
163
+ </dl></dd>
164
+ </dl></dd>
165
+ </dl></div>
166
+ <div id="iso-data-quality-info">
167
+ <dt>Data Quality Information</dt>
168
+ <dd><dl>
169
+ <dt>Lineage</dt>
170
+ <dd><dl>
171
+ <dt>Process Step</dt>
172
+ <dd><dl>
173
+ <dt>Description</dt>
174
+ <dd>
175
+ Presently data is collected partly via hand drawn maps that are then converted to a digital format or the data is received from field offices in a shapefile format.
176
+ </dd>
177
+ </dl></dd>
178
+ </dl></dd>
179
+ </dl></dd>
180
+ </div>
181
+ <div id="iso-distribution-info">
182
+ <dt>Distribution Information</dt>
183
+ <dd><dl>
184
+ <dt>Distributor</dt>
185
+ <dd>
186
+ PA DEP, Bureau of Abandoned Mine Reclamation
187
+ </dd>
188
+ <dt>Distributor</dt>
189
+ <dd>
190
+ Pennsylvania Spatial Data Access (PASDA)
191
+ </dd>
192
+ <dt>Online Access</dt>
193
+ <dd>http://www.pasda.psu.edu/uci/DataSummary.aspx?dataset=459</dd>
194
+ <dt>Protocol</dt>
195
+ <dd>
196
+ WWW:LINK
197
+ </dd>
198
+ <dt>Name</dt>
199
+ <dd></dd>
200
+ </dl></dd>
201
+ </div>
202
+ <div id="iso-spatial-representation-info">
203
+ <dt>Spatial Representation Information</dt>
204
+ <dd><dl>
205
+ <dt>Vector</dt>
206
+ <dd><dl>
207
+ <dt>Topology Level</dt>
208
+ <dd></dd>
209
+ <dt>Vector Object Type</dt>
210
+ <dd></dd>
211
+ <dt>Vector Object Count</dt>
212
+ <dd>
213
+ 21441
214
+ </dd>
215
+ </dl></dd>
216
+ </dl></dd>
217
+ </div>
218
+ <div id="iso-metadata-reference-info"><dl>
219
+ <dt>Metadata Reference Information</dt>
220
+ <dd><dl>
221
+ <dt>Hierarchy Level</dt>
222
+ <dd>
223
+ dataset
224
+ </dd>
225
+ <dt>Metadata File Identifier</dt>
226
+ <dd>
227
+ 00c157ae-7ff4-4b4f-ba14-f3d999f9af0d
228
+ </dd>
229
+ <dt>Dataset URI</dt>
230
+ <dd>
231
+ AMLInventoryPolys2016_04
232
+ </dd>
233
+ <dt>Metadata Point of Contact</dt>
234
+ <dd><dl>
235
+ <dt>Name</dt>
236
+ <dd>
237
+ Pennsylvania State University Libraries
238
+ </dd>
239
+ <dt>Delivery Point</dt>
240
+ <dd>
241
+ Donald W. Hamer Maps and Geospatial Information Center, 1 Central Pattee. The Pennsylvania State University
242
+ </dd>
243
+ <dt>City</dt>
244
+ <dd>
245
+ University Park
246
+ </dd>
247
+ <dt>Administrative Area</dt>
248
+ <dd>
249
+ PA
250
+ </dd>
251
+ <dt>Postal Code</dt>
252
+ <dd>
253
+ 16802
254
+ </dd>
255
+ <dt>Email</dt>
256
+ <dd>
257
+ UL-Maps@lists.psu.edu
258
+ </dd>
259
+ </dl></dd>
260
+ <dt>Metadata Date Stamp</dt>
261
+ <dd>
262
+ 2016-09-02T15:11:03
263
+ </dd>
264
+ <dt>Metadata Standard Name</dt>
265
+ <dd>
266
+ ISO 19139 Geographic Information - Metadata - Implementation Specification
267
+ </dd>
268
+ <dt>Metadata Standard Version</dt>
269
+ <dd>
270
+ 2007
271
+ </dd>
272
+ </dl></dd>
273
+ </dl></div>
274
+ </body>
275
+ </html>