-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.yml
288 lines (268 loc) · 7.29 KB
/
settings.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
# Configurable Logo Used for CartoDB export
APPLICATION_LOGO_URL: 'http://geoblacklight.org/images/geoblacklight-logo.png'
# Carto OneClick Service https://carto.com/engine/open-in-carto/
CARTO_ONECLICK_LINK: 'http://oneclick.carto.com/'
# ArcGIS Online Base URL
ARCGIS_BASE_URL: 'https://www.arcgis.com/home/webmap/viewer.html'
# Download path can be configured using this setting
#DOWNLOAD_PATH: "./tmp/cache/downloads"
# The bq boost value for spatial search matches within a bounding box
BBOX_WITHIN_BOOST: '10'
# The bf boost value for overlap ratio
OVERLAP_RATIO_BOOST: '2'
# Homepage Map Geometry
# Leave null to default to entire world
# Add a stringified GeoJSON object to scope initial render (example from UMass)
# HOMEPAGE_MAP_GEOM: null
HOMEPAGE_MAP_GEOM: '{"type":"Polygon","coordinates":[[[-115.24,37.29],[-115.24, 31.18],[-108.62,37.29],[-108.62,31.18]]]}'
# Non-search-field GeoBlacklight application permitted params
GBL_PARAMS:
- :bbox
- :email
- :file
- :format
- :id
- :logo
- :provider
- :type
- :BBOX
- :HEIGHT
- :LAYERS
- :QUERY_LAYERS
- :URL
- :WIDTH
- :X
- :Y
# Solr field mappings
FIELDS:
:ACCESS_RIGHTS: 'dct_accessRights_s'
:ALTERNATIVE_TITLE: 'dct_alternative_sm'
:CENTROID: 'dcat_centroid'
:CREATOR: 'dct_creator_sm'
:DATE_ISSUED: 'dct_issued_s'
:DATE_RANGE: 'gbl_dateRange_drsim'
:DESCRIPTION: 'dct_description_sm'
:DISPLAY_NOTE: 'gbl_displayNote_sm'
:FORMAT: 'dct_format_s'
:FILE_SIZE: 'gbl_fileSize_s'
:GEOREFERENCED: 'gbl_georeferenced_b'
:ID: 'id'
:IDENTIFIER: 'dct_identifier_sm'
:INDEX_YEAR: 'gbl_indexYear_im'
:IS_PART_OF: 'dct_isPartOf_sm'
:IS_REPLACED_BY: 'dct_isReplacedBy_sm'
:THEME: 'dcat_theme_sm'
:KEYWORD: 'dcat_keyword_sm'
:LANGUAGE: 'dct_language_sm'
:LAYER_MODIFIED: 'gbl_mdModified_dt'
:LICENSE: 'dct_license_sm'
:MEMBER_OF: 'pcdm_memberOf_sm'
:METADATA_VERSION: 'gbl_mdVersion_s'
:MODIFIED: 'gbl_mdModified_dt'
:OVERLAP_FIELD: 'solr_bboxtype'
:PUBLISHER: 'dct_publisher_sm'
:PROVIDER: 'schema_provider_s'
:REFERENCES: 'dct_references_s'
:RELATION: 'dct_relation_sm'
:REPLACES: 'dct_replaces_sm'
:RESOURCE_CLASS: 'gbl_resourceClass_sm'
:RESOURCE_TYPE: 'gbl_resourceType_sm'
:RIGHTS: 'dct_rights_sm'
:RIGHTS_HOLDER: 'dct_rightsHolder_sm'
:SOURCE: 'dct_source_sm'
:SPATIAL_COVERAGE: 'dct_spatial_sm'
:GEOMETRY: 'locn_geometry'
:SUBJECT: 'dct_subject_sm'
:SUPPRESSED: 'gbl_suppressed_b'
:TEMPORAL_COVERAGE: 'dct_temporal_sm'
:TITLE: 'dct_title_s'
:VERSION: 'dct_isVersionOf_sm'
:WXS_IDENTIFIER: 'gbl_wxsIdentifier_s'
# Institution deployed at
INSTITUTION: 'UNIVERSITY OF ARIZONA'
# Metadata shown in tool panel
METADATA_SHOWN:
- 'mods'
- 'fgdc'
- 'iso19139'
- 'html'
# (For external Download) timeout and open_timeout parameters for Faraday
TIMEOUT_DOWNLOAD: 16
# (For WMS inspection) timeout and open_timeout parameters for Faraday
TIMEOUT_WMS: 4
# Use the geometry type for the data relations icon
USE_GEOM_FOR_RELATIONS_ICON: false
# Web services shown in tool panel
WEBSERVICES_SHOWN:
- 'wms'
- 'tms'
- 'wfs'
- 'xyz'
- 'wmts'
- 'tilejson'
- 'iiif'
- 'feature_layer'
- 'tiled_map_layer'
- 'dynamic_map_layer'
- 'image_map_layer'
# Display Notes to display / Non-prefixed default bootstrap class is alert-secondary
DISPLAY_NOTES_SHOWN:
danger:
bootstrap_alert_class: alert-danger
icon: fire-solid
note_prefix: "Danger: "
info:
bootstrap_alert_class: alert-info
icon: circle-info-solid
note_prefix: "Info: "
tip:
bootstrap_alert_class: alert-success
icon: lightbulb-solid
note_prefix: "Tip: "
warning:
bootstrap_alert_class: alert-warning
icon: triangle-exclamation-solid
note_prefix: "Warning: "
# Relationships to display
RELATIONSHIPS_SHOWN:
MEMBER_OF_ANCESTORS:
field: pcdm_memberOf_sm
icon: parent-item
inverse: :MEMBER_OF_DESCENDANTS
label: geoblacklight.relations.member_of_ancestors
query_type: ancestors
MEMBER_OF_DESCENDANTS:
field: pcdm_memberOf_sm
icon: child-item
inverse: :MEMBER_OF_ANCESTORS
label: geoblacklight.relations.member_of_descendants
query_type: descendants
PART_OF_ANCESTORS:
field: dct_isPartOf_sm
icon: parent-item
inverse: :PART_OF_DESCENDANTS
label: geoblacklight.relations.part_of_ancestors
query_type: ancestors
PART_OF_DESCENDANTS:
field: dct_isPartOf_sm
icon: child-item
inverse: :PART_OF_ANCESTORS
label: geoblacklight.relations.part_of_descendants
query_type: descendants
RELATION_ANCESTORS:
field: dct_relation_sm
icon: nil
inverse: :RELATION_DESCENDANTS
label: geoblacklight.relations.relation_ancestors
query_type: ancestors
RELATION_DESCENDANTS:
field: dct_relation_sm
icon: nil
inverse: :RELATION_ANCESTORS
label: geoblacklight.relations.relation_descendants
query_type: descendants
REPLACES_ANCESTORS:
field: dct_replaces_sm
icon: nil
inverse: :REPLACES_DESCENDANTS
label: geoblacklight.relations.replaces_ancestors
query_type: ancestors
REPLACES_DESCENDANTS:
field: dct_replaces_sm
icon: nil
inverse: :REPLACES_ANCESTORS
label: geoblacklight.relations.replaces_descendants
query_type: descendants
SOURCE_ANCESTORS:
field: dct_source_sm
icon: parent-item
inverse: :SOURCE_DESCENDANTS
label: geoblacklight.relations.source_ancestors
query_type: ancestors
SOURCE_DESCENDANTS:
field: dct_source_sm
icon: child-item
inverse: :SOURCE_ANCESTORS
label: geoblacklight.relations.source_descendants
query_type: descendants
VERSION_OF_ANCESTORS:
field: dct_isVersionOf_sm
icon: parent-item
inverse: :VERSION_OF_DESCENDANTS
label: geoblacklight.relations.version_of_ancestors
query_type: ancestors
VERSION_OF_DESCENDANTS:
field: dct_isVersionOf_sm
icon: child-item
inverse: :VERSION_OF_ANCESTORS
label: geoblacklight.relations.version_of_descendants
query_type: descendants
# WMS Parameters
WMS_PARAMS:
:SERVICE: 'WMS'
:VERSION: '1.1.1'
:REQUEST: 'GetFeatureInfo'
:STYLES: ''
:SRS: 'EPSG:4326'
:EXCEPTIONS: 'application/json'
:INFO_FORMAT: 'text/html'
# Settings for leaflet
LEAFLET:
MAP:
LAYERS:
DETECT_RETINA: true
INDEX:
DEFAULT: &default
color: "#7FCDBB"
weight: "1"
radius: "4"
UNAVAILABLE:
<<: *default
color: "#EDF8B1"
SELECTED:
<<: *default
color: "#2C7FB8"
VIEWERS:
DYNAMICMAPLAYER:
CONTROLS:
- 'Opacity'
- 'Fullscreen'
FEATURELAYER:
CONTROLS:
- 'Opacity'
- 'Fullscreen'
IIIF:
CONTROLS:
- 'Fullscreen'
IMAGEMAPLAYER:
CONTROLS:
- 'Opacity'
- 'Fullscreen'
INDEXMAP:
CONTROLS:
- 'Fullscreen'
TILEDMAPLAYER:
CONTROLS:
- 'Opacity'
- 'Fullscreen'
WMS:
CONTROLS:
- 'Opacity'
- 'Fullscreen'
# Toggle the help text feature that offers users context
HELP_TEXT:
viewer_protocol:
- 'dynamic_map_layer'
- 'feature_layer'
- 'iiif'
- 'iiif_manifest'
- 'image_map_layer'
- 'index_map'
- 'tiled_map_layer'
- 'wms'
- 'tms'
- 'oembed'
# Enable catalog#show sidebar static map for items with the following viewer protocols
SIDEBAR_STATIC_MAP:
- 'iiif'
- 'iiif_manifest'