-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for publicly hosted USGS LiDAR #26
Comments
A quick example of some code for connecting to the relevant bucket either via boto.client or boto.resource and printing out some of the contained objects.
|
So I've had a look into the contents of the AWS bucket for dataset USGS LPC AL 25Co B3 2017. I created a boto3 client for interrogating the dataset as:
And had a look at the folder structure of the bucket using
The Looking at the contents of a JSON fileAn example of the contents of
Downloading a .laz fileFiltering is only supported by prefix and not file type. First we need to filter the object lists to select only LAZ files.
Download the first file in the returned file list:
|
The USGS is moving to publically host it's LiDAR data on a public AWS server. Details can be found at: https://registry.opendata.aws/usgs-lidar/
The key information is:
location = us-west-2 -> s3.us-west-2.amazonaws.com
bucket = usgs-lidar-public
The AWS key appears to be inhte URL to the dataset on open topograpy. For instace the key for https://portal.opentopography.org/usgsDataset?dsid=USGS_LPC_AL_25Co_B3_2017 is USGS_LPC_AL_25Co_B3_2017
The only challenge seems to be tracking down the key of the dataset as this information doesn't seem to be listed in the metadata seek link for an example.
The text was updated successfully, but these errors were encountered: