geoblacklight 5.0.0.pre.alpha.11 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/build-demo-app.yml +7 -4
- data/.github/workflows/ruby.yml +12 -15
- data/Rakefile +9 -1
- data/app/assets/stylesheets/geoblacklight/modules/_base.scss +0 -1
- data/app/assets/stylesheets/geoblacklight/modules/geosearch.scss +0 -6
- data/app/assets/stylesheets/geoblacklight/modules/results.scss +4 -0
- data/app/components/geoblacklight/static_map_component.rb +3 -1
- data/app/javascript/geoblacklight/controllers/leaflet_viewer_controller.js +6 -3
- data/app/javascript/geoblacklight/controllers/openlayers_viewer_controller.js +6 -0
- data/app/javascript/geoblacklight/leaflet/controls/layer_opacity.js +1 -1
- data/app/javascript/geoblacklight/leaflet/controls/sleep.js +98 -0
- data/app/javascript/geoblacklight/openlayers/inspection.js +44 -0
- data/app/models/concerns/geoblacklight/solr_document/inspection.rb +1 -1
- data/geoblacklight.gemspec +2 -1
- data/lib/generators/geoblacklight/assets/importmap_generator.rb +0 -5
- data/lib/generators/geoblacklight/assets/vite_generator.rb +23 -21
- data/lib/generators/geoblacklight/templates/base.html.erb +4 -7
- data/lib/generators/geoblacklight/templates/settings.yml +8 -0
- data/lib/geoblacklight/version.rb +1 -1
- data/package.json +3 -3
- data/spec/features/layer_inspection_spec.rb +9 -0
- data/spec/features/relations_spec.rb +1 -1
- data/spec/fixtures/solr_documents/b1g_wabash_child_15.json +27 -33
- data/spec/fixtures/solr_documents/b1g_wabash_child_16.json +28 -36
- data/spec/fixtures/solr_documents/b1g_wabash_child_17.json +27 -33
- data/spec/fixtures/solr_documents/b1g_wabash_child_18.json +27 -33
- data/spec/fixtures/solr_documents/b1g_wabash_parent.json +25 -28
- data/spec/fixtures/solr_documents/esri-image-map-layer.json +25 -26
- data/spec/spec_helper.rb +1 -0
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +0 -10
- data/template.rb +9 -2
- metadata +8 -8
- data/app/assets/stylesheets/geoblacklight/modules/facets.scss +0 -5
- data/lib/generators/geoblacklight/templates/package.json +0 -16
@@ -1,9 +1,7 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"gbl_mdVersion_s": "Aardvark",
|
4
|
-
"dct_title_s": "Wabash Topo (16): Indiana, 1929",
|
2
|
+
"dct_title_s": "Wabash Aerial (16): Indiana, 1929",
|
5
3
|
"dct_description_sm": [
|
6
|
-
"The
|
4
|
+
"The images represented here are the raster orthophoto set collected by remote sensing of 25 aerial images owned by EAS library. Each aerial image was up to 450MB, 400dpi, grayscale. These images can be viewed and performed in the using either ArcGIS Desktop or QGIS (user choice), referencing against a number of known mapsets like the 2005 Indiana Orthophoto setand USGS DRGs. The geographic coordinate system reference of the maps included are applied in GCS_WGS_1984."
|
7
5
|
],
|
8
6
|
"dct_language_sm": [
|
9
7
|
"eng"
|
@@ -12,53 +10,47 @@
|
|
12
10
|
"Brock & Weymouth Inc.",
|
13
11
|
"United States Engineer Office"
|
14
12
|
],
|
15
|
-
"
|
16
|
-
"Purdue University Libraries"
|
17
|
-
],
|
13
|
+
"schema_provider_s": "Purdue University",
|
18
14
|
"gbl_resourceClass_sm": [
|
19
|
-
"
|
20
|
-
],
|
21
|
-
"dcat_keyword_sm": [
|
22
|
-
"Topography",
|
23
|
-
"Purdue Georeferenced Imagery"
|
15
|
+
"Imagery"
|
24
16
|
],
|
25
17
|
"dcat_theme_sm": [
|
26
|
-
"Imagery
|
18
|
+
"Imagery"
|
19
|
+
],
|
20
|
+
"dcat_keyword_sm": [
|
21
|
+
"Universities",
|
22
|
+
"Campuses"
|
27
23
|
],
|
28
|
-
"dct_issued_s": "2015-10-31",
|
29
24
|
"dct_temporal_sm": [
|
30
25
|
"1929"
|
31
26
|
],
|
32
|
-
"
|
33
|
-
"[1929 TO 1929]"
|
34
|
-
],
|
27
|
+
"dct_issued_s": "2015-11-02",
|
35
28
|
"gbl_indexYear_im": [
|
36
29
|
1929
|
37
30
|
],
|
31
|
+
"gbl_dateRange_drsim": [
|
32
|
+
"[1929 TO 1929]"
|
33
|
+
],
|
38
34
|
"dct_spatial_sm": [
|
39
|
-
"Indiana"
|
40
|
-
"Tippecano County, Indiana",
|
41
|
-
"Wabash River, Indiana"
|
35
|
+
"Indiana"
|
42
36
|
],
|
43
|
-
"locn_geometry": "ENVELOPE(-87.
|
44
|
-
"dcat_bbox": "ENVELOPE(-87.
|
45
|
-
"dcat_centroid": "39.
|
37
|
+
"locn_geometry": "ENVELOPE(-87.4824,-87.3368,39.605,39.5309)",
|
38
|
+
"dcat_bbox": "ENVELOPE(-87.4824,-87.3368,39.605,39.5309)",
|
39
|
+
"dcat_centroid": "39.567949999999996,-87.4096",
|
46
40
|
"pcdm_memberOf_sm": [
|
47
|
-
"
|
41
|
+
"dc8c18df-7d64-4ff4-a754-d18d0891187d"
|
48
42
|
],
|
49
|
-
"
|
50
|
-
"
|
43
|
+
"dct_isPartOf_sm": [
|
44
|
+
"09d-01",
|
45
|
+
"eee6150b-ce2f-4837-9d17-ce72a0c1c26f"
|
51
46
|
],
|
47
|
+
"dct_accessRights_s": "Public",
|
52
48
|
"dct_format_s": "GeoTIFF",
|
53
|
-
"dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://mapsweb.lib.purdue.edu/datasets/Wabash1929/
|
49
|
+
"dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://mapsweb.lib.purdue.edu/datasets/Wabash1929/wabashAerial_16.tif.zip\",\"urn:x-esri:serviceType:ArcGIS#ImageMapLayer\":\"https://mapsweb.lib.purdue.edu/arcgis/rest/services/Purdue/wabashaerial/ImageServer\",\"http://schema.org/url\":\"https://mapsweb.lib.purdue.edu/wabashriver/\"}",
|
50
|
+
"id": "972872c0-3459-438c-8ef0-6e8ff8110395",
|
54
51
|
"dct_identifier_sm": [
|
55
|
-
"
|
52
|
+
"972872c0-3459-438c-8ef0-6e8ff8110395"
|
56
53
|
],
|
57
|
-
"
|
58
|
-
"
|
59
|
-
|
60
|
-
],
|
61
|
-
"dct_accessRights_s": "Public",
|
62
|
-
"gbl_suppressed_b": true,
|
63
|
-
"gbl_mdModified_dt": "2021-05-07T23:00:10Z"
|
64
|
-
}
|
54
|
+
"gbl_mdModified_dt": "2022-05-31T13:44:06Z",
|
55
|
+
"gbl_mdVersion_s": "Aardvark"
|
56
|
+
}
|
@@ -1,9 +1,7 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"gbl_mdVersion_s": "Aardvark",
|
4
|
-
"dct_title_s": "Wabash Topo (17): Indiana, 1929",
|
2
|
+
"dct_title_s": "Wabash Aerial (17): Indiana, 1929",
|
5
3
|
"dct_description_sm": [
|
6
|
-
"The
|
4
|
+
"The images represented here are the raster orthophoto set collected by remote sensing of 25 aerial images owned by EAS library. Each aerial image was up to 450MB, 400dpi, grayscale. These images can be viewed and performed in the using either ArcGIS Desktop or QGIS (user choice), referencing against a number of known mapsets like the 2005 Indiana Orthophoto setand USGS DRGs. The geographic coordinate system reference of the maps included are applied in GCS_WGS_1984."
|
7
5
|
],
|
8
6
|
"dct_language_sm": [
|
9
7
|
"eng"
|
@@ -12,51 +10,47 @@
|
|
12
10
|
"Brock & Weymouth Inc.",
|
13
11
|
"United States Engineer Office"
|
14
12
|
],
|
15
|
-
"
|
16
|
-
"Purdue University Libraries"
|
17
|
-
],
|
13
|
+
"schema_provider_s": "Purdue University",
|
18
14
|
"gbl_resourceClass_sm": [
|
19
|
-
"
|
20
|
-
],
|
21
|
-
"dcat_keyword_sm": [
|
22
|
-
"Topography",
|
23
|
-
"Purdue Georeferenced Imagery"
|
15
|
+
"Imagery"
|
24
16
|
],
|
25
17
|
"dcat_theme_sm": [
|
26
|
-
"Imagery
|
18
|
+
"Imagery"
|
19
|
+
],
|
20
|
+
"dcat_keyword_sm": [
|
21
|
+
"Universities",
|
22
|
+
"Campuses"
|
27
23
|
],
|
28
|
-
"dct_issued_s": "2015-10-31",
|
29
24
|
"dct_temporal_sm": [
|
30
25
|
"1929"
|
31
26
|
],
|
32
|
-
"
|
33
|
-
"[1929 TO 1929]"
|
34
|
-
],
|
27
|
+
"dct_issued_s": "2015-11-02",
|
35
28
|
"gbl_indexYear_im": [
|
36
29
|
1929
|
37
30
|
],
|
31
|
+
"gbl_dateRange_drsim": [
|
32
|
+
"[1929 TO 1929]"
|
33
|
+
],
|
38
34
|
"dct_spatial_sm": [
|
39
35
|
"Indiana"
|
40
36
|
],
|
41
|
-
"locn_geometry": "ENVELOPE(-87.
|
42
|
-
"dcat_bbox": "ENVELOPE(-87.
|
43
|
-
"dcat_centroid": "39.
|
37
|
+
"locn_geometry": "ENVELOPE(-87.4646,-87.3186,39.673,39.5987)",
|
38
|
+
"dcat_bbox": "ENVELOPE(-87.4646,-87.3186,39.673,39.5987)",
|
39
|
+
"dcat_centroid": "39.635850000000005,-87.39160000000001",
|
44
40
|
"pcdm_memberOf_sm": [
|
45
|
-
"
|
41
|
+
"dc8c18df-7d64-4ff4-a754-d18d0891187d"
|
46
42
|
],
|
47
|
-
"
|
48
|
-
"
|
43
|
+
"dct_isPartOf_sm": [
|
44
|
+
"09d-01",
|
45
|
+
"eee6150b-ce2f-4837-9d17-ce72a0c1c26f"
|
49
46
|
],
|
47
|
+
"dct_accessRights_s": "Public",
|
50
48
|
"dct_format_s": "GeoTIFF",
|
51
|
-
"dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://mapsweb.lib.purdue.edu/datasets/Wabash1929/
|
49
|
+
"dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://mapsweb.lib.purdue.edu/datasets/Wabash1929/wabashAerial_17.tif.zip\",\"urn:x-esri:serviceType:ArcGIS#ImageMapLayer\":\"https://mapsweb.lib.purdue.edu/arcgis/rest/services/Purdue/wabashaerial/ImageServer\",\"http://schema.org/url\":\"https://mapsweb.lib.purdue.edu/wabashriver/\"}",
|
50
|
+
"id": "33ecd1bd-c532-422c-8996-d8c1800aed5b",
|
52
51
|
"dct_identifier_sm": [
|
53
|
-
"
|
52
|
+
"33ecd1bd-c532-422c-8996-d8c1800aed5b"
|
54
53
|
],
|
55
|
-
"
|
56
|
-
"
|
57
|
-
|
58
|
-
],
|
59
|
-
"dct_accessRights_s": "Public",
|
60
|
-
"gbl_suppressed_b": true,
|
61
|
-
"gbl_mdModified_dt": "2021-05-07T23:00:10Z"
|
62
|
-
}
|
54
|
+
"gbl_mdModified_dt": "2022-05-31T13:44:06Z",
|
55
|
+
"gbl_mdVersion_s": "Aardvark"
|
56
|
+
}
|
@@ -1,9 +1,7 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"gbl_mdVersion_s": "Aardvark",
|
4
|
-
"dct_title_s": "Wabash Topo (18): Indiana, 1929",
|
2
|
+
"dct_title_s": "Wabash Aerial (18): Indiana, 1929",
|
5
3
|
"dct_description_sm": [
|
6
|
-
"The
|
4
|
+
"The images represented here are the raster orthophoto set collected by remote sensing of 25 aerial images owned by EAS library. Each aerial image was up to 450MB, 400dpi, grayscale. These images can be viewed and performed in the using either ArcGIS Desktop or QGIS (user choice), referencing against a number of known mapsets like the 2005 Indiana Orthophoto setand USGS DRGs. The geographic coordinate system reference of the maps included are applied in GCS_WGS_1984."
|
7
5
|
],
|
8
6
|
"dct_language_sm": [
|
9
7
|
"eng"
|
@@ -12,51 +10,47 @@
|
|
12
10
|
"Brock & Weymouth Inc.",
|
13
11
|
"United States Engineer Office"
|
14
12
|
],
|
15
|
-
"
|
16
|
-
"Purdue University Libraries"
|
17
|
-
],
|
13
|
+
"schema_provider_s": "Purdue University",
|
18
14
|
"gbl_resourceClass_sm": [
|
19
|
-
"
|
20
|
-
],
|
21
|
-
"dcat_keyword_sm": [
|
22
|
-
"Topography",
|
23
|
-
"Purdue Georeferenced Imagery"
|
15
|
+
"Imagery"
|
24
16
|
],
|
25
17
|
"dcat_theme_sm": [
|
26
|
-
"Imagery
|
18
|
+
"Imagery"
|
19
|
+
],
|
20
|
+
"dcat_keyword_sm": [
|
21
|
+
"Universities",
|
22
|
+
"Campuses"
|
27
23
|
],
|
28
|
-
"dct_issued_s": "2015-10-30",
|
29
24
|
"dct_temporal_sm": [
|
30
25
|
"1929"
|
31
26
|
],
|
32
|
-
"
|
33
|
-
"[1929 TO 1929]"
|
34
|
-
],
|
27
|
+
"dct_issued_s": "2015-11-02",
|
35
28
|
"gbl_indexYear_im": [
|
36
29
|
1929
|
37
30
|
],
|
31
|
+
"gbl_dateRange_drsim": [
|
32
|
+
"[1929 TO 1929]"
|
33
|
+
],
|
38
34
|
"dct_spatial_sm": [
|
39
35
|
"Indiana"
|
40
36
|
],
|
41
|
-
"locn_geometry": "ENVELOPE(-87.
|
42
|
-
"dcat_bbox": "ENVELOPE(-87.
|
43
|
-
"dcat_centroid": "39.
|
37
|
+
"locn_geometry": "ENVELOPE(-87.4104,-87.3281,39.7406,39.6668)",
|
38
|
+
"dcat_bbox": "ENVELOPE(-87.4104,-87.3281,39.7406,39.6668)",
|
39
|
+
"dcat_centroid": "39.7037,-87.36925",
|
44
40
|
"pcdm_memberOf_sm": [
|
45
|
-
"
|
41
|
+
"dc8c18df-7d64-4ff4-a754-d18d0891187d"
|
46
42
|
],
|
47
|
-
"
|
48
|
-
"
|
43
|
+
"dct_isPartOf_sm": [
|
44
|
+
"09d-01",
|
45
|
+
"eee6150b-ce2f-4837-9d17-ce72a0c1c26f"
|
49
46
|
],
|
47
|
+
"dct_accessRights_s": "Public",
|
50
48
|
"dct_format_s": "GeoTIFF",
|
51
|
-
"dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://mapsweb.lib.purdue.edu/datasets/Wabash1929/
|
49
|
+
"dct_references_s": "{\"http://schema.org/downloadUrl\":\"https://mapsweb.lib.purdue.edu/datasets/Wabash1929/wabashAerial_18.tif.zip\",\"urn:x-esri:serviceType:ArcGIS#ImageMapLayer\":\"https://mapsweb.lib.purdue.edu/arcgis/rest/services/Purdue/wabashaerial/ImageServer\",\"http://schema.org/url\":\"https://mapsweb.lib.purdue.edu/wabashriver/\"}",
|
50
|
+
"id": "1b315c9c-f3f7-44be-a77b-2b726e87ff94",
|
52
51
|
"dct_identifier_sm": [
|
53
|
-
"
|
52
|
+
"1b315c9c-f3f7-44be-a77b-2b726e87ff94"
|
54
53
|
],
|
55
|
-
"
|
56
|
-
"
|
57
|
-
|
58
|
-
],
|
59
|
-
"dct_accessRights_s": "Public",
|
60
|
-
"gbl_suppressed_b": true,
|
61
|
-
"gbl_mdModified_dt": "2021-05-07T23:00:10Z"
|
62
|
-
}
|
54
|
+
"gbl_mdModified_dt": "2022-05-31T13:44:07Z",
|
55
|
+
"gbl_mdVersion_s": "Aardvark"
|
56
|
+
}
|
@@ -1,9 +1,7 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
"gbl_mdVersion_s": "Aardvark",
|
4
|
-
"dct_title_s": "Wabash River Topographic Maps: Indiana, 1929",
|
2
|
+
"dct_title_s": "Wabash River Aerial Imagery: Indiana, 1929",
|
5
3
|
"dct_description_sm": [
|
6
|
-
"See Related Records below to download individual GeoTIFFs. The
|
4
|
+
"See Related Records below to download individual GeoTIFFs. The images represented here are the raster orthophoto set collected by remote sensing of 25 aerial images owned by EAS library. Each aerial image was up to 450MB, 400dpi, grayscale. These images can be viewed and performed in the using either ArcGIS Desktop or QGIS (user choice), referencing against a number of known mapsets like the 2005 Indiana Orthophoto setand USGS DRGs. The geographic coordinate system reference of the maps included are applied in GCS_WGS_1984."
|
7
5
|
],
|
8
6
|
"dct_language_sm": [
|
9
7
|
"eng"
|
@@ -12,48 +10,47 @@
|
|
12
10
|
"Brock & Weymouth Inc.",
|
13
11
|
"United States Engineer Office"
|
14
12
|
],
|
15
|
-
"
|
16
|
-
"Purdue University Libraries"
|
17
|
-
],
|
13
|
+
"schema_provider_s": "Purdue University",
|
18
14
|
"gbl_resourceClass_sm": [
|
19
|
-
"
|
20
|
-
],
|
21
|
-
"dcat_keyword_sm": [
|
22
|
-
"Topography",
|
23
|
-
"Purdue Georeferenced Imagery"
|
15
|
+
"Imagery"
|
24
16
|
],
|
25
17
|
"dcat_theme_sm": [
|
26
|
-
"Imagery
|
18
|
+
"Imagery"
|
19
|
+
],
|
20
|
+
"dcat_keyword_sm": [
|
21
|
+
"Universities",
|
22
|
+
"Campuses"
|
27
23
|
],
|
28
|
-
"dct_issued_s": "2015-10-17",
|
29
24
|
"dct_temporal_sm": [
|
30
25
|
"1929"
|
31
26
|
],
|
32
|
-
"
|
33
|
-
"[1929 TO 1929]"
|
34
|
-
],
|
27
|
+
"dct_issued_s": "2015-11-03",
|
35
28
|
"gbl_indexYear_im": [
|
36
29
|
1929
|
37
30
|
],
|
31
|
+
"gbl_dateRange_drsim": [
|
32
|
+
"[1929 TO 1929]"
|
33
|
+
],
|
38
34
|
"dct_spatial_sm": [
|
39
|
-
"Indiana"
|
35
|
+
"Indiana",
|
36
|
+
"West Lafayette, Indiana"
|
40
37
|
],
|
41
38
|
"locn_geometry": "ENVELOPE(-87.5291,-86.2066,40.8009,39.3999)",
|
42
39
|
"dcat_bbox": "ENVELOPE(-87.5291,-86.2066,40.8009,39.3999)",
|
43
40
|
"dcat_centroid": "40.1004,-86.86785",
|
44
41
|
"pcdm_memberOf_sm": [
|
45
|
-
"
|
42
|
+
"dc8c18df-7d64-4ff4-a754-d18d0891187d"
|
46
43
|
],
|
47
|
-
"
|
48
|
-
"
|
44
|
+
"dct_isPartOf_sm": [
|
45
|
+
"09d-01"
|
49
46
|
],
|
47
|
+
"dct_accessRights_s": "Public",
|
50
48
|
"dct_format_s": "Image Service",
|
51
|
-
"dct_references_s": "{\"urn:x-esri:serviceType:ArcGIS#ImageMapLayer\":\"https://mapsweb.lib.purdue.edu/arcgis/rest/services/Purdue/
|
49
|
+
"dct_references_s": "{\"urn:x-esri:serviceType:ArcGIS#ImageMapLayer\":\"https://mapsweb.lib.purdue.edu/arcgis/rest/services/Purdue/wabashaerial/ImageServer\",\"http://schema.org/url\":\"https://mapsweb.lib.purdue.edu/wabashriver/\"}",
|
50
|
+
"id": "eee6150b-ce2f-4837-9d17-ce72a0c1c26f",
|
52
51
|
"dct_identifier_sm": [
|
53
|
-
"
|
52
|
+
"eee6150b-ce2f-4837-9d17-ce72a0c1c26f"
|
54
53
|
],
|
55
|
-
"
|
56
|
-
"
|
57
|
-
|
58
|
-
"gbl_mdModified_dt": "2021-05-07T23:00:10Z"
|
59
|
-
}
|
54
|
+
"gbl_mdModified_dt": "2022-05-31T13:44:08Z",
|
55
|
+
"gbl_mdVersion_s": "Aardvark"
|
56
|
+
}
|
@@ -1,35 +1,30 @@
|
|
1
1
|
{
|
2
|
-
"dct_title_s": "Wabash
|
3
|
-
"dct_alternative_sm": [
|
4
|
-
"esri-image-map-layer"
|
5
|
-
],
|
2
|
+
"dct_title_s": "Wabash River Aerial Imagery: Indiana, 1929",
|
6
3
|
"dct_description_sm": [
|
7
|
-
"ArcGIS
|
8
|
-
"The maps represented here are on tiff files owned by EAS library. The topos were scanned in color and are up to 550MB each. These images can be viewed and performed in the using either ArcGIS Desktop or QGIS (user choice), referencing against a number of known mapsets like the 2005 Indiana Orthophoto setand USGS DRGs. The geographic coordinate system reference of the maps included are applied in GCS_WGS_1984."
|
4
|
+
"See Related Records below to download individual GeoTIFFs. The images represented here are the raster orthophoto set collected by remote sensing of 25 aerial images owned by EAS library. Each aerial image was up to 450MB, 400dpi, grayscale. These images can be viewed and performed in the using either ArcGIS Desktop or QGIS (user choice), referencing against a number of known mapsets like the 2005 Indiana Orthophoto setand USGS DRGs. The geographic coordinate system reference of the maps included are applied in GCS_WGS_1984."
|
9
5
|
],
|
10
6
|
"dct_language_sm": [
|
11
7
|
"eng"
|
12
8
|
],
|
13
|
-
"
|
14
|
-
"
|
9
|
+
"dct_creator_sm": [
|
10
|
+
"Brock & Weymouth Inc.",
|
11
|
+
"United States Engineer Office"
|
15
12
|
],
|
16
13
|
"schema_provider_s": "Purdue University",
|
17
14
|
"gbl_resourceClass_sm": [
|
18
|
-
"
|
19
|
-
],
|
20
|
-
"gbl_resourceType_sm": [
|
21
|
-
"Topographic maps"
|
15
|
+
"Imagery"
|
22
16
|
],
|
23
17
|
"dcat_theme_sm": [
|
24
18
|
"Imagery"
|
25
19
|
],
|
26
20
|
"dcat_keyword_sm": [
|
27
|
-
"
|
21
|
+
"Universities",
|
22
|
+
"Campuses"
|
28
23
|
],
|
29
24
|
"dct_temporal_sm": [
|
30
25
|
"1929"
|
31
26
|
],
|
32
|
-
"dct_issued_s": "2015-
|
27
|
+
"dct_issued_s": "2015-11-03",
|
33
28
|
"gbl_indexYear_im": [
|
34
29
|
1929
|
35
30
|
],
|
@@ -37,21 +32,25 @@
|
|
37
32
|
"[1929 TO 1929]"
|
38
33
|
],
|
39
34
|
"dct_spatial_sm": [
|
40
|
-
"Indiana"
|
35
|
+
"Indiana",
|
36
|
+
"West Lafayette, Indiana"
|
37
|
+
],
|
38
|
+
"locn_geometry": "ENVELOPE(-87.5291,-86.2066,40.8009,39.3999)",
|
39
|
+
"dcat_bbox": "ENVELOPE(-87.5291,-86.2066,40.8009,39.3999)",
|
40
|
+
"dcat_centroid": "40.1004,-86.86785",
|
41
|
+
"pcdm_memberOf_sm": [
|
42
|
+
"dc8c18df-7d64-4ff4-a754-d18d0891187d"
|
41
43
|
],
|
42
|
-
"
|
43
|
-
|
44
|
-
"dcat_centroid": "40.272193,-87.24955399999999",
|
45
|
-
"dct_source_sm": [
|
46
|
-
"88cc9b19-3294-4da9-9edd-775c81fb1c59"
|
44
|
+
"dct_isPartOf_sm": [
|
45
|
+
"09d-01"
|
47
46
|
],
|
48
47
|
"dct_accessRights_s": "Public",
|
49
|
-
"dct_format_s": "
|
50
|
-
"dct_references_s": "{\"
|
51
|
-
"id": "
|
48
|
+
"dct_format_s": "Image Service",
|
49
|
+
"dct_references_s": "{\"urn:x-esri:serviceType:ArcGIS#ImageMapLayer\":\"https://mapsweb.lib.purdue.edu/arcgis/rest/services/Purdue/wabashaerial/ImageServer\",\"http://schema.org/url\":\"https://mapsweb.lib.purdue.edu/wabashriver/\"}",
|
50
|
+
"id": "eee6150b-ce2f-4837-9d17-ce72a0c1c26f",
|
52
51
|
"dct_identifier_sm": [
|
53
|
-
"
|
52
|
+
"eee6150b-ce2f-4837-9d17-ce72a0c1c26f"
|
54
53
|
],
|
55
|
-
"gbl_mdModified_dt": "
|
54
|
+
"gbl_mdModified_dt": "2022-05-31T13:44:08Z",
|
56
55
|
"gbl_mdVersion_s": "Aardvark"
|
57
|
-
}
|
56
|
+
}
|
data/spec/spec_helper.rb
CHANGED
@@ -13,6 +13,7 @@ end
|
|
13
13
|
SimpleCov.start "rails" do
|
14
14
|
add_filter "lib/generators/geoblacklight/install_generator.rb"
|
15
15
|
add_filter "lib/geoblacklight/version.rb"
|
16
|
+
add_filter "lib/geoblacklight/engine.rb"
|
16
17
|
add_filter "lib/generators"
|
17
18
|
add_filter "lib/tasks/geoblacklight.rake"
|
18
19
|
add_filter "/spec"
|
@@ -13,16 +13,6 @@ class TestAppGenerator < Rails::Generators::Base
|
|
13
13
|
end
|
14
14
|
end
|
15
15
|
|
16
|
-
def build_frontend
|
17
|
-
run "yarn install && yarn build"
|
18
|
-
end
|
19
|
-
|
20
|
-
# This makes the assets available in the test app so that changes made in
|
21
|
-
# local development can be picked up automatically
|
22
|
-
def link_frontend
|
23
|
-
run "yarn link"
|
24
|
-
end
|
25
|
-
|
26
16
|
def run_blacklight_generator
|
27
17
|
say_status("warning", "GENERATING BL", :yellow)
|
28
18
|
|
data/template.rb
CHANGED
@@ -4,14 +4,21 @@ gem "blacklight", "~> 8.0"
|
|
4
4
|
|
5
5
|
# Ensure the app generates with Propshaft; sprockets is no longer supported
|
6
6
|
# https://github.com/geoblacklight/geoblacklight/issues/1265
|
7
|
-
ENV["ENGINE_CART_RAILS_OPTIONS"] = ENV["ENGINE_CART_RAILS_OPTIONS"].to_s + " -a propshaft"
|
7
|
+
ENV["ENGINE_CART_RAILS_OPTIONS"] = ENV["ENGINE_CART_RAILS_OPTIONS"].to_s + " -a propshaft --css bootstrap"
|
8
|
+
|
9
|
+
# Use importmaps for JS if requested, otherwise default to vite
|
10
|
+
ENV["ENGINE_CART_RAILS_OPTIONS"] += if ENV["ASSET_PIPELINE"] == "importmap"
|
11
|
+
" --js importmap"
|
12
|
+
else
|
13
|
+
" --js rollup"
|
14
|
+
end
|
8
15
|
|
9
16
|
# Install latest version of geoblacklight gem if running
|
10
17
|
# generator with a development branch.
|
11
18
|
if ENV["BRANCH"]
|
12
19
|
gem "geoblacklight", github: "geoblacklight/geoblacklight", branch: ENV["BRANCH"]
|
13
20
|
else
|
14
|
-
gem "geoblacklight", "~>
|
21
|
+
gem "geoblacklight", "~> 5.0"
|
15
22
|
end
|
16
23
|
|
17
24
|
run "bundle install"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geoblacklight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Graves
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2025-
|
14
|
+
date: 2025-04-17 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -22,7 +22,7 @@ dependencies:
|
|
22
22
|
version: '6.1'
|
23
23
|
- - "<"
|
24
24
|
- !ruby/object:Gem::Version
|
25
|
-
version: '
|
25
|
+
version: '9'
|
26
26
|
type: :runtime
|
27
27
|
prerelease: false
|
28
28
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '6.1'
|
33
33
|
- - "<"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: '
|
35
|
+
version: '9'
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: blacklight
|
38
38
|
requirement: !ruby/object:Gem::Requirement
|
@@ -389,7 +389,6 @@ files:
|
|
389
389
|
- app/assets/stylesheets/geoblacklight/modules/_blacklight_overrides.scss
|
390
390
|
- app/assets/stylesheets/geoblacklight/modules/_styles.scss
|
391
391
|
- app/assets/stylesheets/geoblacklight/modules/downloads.scss
|
392
|
-
- app/assets/stylesheets/geoblacklight/modules/facets.scss
|
393
392
|
- app/assets/stylesheets/geoblacklight/modules/geosearch.scss
|
394
393
|
- app/assets/stylesheets/geoblacklight/modules/home.scss
|
395
394
|
- app/assets/stylesheets/geoblacklight/modules/icon-customization.scss
|
@@ -561,12 +560,14 @@ files:
|
|
561
560
|
- app/javascript/geoblacklight/leaflet/constants.js
|
562
561
|
- app/javascript/geoblacklight/leaflet/controls/geosearch.js
|
563
562
|
- app/javascript/geoblacklight/leaflet/controls/layer_opacity.js
|
563
|
+
- app/javascript/geoblacklight/leaflet/controls/sleep.js
|
564
564
|
- app/javascript/geoblacklight/leaflet/inspection.js
|
565
565
|
- app/javascript/geoblacklight/leaflet/layer_index_map.js
|
566
566
|
- app/javascript/geoblacklight/leaflet/layer_wmts.js
|
567
567
|
- app/javascript/geoblacklight/leaflet/layers.js
|
568
568
|
- app/javascript/geoblacklight/leaflet/utils.js
|
569
569
|
- app/javascript/geoblacklight/openlayers/basemaps.js
|
570
|
+
- app/javascript/geoblacklight/openlayers/inspection.js
|
570
571
|
- app/javascript/geoblacklight/openlayers/layers.js
|
571
572
|
- app/models/concerns/geoblacklight/bbox_filter_field.rb
|
572
573
|
- app/models/concerns/geoblacklight/bbox_filter_query.rb
|
@@ -610,7 +611,6 @@ files:
|
|
610
611
|
- lib/generators/geoblacklight/templates/demo-app/Dockerfile
|
611
612
|
- lib/generators/geoblacklight/templates/demo-app/compose.yml
|
612
613
|
- lib/generators/geoblacklight/templates/demo-app/start-server.sh
|
613
|
-
- lib/generators/geoblacklight/templates/package.json
|
614
614
|
- lib/generators/geoblacklight/templates/settings.yml
|
615
615
|
- lib/generators/geoblacklight/templates/vite.config.ts
|
616
616
|
- lib/generators/geoblacklight/templates/vite.json
|
@@ -948,14 +948,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
948
948
|
requirements:
|
949
949
|
- - ">="
|
950
950
|
- !ruby/object:Gem::Version
|
951
|
-
version:
|
951
|
+
version: 3.2.0
|
952
952
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
953
953
|
requirements:
|
954
954
|
- - ">="
|
955
955
|
- !ruby/object:Gem::Version
|
956
956
|
version: 2.5.2
|
957
957
|
requirements: []
|
958
|
-
rubygems_version: 3.5.
|
958
|
+
rubygems_version: 3.5.11
|
959
959
|
signing_key:
|
960
960
|
specification_version: 4
|
961
961
|
summary: A discovery platform for geospatial holdings
|
@@ -1,16 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"dependencies": {
|
3
|
-
"@github/auto-complete-element": "3.6.2",
|
4
|
-
"@hotwired/stimulus": "^3.2.2",
|
5
|
-
"@hotwired/turbo-rails": "^8.0.4",
|
6
|
-
"@popperjs/core": "2.11.8",
|
7
|
-
"blacklight-frontend": "8.3.0",
|
8
|
-
"bootstrap": "^5.3.3",
|
9
|
-
"sass": "^1.77.7"
|
10
|
-
},
|
11
|
-
"devDependencies": {
|
12
|
-
"vite": "^5.1.5",
|
13
|
-
"vite-plugin-ruby": "^5.0.0",
|
14
|
-
"vite-plugin-rails": "^0.5.0"
|
15
|
-
}
|
16
|
-
}
|