Skip to content

Commit 133429d

Browse files
authored
Merge pull request #118 from NYULibraries/sunset-park-behavior
makes some changes and adds prelim fixtures for Sunset Park collection
2 parents 46a8d1b + 717cfa3 commit 133429d

File tree

10 files changed

+228
-5
lines changed

10 files changed

+228
-5
lines changed
1.6 MB
Loading
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<% document ||= @document %>
2+
<div class="alert alert-warning alert-dismissible" role="alert">
3+
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span>
4+
</button>
5+
Thank you for your interest in data from the <%= link_to search_catalog_path({f: {"#{Settings.FIELDS.PART_OF}" => ['2019 Sunset Park LiDAR']}}) do %><b>2019 Sunset Park LiDAR</b><% end %> project.<br><br>
6+
We would appreciate your feedback on this unique dataset. Please take a moment to fill out <a href="https://nyu.qualtrics.com/jfe/form/SV_8nWc9X5iV2i9xLn" target="_blank">this brief survey</a> telling us a little bit about yourself, how you found the data, and how you are using it.
7+
Having an accurate idea of how users are accessing and using the data is essential to being able to produce datasets of this magnitude.<br><br>
8+
For a better sense of what this data looks like in 3D, please refer to <a href="https://skfb.ly/6MLCw">this video flythrough</a> of a portion of the covered area.<br><br>Please cite this study using the DOI: <code><a href="https://doi.org/10.17609/4cpx-2h33">doi:10.17609/4cpx-2h33</a></code>
9+
</div>

app/views/catalog/_upper_metadata.html.erb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66
<div class="alert alert-warning alert-dismissible" role="alert"><button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
77
<%= @document.rights_text.html_safe %></div>
88
<% end %>
9-
<% if (document["dc_creator_sm"]) && (document["dc_creator_sm"].include? ("Debra F. Laefer")) %>
9+
<% if (document["dct_isPartOf_sm"]) && (document["dct_isPartOf_sm"].include? ("2015 Dublin LiDAR")) %>
1010
<%= render 'laefer_notice' %>
1111
<% end %>
12+
<% if (document["dct_isPartOf_sm"]) && (document["dct_isPartOf_sm"].include? ("2019 Sunset Park LiDAR")) %>
13+
<%= render 'laefer_sunset' %>
14+
<% end %>
1215

1316
<%# From https://github.com/projectblacklight/blacklight/blob/master/app/views/catalog/_show_default.html.erb %>
1417
<%# default partial to display solr document fields in catalog show view -%>

lib/nyugeoblacklight/curated_collections.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,16 @@ def CuratedCollections.collections
1414

1515
def CuratedCollections.recent
1616
[
17-
{title: "2015 Dublin LiDAR", description: "High-density LiDAR datasets of Dublin, from Debra Laefer (NYU) and collaborators", f: {"dct_isPartOf_sm" => ["2015 Dublin LiDAR"]}},
17+
{title: "2019 Sunset Park LiDAR", description: "High-density LiDAR datasets of Sunset Park, Brooklyn, from Debra Laefer (NYU) and collaborators", f: {"dct_isPartOf_sm" => ["2019 Sunset Park LiDAR"]}},
1818
{title: "2004 New York State Tax Parcels", description: "Point data on property ownership and land value", f: {"dct_isPartOf_sm" => ["NYS GIS Clearinghouse"]}},
19-
{title: "Soviet Topographic Maps of the Arabian Peninsula", description: "Raster scans of Soviet military topographic maps produced in the late 1970s", f: { "dc_publisher_s" => ["Omni Resources (Firm)"]}}
19+
{title: "2011 India Census Data", description: "Vector village-level demographic data from the 2011 India Census", f: { "dc_publisher_s" => ["ML InfoMap (Firm)"]}}
2020
]
2121
end
2222

2323
def CuratedCollections.maps
2424
[
2525
{title: "2015 Aerial Laser and Photogrammetry Survey of Dublin", slug: "nyu-2451-38684"},
26+
{title: "2019 Aerial Lasar and Photogrammetry Survey of Sunset Park, Brooklyn", slug: "nyu-2451-60458"},
2627
{title: "China: Ch'ang-sha Region", slug: "harvard-ams7810-s250-u54-nh49-16"},
2728
{title: "1967 Communist China Agriculture", slug: "nyu-2451-36739"},
2829
{title: "2015 New York City Real Estate Sales", slug: "nyu-2451-34678"},

lib/nyugeoblacklight/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module NyuGeoblacklight
2-
VERSION = '1.9.3'.freeze
2+
VERSION = '1.9.4'.freeze
33
end
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"dc_creator_sm": [
3+
"Debra F. Laefer",
4+
"Anh-Vu Vo"
5+
],
6+
"dc_description_s": "This collection record provides a way to consume parts of the 2019 LiDAR Dataset for Sunset Park, Brooklyn NY. It is an index of the Diagonal flight paths",
7+
"dc_format_s": "GeoJSON",
8+
"dc_identifier_s": "http://hdl.handle.net/2451/60459",
9+
"dc_language_s": "English",
10+
"dc_publisher_s": "New York University. Center for Urban Science and Progress",
11+
"dc_rights_s": "Public",
12+
"dc_subject_sm": [
13+
"Cities and towns",
14+
"Urban density",
15+
"Urban development",
16+
"Cities and towns--United States",
17+
"Remote Sensing",
18+
"Community development, Urban",
19+
"Land use, Urban"
20+
],
21+
"dc_title_s": "Index of Diagonal Flight Paths for LiDAR Data Collection in Sunset Park, Brooklyn, NY, 2019",
22+
"dc_type_s": "Dataset",
23+
"dct_isPartOf_sm": [
24+
"NYU Research Data",
25+
"2019 Sunset Park LiDAR"
26+
],
27+
"dct_issued_s": "2019",
28+
"dct_provenance_s": "NYU",
29+
"dct_references_s": "{\"http://schema.org/url\":\"http://hdl.handle.net/2451/60459\",\"http://www.opengis.net/def/serviceType/ogc/wfs\":\"https://openindexmaps.org\",\"https://raw.githubusercontent.com/OpenIndexMaps/edu.nyu/master/nyu-2451-60459.geojson\":\"https://maps-public.geo.nyu.edu/geoserver/sdr/wms\",\"http://lccn.loc.gov/sh85035852\":\"https://archive.nyu.edu/retrieve/122246/nyu_2451_60458_doc.zip\"}",
30+
"dct_source_sm": [
31+
32+
],
33+
"dct_spatial_sm": [
34+
"Sunset Park, Kings County, New York, United States",
35+
"Brooklyn, Kings County, New York, United States",
36+
"New York City, New York, United States"
37+
],
38+
"dct_temporal_sm": [
39+
"2019"
40+
],
41+
"geoblacklight_version": "1.0",
42+
"layer_geom_type_s": "Mixed",
43+
"layer_modified_dt": "2019-12-19T14:28:18Z",
44+
"layer_slug_s": "nyu-2451-60459",
45+
"nyu_addl_dspace_s": "61433",
46+
"nyu_addl_format_sm": [
47+
"GeoJSON"
48+
],
49+
"solr_geom": "ENVELOPE(-74.0395867889, -74.0102522224, 40.6508411236, 40.6284819074)",
50+
"solr_year_i": 2019
51+
}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"dc_creator_sm": [
3+
"Debra F. Laefer",
4+
"Anh-Vu Vo"
5+
],
6+
"dc_description_s": "This collection record provides a way to consume parts of the 2019 LiDAR Dataset for Sunset Park, Brooklyn NY. It is an index to the Orthogonal flight paths",
7+
"dc_format_s": "GeoJSON",
8+
"dc_identifier_s": "http://hdl.handle.net/2451/60460",
9+
"dc_language_s": "English",
10+
"dc_publisher_s": "New York University. Center for Urban Science and Progress",
11+
"dc_rights_s": "Public",
12+
"dc_subject_sm": [
13+
"Cities and towns",
14+
"Urban density",
15+
"Urban development",
16+
"Cities and towns--United States",
17+
"Remote Sensing",
18+
"Community development, Urban",
19+
"Land use, Urban"
20+
],
21+
"dc_title_s": "Index of Orthogonal Flight Paths for LiDAR Data Collection in Sunset Park, Brooklyn, NY, 2019",
22+
"dc_type_s": "Dataset",
23+
"dct_isPartOf_sm": [
24+
"NYU Research Data",
25+
"2019 Sunset Park LiDAR"
26+
],
27+
"dct_issued_s": "2019",
28+
"dct_provenance_s": "NYU",
29+
"dct_references_s": "{\"http://schema.org/url\":\"http://hdl.handle.net/2451/60460\",\"http://www.opengis.net/def/serviceType/ogc/wfs\":\"https://maps-public.geo.nyu.edu/geoserver/sdr/wfs\",\"http://openindexmaps.org\":\"https://raw.githubusercontent.com/OpenIndexMaps/edu.nyu/master/nyu-2451-60459.geojson\",\"http://lccn.loc.gov/sh85035852\":\"https://archive.nyu.edu/retrieve/122246/nyu_2451_60458_doc.zip\"}",
30+
"dct_source_sm": [
31+
32+
],
33+
"dct_spatial_sm": [
34+
"Sunset Park, Kings County, New York, United States",
35+
"Brooklyn, Kings County, New York, United States",
36+
"New York City, New York, United States"
37+
],
38+
"dct_temporal_sm": [
39+
"2019"
40+
],
41+
"geoblacklight_version": "1.0",
42+
"layer_geom_type_s": "Mixed",
43+
"layer_modified_dt": "2019-12-19T14:28:18Z",
44+
"layer_slug_s": "nyu-2451-60460",
45+
"nyu_addl_dspace_s": "61434",
46+
"nyu_addl_format_sm": [
47+
"GeoJSON"
48+
],
49+
"solr_geom": "ENVELOPE(-74.0395867889, -74.0102522224, 40.6508411236, 40.6284819074)",
50+
"solr_year_i": 2019
51+
}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"dc_identifier_s": "http://hdl.handle.net/2451/60462",
3+
"dc_title_s": "LiDAR Flight F_190511_161348 for Sunset Park, Brooklyn, NY, 2019",
4+
"dc_description_s": "This record contains aerial laser scanning (ALS) and photogrammetry data that corresponds to flight 190511_161348is one part of data that was collected over an area of about 0.5 km² in Sunset Park, Brooklyn, NY in April, 2019. Each flight line package includes one LiDAR Point Cloud file in LAZ format, two LiDAR Full waveform files in PulseWaves format, two LiDAR Full waveform files in LAS format, and a series of RGBI Nadir Imagery files in TIFF format. Future data releases will include 16 hyperspectral data files. In this 2019 Sunset Park collection, billions of laser points were acquired (inclusive of partially covered areas). ALS was carried out by contractors using a RIEGL LMS-Q680i LiDAR Scanner and an ITRES MicroCASI 1920 Hyperspectral Camera. The average flying altitude was approximately 1000 feet above groud level with a total of 85 flight paths. This data was harvested to obtain high accuracy models of the urban environment that can be used as a basis for urban informatics research and various practical applications, including digital mapping for auto navigation, pedestrian wind modeling, disability access optimization, and disaster mitigation. For full information on this data, consult the documentation and metadata. See the source dataset for a guide to the entire collection. A collection-level manifest of SHA-256 checksums is available in the nyu-2451-60458-manifest.json' file, within the preservation record. Users may also find a stable link to this collection at https://doi.org/xxxxxxxx/ and may find bulk download instructions via wget in the metadata tab. This data is released with an Attribution 4.0 International (CC BY 4.0) license.",
5+
"dc_rights_s": "Public",
6+
"dct_provenance_s": "NYU",
7+
"dct_references_s": "{\"http://schema.org/url\":\"http://hdl.handle.net/2451/60462\",\"http://schema.org/downloadUrl\":\"https://archivefda-dev.dlib.nyu.edu/bitstream/2451/60462/1/nyu_2451_60462_cir_F_190511_161348.zip\",\"http://lccn.loc.gov/sh85035852\":\"https://archive.nyu.edu/retrieve/81335/nyu_2451_60462_doc.zip\"}",
8+
"layer_id_s": "sdr:nyu_2451_60462",
9+
"layer_slug_s": "nyu-2451-60462",
10+
"layer_geom_type_s": "Mixed",
11+
"layer_modified_dt": "2017-06-06T15:21:27Z",
12+
"dc_format_s": "LAZ",
13+
"dc_language_s": "English",
14+
"dc_type_s": "Dataset",
15+
"dc_publisher_s": "New York University. Center for Urban Science and Progress",
16+
"dc_creator_sm": [
17+
"Debra F. Laefer",
18+
"Saleh Abuwarda",
19+
"Anh-Vu Vo",
20+
"Linh Truong-Hong",
21+
"Hamid Gharibi"
22+
],
23+
"dc_subject_sm": [
24+
"Cities and towns",
25+
"Urban density",
26+
"Urban development"
27+
],
28+
"dct_issued_s": "2020",
29+
"dct_temporal_sm": [
30+
"2019"
31+
],
32+
"dct_spatial_sm": [
33+
"Sunset Park, Brooklyn, NY",
34+
"Brooklyn, NY"
35+
],
36+
"solr_geom": "ENVELOPE(-74.0395867889, -74.0102522224, 40.6508411236, 40.6284819074)",
37+
"solr_year_i": 2019,
38+
"geoblacklight_version": "1.0",
39+
"nyu_addl_format_sm": [
40+
"LAZ (Point-cloud)",
41+
"LAS (Full-waveform)",
42+
"Pulsewaves (Full-waveform)",
43+
"JPG (Oblique photos)",
44+
"GeoTIFF (Geo-referenced RGB)",
45+
"GeoTIFF (Geo-referenced CIR)"
46+
],
47+
"dct_source_sm": [
48+
"nyu-2451-60459"
49+
],
50+
"nyu_addl_dspace_s": "39643",
51+
"nyu_addl_license_s": "Attribution 4.0 International (CC BY 4.0)",
52+
"nyu_addl_downloads_s": "{\"LAZ (Point-cloud)\":\"https://archive.nyu.edu/retrieve/80003/nyu_2451_38645_pc_F_150326_120403.zip\",\"LAS (Full-waveform)\":\"https://archivefda-dev.dlib.nyu.edu/bitstream/2451/60462/2/nyu_2451_60462_fwf_las_F_190511_161348.zip\",\"Pulsewaves (Full-waveform)\":\"https://archive.nyu.edu/retrieve/80005/nyu_2451_38645_fwf_plswvs_F_150326_120403.zip\",\"GeoTIFF (Geo-referenced RGB)\":\"https://archive.nyu.edu/retrieve/80240/nyu_2451_38645_rgb_F_150326_120403.zip\",\"GeoTIFF (Geo-referenced CIR)\":\"https://archive.nyu.edu/retrieve/80001/nyu_2451_38645_cir_F_150326_120403.zip\",\"JPG (Oblique photos)\":\"https://archive.nyu.edu/retrieve/80004/nyu_2451_38645_oblique_F_150326_120403.zip\"}",
53+
"dct_isPartOf_sm": [
54+
"2015 Dublin LiDAR",
55+
"NYU Research Data"
56+
]
57+
}

spec/fixtures/solr_documents/sunsetpark-lidar-diagonal-fixture.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"dc_creator_sm": [
3-
"Debra Laefer",
3+
"Debra F. Laefer",
44
"Anh-Vu Vo"
55
],
66
"dc_description_s": "This collection record provides a way to consume parts of the 2019 LiDAR Dataset for Sunset Park, Brooklyn NY. It is an index of the Diagonal flight paths",
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"dc_creator_sm": [
3+
"Debra F. Laefer",
4+
"Anh-Vu Vo"
5+
],
6+
"dc_description_s": "This collection record provides a way to consume parts of the 2019 LiDAR Dataset for Sunset Park, Brooklyn NY.",
7+
"dc_format_s": "GeoJSON",
8+
"dc_identifier_s": "http://hdl.handle.net/2451/60461",
9+
"dc_language_s": "English",
10+
"dc_publisher_s": "New York University. Center for Urban Science and Progress",
11+
"dc_rights_s": "Public",
12+
"dc_subject_sm": [
13+
"Cities and towns",
14+
"Urban density",
15+
"Urban development",
16+
"Cities and towns--United States",
17+
"Remote Sensing",
18+
"Community development, Urban",
19+
"Land use, Urban"
20+
],
21+
"dc_title_s": "Index of Tiles for LiDAR Data Collection in Sunset Park, Brooklyn, NY, 2019",
22+
"dc_type_s": "Dataset",
23+
"dct_isPartOf_sm": [
24+
"NYU Research Data",
25+
"2019 Sunset Park LiDAR"
26+
],
27+
"dct_issued_s": "2019",
28+
"dct_provenance_s": "NYU",
29+
"dct_references_s": "{\"http://schema.org/url\":\"http://hdl.handle.net/2451/60461\",\"http://www.opengis.net/def/serviceType/ogc/wfs\":\"https://maps-public.geo.nyu.edu/geoserver/sdr/wfs\",\"http://www.opengis.net/def/serviceType/ogc/wms\":\"https://maps-public.geo.nyu.edu/geoserver/sdr/wms\",\"http://lccn.loc.gov/sh85035852\":\"https://archive.nyu.edu/retrieve/122246/nyu_2451_60458_doc.zip\"}",
30+
"dct_source_sm": [
31+
32+
],
33+
"dct_spatial_sm": [
34+
"Sunset Park, Kings County, New York, United States",
35+
"Brooklyn, Kings County, New York, United States",
36+
"New York City, New York, United States"
37+
],
38+
"dct_temporal_sm": [
39+
"2019"
40+
],
41+
"geoblacklight_version": "1.0",
42+
"layer_geom_type_s": "Mixed",
43+
"layer_modified_dt": "2019-12-19T14:28:18Z",
44+
"layer_slug_s": "nyu-2451-60461",
45+
"nyu_addl_dspace_s": "61435",
46+
"nyu_addl_format_sm": [
47+
"GeoJSON"
48+
],
49+
"solr_geom": "ENVELOPE(-74.0395867889, -74.0102522224, 40.6508411236, 40.6284819074)",
50+
"solr_year_i": 2019
51+
}

0 commit comments

Comments
 (0)