geoblacklight 3.2.0 → 4.0.0.pre.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +148 -0
- data/.gitignore +8 -0
- data/.rubocop.yml +14 -10
- data/.rubocop_todo.yml +361 -26
- data/README.md +3 -3
- data/Rakefile +19 -12
- data/app/assets/images/blacklight/michigan-state-university.svg +6 -0
- data/app/assets/images/blacklight/pennsylvania-state-university.svg +6 -0
- data/app/assets/images/blacklight/purdue-university.svg +6 -0
- data/app/assets/images/blacklight/the-ohio-state-university.svg +7 -0
- data/app/assets/images/blacklight/university-of-chicago.svg +6 -0
- data/app/assets/images/blacklight/university-of-illinois-urbana-champaign.svg +6 -0
- data/app/assets/images/blacklight/university-of-iowa.svg +5 -0
- data/app/assets/images/blacklight/university-of-maryland.svg +5 -0
- data/app/assets/images/blacklight/university-of-michigan.svg +5 -0
- data/app/assets/images/blacklight/university-of-minnesota.svg +5 -0
- data/app/assets/images/blacklight/university-of-nebraska-lincoln.svg +8 -0
- data/app/assets/images/blacklight/university-of-wisconsin-madison.svg +5 -0
- data/app/assets/images/favicon.ico +0 -0
- data/app/assets/javascripts/geoblacklight/geoblacklight.js +18 -1
- data/app/assets/javascripts/geoblacklight/modules/bookmarks.js +43 -0
- data/app/assets/javascripts/geoblacklight/modules/metadata_download_button.js +6 -1
- data/app/assets/javascripts/geoblacklight/modules/results.js +7 -8
- data/app/assets/javascripts/geoblacklight/modules/util.js +5 -0
- data/app/assets/javascripts/geoblacklight/viewers/esri.js +1 -1
- data/app/assets/javascripts/geoblacklight/viewers/index_map.js +1 -1
- data/app/assets/javascripts/geoblacklight/viewers/map.js +12 -2
- data/app/assets/javascripts/geoblacklight/viewers/tms.js +10 -0
- data/app/assets/javascripts/geoblacklight/viewers/wms.js +1 -1
- data/app/assets/stylesheets/geoblacklight/modules/icon-customization.scss +41 -0
- data/app/assets/stylesheets/geoblacklight/modules/results.scss +1 -1
- data/app/assets/stylesheets/geoblacklight/modules/toolbar.scss +6 -0
- data/app/components/geoblacklight/homepage_feature_facet_component.html.erb +11 -0
- data/app/components/geoblacklight/homepage_feature_facet_component.rb +13 -0
- data/{lib → app/helpers}/geoblacklight/geoblacklight_helper_behavior.rb +6 -4
- data/app/helpers/geoblacklight_helper.rb +14 -8
- data/app/models/concerns/geoblacklight/solr_document/citation.rb +2 -2
- data/app/models/concerns/geoblacklight/solr_document.rb +11 -16
- data/app/models/concerns/geoblacklight/spatial_search_behavior.rb +5 -5
- data/app/views/catalog/_arcgis.html.erb +1 -1
- data/app/views/catalog/_data_dictionary.html.erb +1 -2
- data/app/views/catalog/_document_split.html.erb +1 -1
- data/app/views/catalog/_header_icons.html.erb +1 -1
- data/app/views/catalog/_home_text.html.erb +7 -29
- data/app/views/catalog/_index_split_default.html.erb +1 -1
- data/app/views/catalog/_show_default_viewer_container.html.erb +1 -1
- data/app/views/catalog/_show_header_default.html.erb +1 -1
- data/app/views/download/hgl.html.erb +13 -11
- data/app/views/relation/_relations.html.erb +15 -0
- data/app/views/relation/index.html.erb +4 -16
- data/app/views/relation/index.json.jbuilder +6 -2
- data/babel.config.json +4 -0
- data/config/initializers/new_gbl_settings_defaults_3_4.yml +6 -0
- data/config/locales/geoblacklight.en.yml +12 -0
- data/geoblacklight.gemspec +5 -3
- data/jest.config.js +25 -0
- data/lib/generators/geoblacklight/install_generator.rb +1 -1
- data/lib/generators/geoblacklight/templates/catalog_controller.rb +78 -35
- data/lib/generators/geoblacklight/templates/settings.gbl_v1.yml +195 -0
- data/lib/generators/geoblacklight/templates/settings.yml +91 -17
- data/lib/geoblacklight/bounding_box.rb +1 -1
- data/lib/geoblacklight/constants.rb +1 -0
- data/lib/geoblacklight/download/geojson_download.rb +1 -1
- data/lib/geoblacklight/download/geotiff_download.rb +1 -1
- data/lib/geoblacklight/download/hgl_download.rb +1 -1
- data/lib/geoblacklight/download/kmz_download.rb +2 -2
- data/lib/geoblacklight/download/shapefile_download.rb +1 -1
- data/lib/geoblacklight/geometry.rb +85 -0
- data/lib/geoblacklight/item_viewer.rb +5 -1
- data/lib/geoblacklight/metadata/base.rb +1 -7
- data/lib/geoblacklight/references.rb +1 -1
- data/lib/geoblacklight/relation/ancestors.rb +4 -3
- data/lib/geoblacklight/relation/descendants.rb +4 -3
- data/lib/geoblacklight/relation/relation_response.rb +21 -6
- data/lib/geoblacklight/version.rb +1 -1
- data/lib/geoblacklight/view_helper_override.rb +1 -1
- data/lib/geoblacklight/wms_layer.rb +1 -4
- data/lib/geoblacklight.rb +1 -3
- data/lib/tasks/geoblacklight.rake +5 -0
- data/package.json +17 -1
- data/schema/{geoblacklight-schema.json → geoblacklight-schema-1.0.json} +1 -1
- data/schema/geoblacklight-schema-aardvark.json +211 -0
- data/setupJest.js +14 -0
- data/solr/conf/schema.xml +35 -29
- data/solr/conf/solrconfig.xml +15 -15
- data/spec/components/geoblacklight/homepage_feature_facet_component_spec.rb +39 -0
- data/spec/config/initializers/rails_config_spec.rb +15 -0
- data/spec/controllers/catalog_controller_spec.rb +7 -7
- data/spec/features/esri_viewer_spec.rb +1 -1
- data/spec/features/home_page_spec.rb +4 -4
- data/spec/features/layer_opacity_spec.rb +1 -0
- data/spec/features/metadata_panel_spec.rb +1 -1
- data/spec/features/missing_metadata_spec.rb +2 -2
- data/spec/features/relations_spec.rb +2 -2
- data/spec/features/search_results_map_spec.rb +2 -1
- data/spec/features/search_results_overlap_ratio_spec.rb +2 -2
- data/spec/features/split_view.html.erb_spec.rb +16 -12
- data/spec/features/tms_spec.rb +10 -0
- data/spec/fixtures/solr_documents/README.md +48 -36
- data/spec/fixtures/solr_documents/actual-papermap1.json +41 -18
- data/spec/fixtures/solr_documents/actual-point1.json +47 -27
- data/spec/fixtures/solr_documents/actual-polygon1.json +43 -18
- data/spec/fixtures/solr_documents/actual-raster1.json +52 -23
- data/spec/fixtures/solr_documents/all-relationships.json +48 -0
- data/spec/fixtures/solr_documents/baruch_ancestor1.json +62 -37
- data/spec/fixtures/solr_documents/baruch_ancestor2.json +62 -37
- data/spec/fixtures/solr_documents/baruch_documentation_download.json +60 -34
- data/spec/fixtures/solr_documents/bbox-spans-180.json +34 -16
- data/spec/fixtures/solr_documents/cornell_html_metadata.json +46 -26
- data/spec/fixtures/solr_documents/esri-dynamic-layer-all-layers.json +43 -25
- data/spec/fixtures/solr_documents/esri-dynamic-layer-single-layer.json +45 -28
- data/spec/fixtures/solr_documents/esri-feature-layer.json +44 -34
- data/spec/fixtures/solr_documents/esri-image-map-layer.json +45 -31
- data/spec/fixtures/solr_documents/esri-tiled_map_layer.json +42 -17
- data/spec/fixtures/solr_documents/esri-wms-layer.json +46 -21
- data/spec/fixtures/solr_documents/harvard_raster.json +55 -36
- data/spec/fixtures/solr_documents/iiif-eastern-hemisphere.json +35 -22
- data/spec/fixtures/solr_documents/index-map-polygon-no-downloadurl.json +48 -27
- data/spec/fixtures/solr_documents/index-map-polygon.json +48 -27
- data/spec/fixtures/solr_documents/index-map-stanford.json +54 -25
- data/spec/fixtures/solr_documents/index_map_point.json +54 -26
- data/spec/fixtures/solr_documents/metadata_no_geom.json +27 -0
- data/spec/fixtures/solr_documents/metadata_no_provider.json +39 -0
- data/spec/fixtures/solr_documents/multiple-downloads.json +33 -20
- data/spec/fixtures/solr_documents/no_locn_geometry.json +25 -0
- data/spec/fixtures/solr_documents/no_spatial.json +37 -19
- data/spec/fixtures/solr_documents/oembed.json +34 -17
- data/spec/fixtures/solr_documents/princeton-child1.json +45 -28
- data/spec/fixtures/solr_documents/princeton-child2.json +45 -28
- data/spec/fixtures/solr_documents/princeton-child3.json +45 -28
- data/spec/fixtures/solr_documents/princeton-child4.json +45 -28
- data/spec/fixtures/solr_documents/princeton-parent.json +46 -23
- data/spec/fixtures/solr_documents/public_direct_download.json +48 -21
- data/spec/fixtures/solr_documents/public_iiif_princeton.json +49 -24
- data/spec/fixtures/solr_documents/public_polygon_mit.json +31 -15
- data/spec/fixtures/solr_documents/restricted-line.json +52 -21
- data/spec/fixtures/solr_documents/the-related-record.json +27 -0
- data/spec/fixtures/solr_documents/tms.json +45 -0
- data/spec/fixtures/solr_documents/umn_metro_result1.json +44 -28
- data/spec/fixtures/solr_documents/umn_state_result1.json +44 -26
- data/spec/fixtures/solr_documents/umn_state_result2.json +45 -24
- data/spec/fixtures/solr_documents/uva_slug_colon.json +43 -20
- data/spec/{lib → helpers}/geoblacklight/geoblacklight_helper_behavior_spec.rb +1 -0
- data/spec/helpers/geoblacklight_helper_spec.rb +30 -4
- data/spec/javascripts/geoblacklight_spec.js +0 -6
- data/spec/javascripts/metadata_download_button_spec.js +5 -3
- data/spec/javascripts/util_spec.js +2 -4
- data/spec/lib/geoblacklight/download/geojson_download_spec.rb +1 -1
- data/spec/lib/geoblacklight/download/geotiff_download_spec.rb +1 -1
- data/spec/lib/geoblacklight/download/hgl_download_spec.rb +1 -1
- data/spec/lib/geoblacklight/download/kmz_download_spec.rb +2 -2
- data/spec/lib/geoblacklight/download/shapefile_download_spec.rb +1 -1
- data/spec/lib/geoblacklight/download_spec.rb +1 -1
- data/spec/lib/geoblacklight/geometry_spec.rb +59 -0
- data/spec/lib/geoblacklight/item_viewer_spec.rb +12 -0
- data/spec/lib/geoblacklight/references_spec.rb +3 -3
- data/spec/lib/geoblacklight/relation/ancestors_spec.rb +3 -3
- data/spec/lib/geoblacklight/relation/descendants_spec.rb +3 -3
- data/spec/lib/geoblacklight/relation/relation_response_spec.rb +32 -17
- data/spec/models/concerns/geoblacklight/solr_document_spec.rb +4 -4
- data/spec/spec_helper.rb +2 -0
- data/spec/support/view_component_capybara_test_helpers.rb +8 -0
- data/spec/test_app_templates/Gemfile.extra +1 -0
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +0 -7
- data/spec/views/catalog/_document_split.html.erb_spec.rb +1 -1
- data/spec/views/catalog/_index_split.html.erb_spec.rb +1 -1
- data/template.rb +1 -0
- metadata +99 -51
- data/.circleci/config.yml +0 -256
- data/app/views/catalog/_document_action.html.erb +0 -6
- data/app/views/catalog/_facet_tag_item.html.erb +0 -3
- data/app/views/catalog/_facet_tag_layout.html.erb +0 -2
- data/app/views/relation/_ancestors.html.erb +0 -8
- data/app/views/relation/_descendants.html.erb +0 -15
- data/schema/format-values.md +0 -50
- data/schema/geoblacklight-schema-deprecated.md +0 -39
- data/schema/geoblacklight-schema.md +0 -323
- data/schema/geometry-type-values.md +0 -11
- data/schema/references.md +0 -23
- data/schema/schema-commentary.md +0 -198
- data/schema/subjects.md +0 -41
- data/schema/type-values.md +0 -10
- data/spec/fixtures/solr_documents/metadata_no_dct_provenance_s.json +0 -30
- data/spec/fixtures/solr_documents/metadata_no_layer_geom_type_s.json +0 -17
- data/spec/fixtures/solr_documents/metadata_no_solr_geom.json +0 -23
- data/spec/javascripts/geoblacklight/viewers/esri/tiled_map_layer_spec.js +0 -12
- data/spec/javascripts/spec_helper.js +0 -32
- data/spec/lib/geoblacklight/controller_override_spec.rb +0 -2
- data/spec/teaspoon_env.rb +0 -214
data/.circleci/config.yml
DELETED
@@ -1,256 +0,0 @@
|
|
1
|
-
---
|
2
|
-
version: 2.1
|
3
|
-
commands:
|
4
|
-
restore_bundle_cache:
|
5
|
-
description: "Restore gems installed by bundler"
|
6
|
-
parameters:
|
7
|
-
# Use this parameter to bust the cache, if needed
|
8
|
-
cache_prefix:
|
9
|
-
type: string
|
10
|
-
default: "8-6-2020-A"
|
11
|
-
ruby_version:
|
12
|
-
type: string
|
13
|
-
default: '2.7.2'
|
14
|
-
rails_version:
|
15
|
-
type: string
|
16
|
-
default: '6.0.3.4'
|
17
|
-
steps:
|
18
|
-
- restore_cache:
|
19
|
-
keys:
|
20
|
-
- << parameters.cache_prefix >>-{{ checksum "geoblacklight.gemspec" }}-{{ checksum "Gemfile" }}-<< parameters.ruby_version >>-<< parameters.rails_version >>
|
21
|
-
paths:
|
22
|
-
- /home/circleci/geoblacklight/vendor/bundle
|
23
|
-
save_bundle_cache:
|
24
|
-
description: "Save gems installed by bundler"
|
25
|
-
parameters:
|
26
|
-
# Use this parameter to bust the cache, if needed
|
27
|
-
cache_prefix:
|
28
|
-
type: string
|
29
|
-
default: "8-6-2020-A"
|
30
|
-
ruby_version:
|
31
|
-
type: string
|
32
|
-
default: '2.7.2'
|
33
|
-
rails_version:
|
34
|
-
type: string
|
35
|
-
default: '6.0.3.4'
|
36
|
-
steps:
|
37
|
-
- save_cache:
|
38
|
-
key: << parameters.cache_prefix >>-{{ checksum "geoblacklight.gemspec" }}-{{ checksum "Gemfile" }}-<< parameters.ruby_version >>-<< parameters.rails_version >>
|
39
|
-
paths:
|
40
|
-
- /home/circleci/geoblacklight/vendor/bundle
|
41
|
-
jobs:
|
42
|
-
build:
|
43
|
-
working_directory: ~/geoblacklight
|
44
|
-
parameters:
|
45
|
-
ruby_version:
|
46
|
-
type: string
|
47
|
-
default: '2.7.2'
|
48
|
-
solr_port:
|
49
|
-
type: string
|
50
|
-
default: '8983'
|
51
|
-
rails_version:
|
52
|
-
type: string
|
53
|
-
default: '6.0.3.4'
|
54
|
-
coverage:
|
55
|
-
type: boolean
|
56
|
-
default: false
|
57
|
-
docker:
|
58
|
-
- image: circleci/ruby:<< parameters.ruby_version >>-node-browsers
|
59
|
-
- image: solr:7-alpine
|
60
|
-
command: bin/solr -cloud -noprompt -f -p <<parameters.solr_port>>
|
61
|
-
environment:
|
62
|
-
GEM_HOME: /home/circleci/geoblacklight/vendor/bundle
|
63
|
-
BUNDLE_PATH: /home/circleci/geoblacklight/vendor/bundle
|
64
|
-
BUNDLE_JOBS: 4
|
65
|
-
BUNDLE_RETRY: 3
|
66
|
-
RAILS_ENV: test
|
67
|
-
RACK_ENV: test
|
68
|
-
RAILS_VERSION: <<parameters.rails_version>>
|
69
|
-
steps:
|
70
|
-
- checkout
|
71
|
-
- restore_bundle_cache:
|
72
|
-
ruby_version: << parameters.ruby_version >>
|
73
|
-
rails_version: << parameters.rails_version >>
|
74
|
-
# Install gems
|
75
|
-
- run: bundle check || bundle install
|
76
|
-
# Generate the internal test app
|
77
|
-
- run:
|
78
|
-
name: Generate test app
|
79
|
-
command: |
|
80
|
-
[ -e ./.internal_test_app ] || bundle exec rake engine_cart:generate
|
81
|
-
- save_bundle_cache:
|
82
|
-
ruby_version: << parameters.ruby_version >>
|
83
|
-
rails_version: << parameters.rails_version >>
|
84
|
-
- run:
|
85
|
-
name: Wait for Solr
|
86
|
-
command: dockerize -wait tcp://localhost:<<parameters.solr_port>> -timeout 1m
|
87
|
-
- run:
|
88
|
-
name: Load config into solr
|
89
|
-
command: |
|
90
|
-
cd .internal_test_app/solr/conf
|
91
|
-
zip -1 -r solr_config.zip ./*
|
92
|
-
curl -H "Content-type:application/octet-stream" --data-binary @solr_config.zip "http://localhost:8983/solr/admin/configs?action=UPLOAD&name=solrconfig"
|
93
|
-
curl -H 'Content-type: application/json' http://localhost:<<parameters.solr_port>>/api/collections/ -d '{create: {name: blacklight-core, config: solrconfig, numShards: 1}}'
|
94
|
-
- run:
|
95
|
-
name: Seed Solr
|
96
|
-
command: |
|
97
|
-
cd .internal_test_app
|
98
|
-
bundle check || bundle install
|
99
|
-
bundle exec rake geoblacklight:index:seed
|
100
|
-
bundle exec rake geoblacklight:downloads:mkdir
|
101
|
-
- when:
|
102
|
-
condition: <<parameters.coverage>>
|
103
|
-
steps:
|
104
|
-
- run:
|
105
|
-
name: Ensure simplecov is installed
|
106
|
-
command: gem install simplecov
|
107
|
-
- run:
|
108
|
-
name: Run the RSpec test suites
|
109
|
-
command: bundle exec rspec
|
110
|
-
- run:
|
111
|
-
name: Stash Coverage Results
|
112
|
-
command: |
|
113
|
-
cp -R coverage/ coverage_results/
|
114
|
-
cp -R coverage/ /tmp/coverage_results/
|
115
|
-
- persist_to_workspace:
|
116
|
-
root: '~/geoblacklight'
|
117
|
-
paths: 'coverage_results'
|
118
|
-
- store_artifacts:
|
119
|
-
path: /tmp/coverage_results/
|
120
|
-
- unless:
|
121
|
-
condition: <<parameters.coverage>>
|
122
|
-
steps:
|
123
|
-
- run:
|
124
|
-
name: Run the RSpec test suites
|
125
|
-
command: bundle exec rspec
|
126
|
-
- run:
|
127
|
-
name: Run the Teaspoon test suites
|
128
|
-
command: bundle exec rake teaspoon
|
129
|
-
|
130
|
-
rubocop:
|
131
|
-
working_directory: ~/geoblacklight
|
132
|
-
parameters:
|
133
|
-
ruby_version:
|
134
|
-
type: string
|
135
|
-
default: '2.7.2'
|
136
|
-
rails_version:
|
137
|
-
type: string
|
138
|
-
default: '6.0.3.4'
|
139
|
-
docker:
|
140
|
-
- image: circleci/ruby:<< parameters.ruby_version >>-node-browsers
|
141
|
-
environment:
|
142
|
-
GEM_HOME: /home/circleci/geoblacklight/vendor/bundle
|
143
|
-
BUNDLE_PATH: /home/circleci/geoblacklight/vendor/bundle
|
144
|
-
BUNDLE_JOBS: 4
|
145
|
-
BUNDLE_RETRY: 3
|
146
|
-
RAILS_ENV: test
|
147
|
-
RACK_ENV: test
|
148
|
-
RAILS_VERSION: <<parameters.rails_version>>
|
149
|
-
steps:
|
150
|
-
- checkout
|
151
|
-
- restore_bundle_cache:
|
152
|
-
ruby_version: << parameters.ruby_version >>
|
153
|
-
rails_version: << parameters.rails_version >>
|
154
|
-
# Install gems and run rubocop
|
155
|
-
- run: bundle check || bundle install
|
156
|
-
- run: bundle exec rake rubocop
|
157
|
-
|
158
|
-
coverage_report:
|
159
|
-
working_directory: ~/geoblacklight
|
160
|
-
parameters:
|
161
|
-
ruby_version:
|
162
|
-
type: string
|
163
|
-
default: '2.7.2'
|
164
|
-
rails_version:
|
165
|
-
type: string
|
166
|
-
default: '6.0.3.4'
|
167
|
-
docker:
|
168
|
-
- image: circleci/ruby:<< parameters.ruby_version >>-node-browsers
|
169
|
-
environment:
|
170
|
-
GEM_HOME: /home/circleci/geoblacklight/vendor/bundle
|
171
|
-
BUNDLE_PATH: /home/circleci/geoblacklight/vendor/bundle
|
172
|
-
BUNDLE_JOBS: 4
|
173
|
-
BUNDLE_RETRY: 3
|
174
|
-
RAILS_ENV: test
|
175
|
-
RACK_ENV: test
|
176
|
-
RAILS_VERSION: <<parameters.rails_version>>
|
177
|
-
steps:
|
178
|
-
- checkout
|
179
|
-
- attach_workspace:
|
180
|
-
at: '~/geoblacklight'
|
181
|
-
- restore_bundle_cache:
|
182
|
-
ruby_version: << parameters.ruby_version >>
|
183
|
-
rails_version: << parameters.rails_version >>
|
184
|
-
# Install gems and check coverage
|
185
|
-
- run: bundle check || bundle install
|
186
|
-
- run:
|
187
|
-
name: Merge and check coverage
|
188
|
-
command: |
|
189
|
-
RAILS_ENV=test bundle exec ruby ./bin/coverage.rb
|
190
|
-
- store_artifacts:
|
191
|
-
path: ~/geoblacklight/coverage
|
192
|
-
destination: coverage
|
193
|
-
|
194
|
-
workflows:
|
195
|
-
version: 2.1
|
196
|
-
build:
|
197
|
-
jobs:
|
198
|
-
- build:
|
199
|
-
ruby_version: 2.7.2
|
200
|
-
rails_version: 6.1.0
|
201
|
-
name: "ruby2-7_rails6-1"
|
202
|
-
- build:
|
203
|
-
ruby_version: 2.7.2
|
204
|
-
rails_version: 6.0.3.4
|
205
|
-
coverage: true
|
206
|
-
name: "ruby2-7_rails6-0"
|
207
|
-
- build:
|
208
|
-
ruby_version: 2.6.6
|
209
|
-
rails_version: 6.0.3.4
|
210
|
-
name: "ruby2-6_rails6-0"
|
211
|
-
- build:
|
212
|
-
ruby_version: 2.7.2
|
213
|
-
rails_version: 5.2.4.4
|
214
|
-
name: "ruby2-7_rails5-2"
|
215
|
-
- build:
|
216
|
-
ruby_version: 2.6.6
|
217
|
-
rails_version: 5.2.4.4
|
218
|
-
name: "ruby2-6_rails5-2"
|
219
|
-
- rubocop:
|
220
|
-
requires:
|
221
|
-
- ruby2-7_rails6-0
|
222
|
-
- coverage_report:
|
223
|
-
requires:
|
224
|
-
- ruby2-7_rails6-0
|
225
|
-
nightly:
|
226
|
-
triggers:
|
227
|
-
- schedule:
|
228
|
-
cron: "0 0 * * *"
|
229
|
-
filters:
|
230
|
-
branches:
|
231
|
-
only:
|
232
|
-
- master
|
233
|
-
jobs:
|
234
|
-
- build:
|
235
|
-
ruby_version: 2.7.2
|
236
|
-
rails_version: 6.0.3.4
|
237
|
-
coverage: true
|
238
|
-
name: "ruby2-7_rails6-0"
|
239
|
-
- build:
|
240
|
-
ruby_version: 2.6.6
|
241
|
-
rails_version: 6.0.3.4
|
242
|
-
name: "ruby2-6_rails6-0"
|
243
|
-
- build:
|
244
|
-
ruby_version: 2.7.2
|
245
|
-
rails_version: 5.2.4.4
|
246
|
-
name: "ruby2-7_rails5-2"
|
247
|
-
- build:
|
248
|
-
ruby_version: 2.6.6
|
249
|
-
rails_version: 5.2.4.4
|
250
|
-
name: "ruby2-6_rails5-2"
|
251
|
-
- rubocop:
|
252
|
-
requires:
|
253
|
-
- ruby2-7_rails6-0
|
254
|
-
- coverage_report:
|
255
|
-
requires:
|
256
|
-
- ruby2-7_rails6-0
|
@@ -1,6 +0,0 @@
|
|
1
|
-
<%= link_to document_action_path(document_action_config, (local_assigns.has_key?(:url_opts) ? url_opts : {}).merge(({id: document} if document) || {})),
|
2
|
-
id: document_action_config.fetch(:id, "#{document_action_config.key}Link"),
|
3
|
-
data: {}.merge(({blacklight_modal: "trigger"} if document_action_config.modal != false) || {}) do %>
|
4
|
-
<%= geoblacklight_icon(document_action_config.key, aria_hidden: true) %>
|
5
|
-
<%= document_action_label(document_action_config.key, document_action_config) %>
|
6
|
-
<% end %>
|
@@ -1,8 +0,0 @@
|
|
1
|
-
<% @relations.ancestors['docs'].each do |ancestor| %>
|
2
|
-
<li class="list-group-item border-bottom-0">
|
3
|
-
<%= link_to solr_document_path(ancestor['layer_slug_s']) do %>
|
4
|
-
<%= relations_icon(ancestor, 'pagelines-brands') %>
|
5
|
-
<%= ancestor['dc_title_s'] %>
|
6
|
-
<% end %>
|
7
|
-
</li>
|
8
|
-
<% end %>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<% @relations.descendants['docs'][0..2].each do |descendant| %>
|
2
|
-
<li class="list-group-item border-bottom-0">
|
3
|
-
<%= link_to solr_document_path(descendant['layer_slug_s']) do %>
|
4
|
-
<%= relations_icon(descendant, 'leaf') %>
|
5
|
-
<%= descendant['dc_title_s'] %>
|
6
|
-
<% end %>
|
7
|
-
</li>
|
8
|
-
<% end %>
|
9
|
-
<% unless (@relations.descendants['numFound'].to_i <= 3) %>
|
10
|
-
<li class="list-group-item border-bottom-0">
|
11
|
-
<%= link_to search_catalog_path({f: {"#{Settings.FIELDS.SOURCE}" => [@relations.link_id]}}) do %>
|
12
|
-
<%= t('geoblacklight.relations.browse_all', count: @relations.descendants['numFound']) %>
|
13
|
-
<% end %>
|
14
|
-
</li>
|
15
|
-
<% end %>
|
data/schema/format-values.md
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
## GeoBlacklight Format Controlled Vocabulary
|
2
|
-
|
3
|
-
#### Type: Dataset
|
4
|
-
| Format | Associated Geometry Type(s) |
|
5
|
-
|:----------------------------|:-------------|
|
6
|
-
|ArcGRID |Raster |
|
7
|
-
|CD-ROM |Vector or Raster |
|
8
|
-
|DEM |Vector or Raster |
|
9
|
-
|DVD-ROM |Vector or Raster |
|
10
|
-
|Feature Class |Vector or Raster |
|
11
|
-
|Geodatabase |Vector or Raster |
|
12
|
-
|GeoJPEG |Raster |
|
13
|
-
|GeoJSON |Vector |
|
14
|
-
|GeoPackage |Vector or Raster |
|
15
|
-
|GeoPDF |Vector or Raster |
|
16
|
-
|GeoTIFF |Raster |
|
17
|
-
|KML |Vector |
|
18
|
-
|KMZ |Vector or Raster |
|
19
|
-
|LAS | |
|
20
|
-
|LAZ | |
|
21
|
-
|Mixed |Vector or Raster |
|
22
|
-
|Pulsewaves | |
|
23
|
-
|Raster Dataset |Raster |
|
24
|
-
|Shapefile |Vector |
|
25
|
-
|SQLite Database|Vector or Raster |
|
26
|
-
|Tabular Data |- |
|
27
|
-
|
28
|
-
#### Type: Image
|
29
|
-
|
30
|
-
| Format |
|
31
|
-
|:----------------------------|
|
32
|
-
|JPEG |
|
33
|
-
|JPEG2000 |
|
34
|
-
|Mixed |
|
35
|
-
|MrSID |
|
36
|
-
|PDF |
|
37
|
-
|PNG |
|
38
|
-
|TIFF |
|
39
|
-
|
40
|
-
|
41
|
-
#### Type: Interactive Resource
|
42
|
-
| Format |
|
43
|
-
|:----------------------------|
|
44
|
-
|Web Application|
|
45
|
-
|
46
|
-
#### Type: Physical Object
|
47
|
-
| Format |
|
48
|
-
|:----------------------------|
|
49
|
-
|Cartographic Material|
|
50
|
-
|Paper Map|
|
@@ -1,39 +0,0 @@
|
|
1
|
-
## <a name="resource-layer">layer</a>
|
2
|
-
|
3
|
-
|
4
|
-
A GIS data layer. See [this example](https://github.com/OpenGeoMetadata/edu.stanford.purl/blob/master/bb/099/zb/1450/geoblacklight.json) metadata layer.
|
5
|
-
|
6
|
-
### Attributes
|
7
|
-
|
8
|
-
| Name | Type | Description | Example |
|
9
|
-
| ------- | ------- | ------- | ------- |
|
10
|
-
| **dc_creator_sm** | *array* | Author(s) of the layer. *Optional* | `"George Washington, Thomas Jefferson"` |
|
11
|
-
| **dc_description_s** | *string* | Description for the layer. *Optional* | `"My Description"` |
|
12
|
-
| **dc_format_s** | *string* | File format for the layer, ideally using a controlled vocabulary. *Optional* | `"Shapefile, GeoTIFF, ArcGRID"` |
|
13
|
-
| **dc_identifier_s** | *string* | Unique identifier for layer as a URI. It should be globally unique across all institutions, assumed not to be end-user visible, and is usually of the form `http://institution/id`. See https://github.com/geoblacklight/geoblacklight/wiki/Schema for more detailed documentation. | `"http://purl.stanford.edu/vr593vj7147"` |
|
14
|
-
| **dc_language_s** | *string* | Language for the layer. *Optional*. Note that future versions of the schema may make this a multi-valued field. | `"English"` |
|
15
|
-
| **dc_publisher_s** | *string* | Publisher of the layer. *Optional* | `"ML InfoMap"` |
|
16
|
-
| **dc_relation_sm** | *array* | *DEPRECATED* (use `dct_isPartOf_sm`). A reference to a related resource for this layer. *Optional* | `"http://purl.stanford.edu/vr593vj7147"` |
|
17
|
-
| **dc_rights_s** | *string* | Access rights for the layer.<br/> **one of:**`"Public"` or `"Restricted"` | `"Public"` |
|
18
|
-
| **dc_source_sm** | *array* | The identity of a layer from which this layer's data was derived. *Optional* | `"stanford-vr593vj7147"` |
|
19
|
-
| **dc_subject_sm** | *array* | Subjects for the layer, preferrably in a controlled vocabulary. *Optional* | `"Census, Human settlements"` |
|
20
|
-
| **dc_title_s** | *string* | Title for the layer. | `"My Title"` |
|
21
|
-
| **dc_type_s** | *string* | Resource type of the layer, using DCMI Type Vocabulary, usually a `Dataset`. *Optional*<br/> **one of:**`"Dataset"` or `"Image"` or `"PhysicalObject"` | `"Dataset"` |
|
22
|
-
| **dct_isPartOf_sm** | *array* | Holding entity for the layer, such as the title of a collection. *Optional* | `"Village Maps of India"` |
|
23
|
-
| **dct_issued_dt** | *date-time* | Issued date for the layer, using XML Schema dateTime format (YYYY-MM-DDThh:mm:ssZ). *Optional* | `"2015-01-01T12:00:00Z"` |
|
24
|
-
| **dct_provenance_s** | *string* | Institution who holds the layer. | `"Stanford"` |
|
25
|
-
| **dct_references_s** | *string* | External resources that are available for the layer. The value is a JSON hash where each key is a URI for the protocol or format, and the value is the URL to the external resource. See `dct_references_s` [detailed documentation](http://geoblacklight.org/tutorial/2015/02/09/geoblacklight-overview.html). *Optional*<br/> **pattern:** `\{.*\}` | `"{ ... }"` |
|
26
|
-
| **dct_spatial_sm** | *array* | Spatial coverage and place names for the layer, preferrably in a controlled vocabulary. *Optional* | `"Paris, San Francisco"` |
|
27
|
-
| **dct_temporal_sm** | *array* | Temporal coverage for the layer, typically years or dates. Note that this field is not in a specific date format. *Optional* | `"1989, circa 2010, 2007-2009"` |
|
28
|
-
| **geoblacklight_version** | *string* | The version of the GeoBlacklight Schema to which this metadata record conforms.<br/> **one of:**`"1.0"` | `"1.0"` |
|
29
|
-
| **georss_box_s** | *string* | *DEPRECATED* (use `solr_geom`): Bounding box for the layer, as maximum values for S W N E. | `"12.6 -119.4 19.9 84.8"` |
|
30
|
-
| **georss_point_s** | *string* | *DEPRECATED* (use `georss_box_s`): Point representation for layer as y, x - i.e., centroid | `"12.6 -119.4"` |
|
31
|
-
| **layer_geom_type_s** | *string* | Geometry type for layer data, using controlled vocabulary.<br/> **one of:**`"Point"` or `"Line"` or `"Polygon"` or `"Raster"` or `"Scanned Map"` or `"Image"` or `"Mixed"` | `"Point"` |
|
32
|
-
| **layer_id_s** | *string* | The complete identifier for the layer via WMS/WFS/WCS protocol. *Optional* | `"druid:vr593vj7147"` |
|
33
|
-
| **layer_modified_dt** | *date-time* | Last modification date for the metadata record, using XML Schema dateTime format (YYYY-MM-DDThh:mm:ssZ). *Optional* | `"2015-01-01T12:00:00Z"` |
|
34
|
-
| **layer_slug_s** | *string* | Identifies a layer in human-readable keywords. Note this value is visible to the user, and used for Permalinks. The value should be alpha-numeric characters separated by dashes, and is typically of the form `institution-keyword1-keyword2`. It should also be globally unique across all institutions in *your* GeoBlacklight index. See https://github.com/geoblacklight/geoblacklight/wiki/Schema for more detailed documentation.<br/> **pattern:** `^[-a-zA-Z0-9]+$` | `"stanford-andhra-pradesh-village-boundaries"` |
|
35
|
-
| **solr_geom** | *string* | Bounding box of the layer as a ENVELOPE WKT (from the CQL standard) using coordinates in (West, East, North, South) order. Note that this field is indexed as a Solr spatial (RPT) field.<br/> **pattern:** `ENVELOPE(.*,.*,.*,.*)` | `"ENVELOPE(76.76, 84.76, 19.91, 12.62)"` |
|
36
|
-
| **solr_year_i** | *integer* | *DEPRECATED* (only used by the Blacklight range plugin, not core GeoBlacklight, and generally you want a multi-valued field here): *Derived from* `dct_temporal_sm`. Year for which layer is valid and only a single value. Note that this field is indexed as a Solr numeric field. | `"1989"` |
|
37
|
-
| **uuid** | *string* | *DEPRECATED* (use `dc_identifier_s`): Unique identifier for layer that is globally unique. | `"http://purl.stanford.edu/vr593vj7147"` |
|
38
|
-
|
39
|
-
|
@@ -1,323 +0,0 @@
|
|
1
|
-
## GeoBlacklight 1.0 Metadata Schema
|
2
|
-
This is an overview of the GeoBlacklight Metadata Schema, Version 1.0. For more information on applications of these elements, visit the [Schema Commentary document](/schema/schema-commentary.md).
|
3
|
-
## Brief
|
4
|
-
|
5
|
-
| Label | uri| Required?|
|
6
|
-
|------------------- |-----------------------|:----------:|
|
7
|
-
| [Identifier](#identifier) | `dc_identifier_s`| X|
|
8
|
-
| [Rights](#rights) | `dc_rights_s`| X|
|
9
|
-
| [Title](#title) | `dc_title_s`| X|
|
10
|
-
| [Provenance](#provenance) | `dct_provenance_s`| X|
|
11
|
-
| [Schema Version](#schema-version) | `geoblacklight_version`| X|
|
12
|
-
| [Slug](#slug) | `layer_slug_s`| X|
|
13
|
-
| [Bounding Box](#bounding-box) | `solr_geom`| X|
|
14
|
-
| [Solr Year](#solr-year) | `solr_year_i`||
|
15
|
-
| [Creator](#creator) | `dc_creator_sm`||
|
16
|
-
| [Description](#description) | `dc_description_s`||
|
17
|
-
| [Format](#format) | `dc_format_s`||
|
18
|
-
| [Language](#language) | `dc_language_sm`||
|
19
|
-
| [Publisher](#publisher) | `dc_publisher_sm`||
|
20
|
-
| [Source](#source) | `dc_source_sm`||
|
21
|
-
| [Subject](#subject) | `dc_subject_sm`||
|
22
|
-
| [Type](#type) | `dc_type_s`||
|
23
|
-
| [Is Part Of](#is-part-of) | `dct_isPartOf_sm`||
|
24
|
-
| [Date Issued](#date-issued) | `dct_issued_s`||
|
25
|
-
| [References](#references) | `dct_references_s`||
|
26
|
-
| [Spatial Coverage](#spatial-coverage) | `dct_spatial_sm`||
|
27
|
-
| [Temporal Coverage](#temporal-coverage) | `dct_temporal_sm`||
|
28
|
-
| [Geometry Type](#geometry-type) | `layer_geom_type_s`||
|
29
|
-
| [Layer ID](#layer-id) | `layer_id_s`||
|
30
|
-
| [Modified Date](#modified-date) | `layer_modified_dt`|||
|
31
|
-
|
32
|
-
|
33
|
-
## Details
|
34
|
-
|
35
|
-
### Identifier
|
36
|
-
| Label | Identifier|
|
37
|
-
|:------------------------------|:-----------|
|
38
|
-
| uri | `dc_identifier_s`|
|
39
|
-
| Required | yes|
|
40
|
-
| Type | string|
|
41
|
-
| Description | Unique identifier for layer as a URI. It should be globally unique across all institutions, assumed not to be end-user visible|
|
42
|
-
| Entry Guidelines | This is usually in the form of http://institution/id.|
|
43
|
-
| Controlled Vocabulary | no|
|
44
|
-
| Element Set | Dublin Core Metadata Element Set|
|
45
|
-
| Example | "http://purl.stanford.edu/vr593vj7147"|
|
46
|
-
|
47
|
-
|
48
|
-
### Rights
|
49
|
-
| Label | Rights|
|
50
|
-
|:------------------------------|:---------------------------------------------------------|
|
51
|
-
| uri | `dc_rights_s`|
|
52
|
-
| Required | yes|
|
53
|
-
| Type | string|
|
54
|
-
| Description | Signals access in the geoportal and is indicated by a padlock icon. Users need to sign in to download restricted items|
|
55
|
-
| Entry Guidelines | Choose either Public or Restricted|
|
56
|
-
| Controlled Vocabulary | "Public" or "Restricted"|
|
57
|
-
| Element Set | Dublin Core Metadata Element Set|
|
58
|
-
| Example | "Public"|
|
59
|
-
|
60
|
-
### Title
|
61
|
-
| Label | Title|
|
62
|
-
|:------------------------------|:-----------|
|
63
|
-
| uri | `dc_title_s`|
|
64
|
-
| Required | yes|
|
65
|
-
| Type | string|
|
66
|
-
| Description | The name of the resource|
|
67
|
-
| Entry Guidelines | Titles should include place names and dates when available.|
|
68
|
-
| Controlled Vocabulary | no|
|
69
|
-
| Element Set | Dublin Core Metadata Element Set|
|
70
|
-
| Example | "Roads: Minneapolis, Minnesota, 2010"|
|
71
|
-
|
72
|
-
### Provenance
|
73
|
-
| Label | Provenance|
|
74
|
-
|:------------------------------|:---------------------------------------------------------|
|
75
|
-
| uri | `dct_provenance_s`|
|
76
|
-
| Required | yes|
|
77
|
-
| Type | string|
|
78
|
-
| Description | The name of the institution that holds the resource or acts as the custodian for the metadata record|
|
79
|
-
| Entry Guidelines | The value for this field should be one of the agreed upon shortened names for each institution. This will embed the correct icon into the search results and item pages.|
|
80
|
-
| Controlled Vocabulary | This repository contains the insitutions that have shared icons: https://github.com/geoblacklight/geoblacklight-icons|
|
81
|
-
| Element Set | DCMI Metadata Terms|
|
82
|
-
| Example | "Stanford"|
|
83
|
-
|
84
|
-
### Schema Version
|
85
|
-
| Label | Schema Version|
|
86
|
-
|:------------------------------|:---------------------------------------------------------|
|
87
|
-
| uri | `geoblacklight_version` |
|
88
|
-
| Required | yes|
|
89
|
-
| Type | string|
|
90
|
-
| Description | Indicates which version of the GeoBlacklight schema is in use|
|
91
|
-
| Entry Guidelines | Only current value is "1.0"|
|
92
|
-
| Controlled Vocabulary | no|
|
93
|
-
| Element Set | GeoBlacklight|
|
94
|
-
| Example | "1.0"|
|
95
|
-
|
96
|
-
### Slug
|
97
|
-
| Label | Slug|
|
98
|
-
|:------------------------------|:---------------------------------------------------------|
|
99
|
-
| uri | `layer_slug_s`|
|
100
|
-
| Required | yes|
|
101
|
-
| Type | string|
|
102
|
-
| Description | This is a string appended to the base URL of a GeoBlacklight installation to create a unique landing page for each resource. It is visible to the user and serves the purpose of forming a persistent URL for each catalog item.|
|
103
|
-
| Entry Guidelines | This string must be a globally unique value. The value should be alpha-numeric characters separated by dashes.|
|
104
|
-
| Controlled Vocabulary | no|
|
105
|
-
| Element Set | GeoBlacklight|
|
106
|
-
| Example | "stanford-andhra-pradesh-village-boundaries"|
|
107
|
-
|
108
|
-
### Bounding Box
|
109
|
-
| Label | Bounding Box|
|
110
|
-
|:------------------------------|:---------------------------------------------------------|
|
111
|
-
| uri | `solr_geom`|
|
112
|
-
| Required | yes|
|
113
|
-
| Type | string|
|
114
|
-
| Description | The rectangular extents of the resource. Note that this field is indexed as a Solr spatial (RPT) field|
|
115
|
-
| Entry Guidelines | Bounding box of the layer as a ENVELOPE WKT (from the CQL standard) using coordinates in (West, East, North, South) order. The pattern is: ENVELOPE(.*,.*,.*,.*)|
|
116
|
-
| Controlled Vocabulary | no|
|
117
|
-
| Element Set | GeoBlacklight|
|
118
|
-
| Example | "ENVELOPE(76.76, 84.76, 19.91, 12.62)"|
|
119
|
-
|
120
|
-
### Solr Year
|
121
|
-
| Label | Solr Year|
|
122
|
-
|:------------------------------|:---------------------------------------------------------|
|
123
|
-
| uri | `solr_year_i`|
|
124
|
-
| Required | no|
|
125
|
-
| Type | integer|
|
126
|
-
| Description | A four digit integer representing a year of temporal coverage or date issued for the resource. This field is used to populate the Year facet and the optional [Blacklight Range Limit gem](https://github.com/projectblacklight/blacklight_range_limit)|
|
127
|
-
| Entry Guidelines | This field must be an integer.|
|
128
|
-
| Controlled Vocabulary | no|
|
129
|
-
| Element Set | GeoBlacklight|
|
130
|
-
| Example | "1982"|
|
131
|
-
|
132
|
-
### Creator
|
133
|
-
| Label | Creator|
|
134
|
-
|:------------------------------|:---------------------------------------------------------|
|
135
|
-
| uri | `dc_creator_sm`|
|
136
|
-
| Required | no|
|
137
|
-
| Type | array|
|
138
|
-
| Description | The person(s) or organization that created the resource|
|
139
|
-
| Entry Guidelines | This may be an individual or an organization. If available, it should match with the Library of Congress Name Authority File.|
|
140
|
-
| Controlled Vocabulary | The suggested controlled vocabulary is the [Library of Congress Name Authority File](http://id.loc.gov/authorities/names.html).|
|
141
|
-
| Element Set | Dublin Core Metadata Element Set|
|
142
|
-
| Example | "George Washington", "Thomas Jefferson"|
|
143
|
-
|
144
|
-
### Description
|
145
|
-
| Label| Description|
|
146
|
-
|:------------------------------|:---------------------------------------------------------|
|
147
|
-
| uri | `dc_description_s`|
|
148
|
-
| Required | no|
|
149
|
-
| Type | string|
|
150
|
-
| Description | At minimum, this is a reiteration of the title in sentence format. Other relevant information, such as data creation methods, data sources, and special licenses, may also be included.|
|
151
|
-
| Entry Guidelines | This is a plain text field.|
|
152
|
-
| Controlled Vocabulary | no|
|
153
|
-
| Element Set | Dublin Core Metadata Element Set|
|
154
|
-
| Example | "This polygon shapefile represents boundaries of election districts in New York City. It was harvested from the NYC Open Data Portal."|
|
155
|
-
|
156
|
-
### Format
|
157
|
-
| Label | Format|
|
158
|
-
|:------------------------------|:---------------------------------------------------------|
|
159
|
-
| uri | `dc_format_s`|
|
160
|
-
| Required | no|
|
161
|
-
| Type | string|
|
162
|
-
| Description | This indicates the file format of the data. If a download link is included, this value shows up on the item page display in the download widget|
|
163
|
-
| Entry Guidelines | Choose from set values (see Format list)|
|
164
|
-
| Controlled Vocabulary | [Format Controlled Vocabulary](/schema/format-values.md)|
|
165
|
-
| Element Set | Dublin Core Metadata Element Set|
|
166
|
-
| Example | "Shapefile"|
|
167
|
-
|
168
|
-
### Language
|
169
|
-
| Label | Language|
|
170
|
-
|:------------------------------|:---------------------------------------------------------|
|
171
|
-
| uri | `dc_language_sm`|
|
172
|
-
| Required | no|
|
173
|
-
| Type | array|
|
174
|
-
| Description | Indicates the language of the data or map|
|
175
|
-
| Entry Guidelines | Spell out language (in English) instead of using the ISO 639-1 code (e.g.,“French” instead of “fra”).|
|
176
|
-
| Controlled Vocabulary | no|
|
177
|
-
| Element Set | Dublin Core Metadata Element Set|
|
178
|
-
| Example | "English"|
|
179
|
-
|
180
|
-
### Publisher
|
181
|
-
| Label | Publisher|
|
182
|
-
|:------------------------------|:---------------------------------------------------------|
|
183
|
-
| uri | `dc_publisher_s`|
|
184
|
-
| Required | no|
|
185
|
-
| Type | array|
|
186
|
-
| Description | The organization that made the original resource available|
|
187
|
-
| Entry Guidelines | This should always be an organization.|
|
188
|
-
| Controlled Vocabulary | The suggested controlled vocabulary is the [Library of Congress Name Authority File](http://id.loc.gov/authorities/names.html).|
|
189
|
-
| Element Set | Dublin Core Metadata Element Set|
|
190
|
-
| Example | "ML InfoMap (Firm)"|
|
191
|
-
|
192
|
-
### Source
|
193
|
-
| Label | Source|
|
194
|
-
|:------------------------------|:---------------------------------------------------------|
|
195
|
-
| uri | `dc_source_sm`|
|
196
|
-
| Required | no|
|
197
|
-
| Type | array|
|
198
|
-
| Description | This is used to indicate parent/child relationships between data layers and activates the Data Relations widget in GeoBlacklight|
|
199
|
-
| Entry Guidelines | This is only added to the child records. Enter the layer_slug_s of the parent record(s) into this field.|
|
200
|
-
| Controlled Vocabulary | no|
|
201
|
-
| Element Set | Dublin Core Metadata Element Set|
|
202
|
-
| Example | "stanford-vr593vj7147"|
|
203
|
-
|
204
|
-
### Subject
|
205
|
-
| Label | Subject|
|
206
|
-
|:------------------------------|:---------------------------------------------------------|
|
207
|
-
| uri | `dc_subject_sm`|
|
208
|
-
| Required | no|
|
209
|
-
| Type | array|
|
210
|
-
| Description | These are theme or topic keywords|
|
211
|
-
| Entry Guidelines | These should be consistent and chosen from a controlled vocabulary. Use sentence style capitalization, where only the first word of a phrase is capitalized.|
|
212
|
-
| Controlled Vocabulary | Recommended thesauri are [ISO Topic Categories](https://www2.usgs.gov/science/about/thesaurus-full.php?thcode=15) and Library of Congress Subject Headings.|
|
213
|
-
| Element Set | Dublin Core Metadata Element Set|
|
214
|
-
| Example | "Census", "Human settlements"|
|
215
|
-
|
216
|
-
|
217
|
-
### Type
|
218
|
-
| Label | Type|
|
219
|
-
|:------------------------------|:---------------------------------------------------------|
|
220
|
-
| uri | `dc_type_s`|
|
221
|
-
| Required | no|
|
222
|
-
| Type | string|
|
223
|
-
| Description | This is a general element to indicate the larger genre of the resource|
|
224
|
-
| Entry Guidelines | Choose from Dublin Core Type values|
|
225
|
-
| Controlled Vocabulary | [Type Controlled Vocabulary](/schema/type-values.md)|
|
226
|
-
| Element Set | Dublin Core Metadata Element Set|
|
227
|
-
| Example | "Dataset"|
|
228
|
-
|
229
|
-
### Is Part Of
|
230
|
-
| Label | Is Part Of|
|
231
|
-
|:------------------------------|:---------------------------------------------------------|
|
232
|
-
| uri | `dct_isPartOf_sm`|
|
233
|
-
| Required | no|
|
234
|
-
| Type | array|
|
235
|
-
| Description | Holding entity for the layer, such as the title of a collection|
|
236
|
-
| Entry Guidelines | Plain text that is indexed in the Collections facet|
|
237
|
-
| Controlled Vocabulary | no|
|
238
|
-
| Element Set | [DCMI Metadata Terms](http://dublincore.org/documents/dcmi-terms/)|
|
239
|
-
| Example | "Village Maps of India"|
|
240
|
-
|
241
|
-
### Date Issued
|
242
|
-
| Label | Date Issued|
|
243
|
-
|:------------------------------|:---------------------------------------------------------|
|
244
|
-
| uri | `dct_issued_s`|
|
245
|
-
| Required | no|
|
246
|
-
| Type | string|
|
247
|
-
| Description | This is the publication date for the resource|
|
248
|
-
| Entry Guidelines | Use any date format, such as the XML Schema dateTime format (YYYY-MM-DDThh:mm:ssZ)|
|
249
|
-
| Controlled Vocabulary | no|
|
250
|
-
| Element Set | [DCMI Metadata Terms](http://dublincore.org/documents/dcmi-terms/)|
|
251
|
-
| Example | "2015-01-01"|
|
252
|
-
|
253
|
-
### References
|
254
|
-
| Label | References|
|
255
|
-
|:------------------------------|:---------------------------------------------------------|
|
256
|
-
| uri | `dct_references_s`|
|
257
|
-
| Required | no|
|
258
|
-
| Type | string|
|
259
|
-
| Description | This element is a hash of key/value pairs for different types of external links. It integrates external services and references using the CatInterOp approach|
|
260
|
-
| Entry Guidelines | See [External Services](https://github.com/geoblacklight/geoblacklight/wiki/Schema#external-services)|
|
261
|
-
| Controlled Vocabulary | [References URIs](/schema/references.md)|
|
262
|
-
| Element Set | DCMI Metadata Terms|
|
263
|
-
| Example | "dct_references_s": "{\"http://schema.org/url\":\"http://purl.stanford.edu/bm662dm5913\",\"http://schema.org/downloadUrl\":\"http://stacks.stanford.edu/file/druid:bm662dm5913/data.zip\"}"|
|
264
|
-
|
265
|
-
### Spatial Coverage
|
266
|
-
| Label | Spatial Coverage|
|
267
|
-
|:------------------------------|:---------------------------------------------------------|
|
268
|
-
| uri | `dct_spatial_sm`|
|
269
|
-
| Required | no|
|
270
|
-
| Type | array|
|
271
|
-
| Description | This field is for place name keywords|
|
272
|
-
| Entry Guidelines | Place name text strings should be specified out to the nation level. It is typical for the place name to represent the largest extent the data layer represents.|
|
273
|
-
| Controlled Vocabulary | Recommended thesaurus is [GeoNames](https://www.geonames.org/)|
|
274
|
-
| Element Set | DCMI Metadata Terms|
|
275
|
-
| Example | "Philadelphia, Pennsylvania, United States"|
|
276
|
-
|
277
|
-
### Temporal Coverage
|
278
|
-
| Label | Temporal Coverage|
|
279
|
-
|:------------------------------|:---------------------------------------------------------|
|
280
|
-
| uri | `dct_temporal_sm`|
|
281
|
-
| Required | no|
|
282
|
-
| Type | array|
|
283
|
-
| Description | This represents the "Ground Condition" of the resource, meaning the time period data was collected or is intended to represent. Displays on the item page in the Year value|
|
284
|
-
| Entry Guidelines | This is a text string and can indicate uncertainty|
|
285
|
-
| Controlled Vocabulary | no|
|
286
|
-
| Element Set | DCMI Metadata Terms|
|
287
|
-
| Example | "2007-2009"|
|
288
|
-
|
289
|
-
### Geometry Type
|
290
|
-
| Label | Geometry Type|
|
291
|
-
|:------------------------------|:---------------------------------------------------------|
|
292
|
-
| uri | `layer_geom_type_s`|
|
293
|
-
| Required | no|
|
294
|
-
| Type | string|
|
295
|
-
| Description | This element shows up as Data type in GeoBlacklight, and each value has an associated icon|
|
296
|
-
| Entry Guidelines | Choose from set values (see Controlled Vocabulary Lists)|
|
297
|
-
| Controlled Vocabulary | [Geometry Type Controlled Vocabulary](/schema/geometry-type-values.md)|
|
298
|
-
| Element Set | GeoBlacklight|
|
299
|
-
| Example | "Polygon"|
|
300
|
-
|
301
|
-
### Layer ID
|
302
|
-
| Label | Layer ID|
|
303
|
-
|:------------------------------|:---------------------------------------------------------|
|
304
|
-
| uri | `layer_id_s`|
|
305
|
-
| Required | no|
|
306
|
-
| Type | string|
|
307
|
-
| Description | Indicates the layer id for any WMS or WFS web services listed in the dct_references_s field|
|
308
|
-
| Entry Guidelines | Only the layer name is added here. The base service endpoint URLs (e.g. "https://maps-public.geo.nyu.edu/geoserver/sdr/wms") are added to the `dct_references_s` field.|
|
309
|
-
| Controlled Vocabulary | no|
|
310
|
-
| Element Set | GeoBlacklight|
|
311
|
-
| Example | "druid:vr593vj7147"|
|
312
|
-
|
313
|
-
### Modified Date
|
314
|
-
| Label | Modified Date|
|
315
|
-
|:------------------------------|:---------------------------------------------------------|
|
316
|
-
| uri | `layer_modified_dt`|
|
317
|
-
| Required | no|
|
318
|
-
| Type | date-time|
|
319
|
-
| Description | Last modification date for the metadata record|
|
320
|
-
| Entry Guidelines | Use the XML Schema dateTime format (YYYY-MM-DDThh:mm:ssZ)|
|
321
|
-
| Controlled Vocabulary | no|
|
322
|
-
| Element Set | GeoBlacklight|
|
323
|
-
| Example | "2015-01-01T12:00:00Z"|
|