r-lidar / lidR

Airborne LiDAR data manipulation and visualisation for forestry application
https://CRAN.R-project.org/package=lidR
GNU General Public License v3.0
582 stars 130 forks source link

Can readLASCatalog access s3:// locations for files? #756

Closed omshinde closed 3 months ago

omshinde commented 3 months ago

Hi team.

I am working on a task which requires reading assets stored in a STAC using rstac in a vector. This vector comprises of AWS S3 s3:// links. I have to pass this vector with all the s3 links to readLASCatalog for compelting my task.

Is it possible? Can readLASCatalog take a vector with s3 links as input? Otherwise I'll have to download the files locally and pass it to the readLASCatalog function.

Thank you for the great work.

Jean-Romain commented 3 months ago

You must have the data stored locally. Remote data won't be read through the network. The best that could be done would be to download on the fly the data transparently but this feature is not implemented in lidR.

omshinde commented 3 months ago

Got it. Thank you, @Jean-Romain . Appreciate the efforts the team is putting into the developments of lidR. :) Closing the ticket for now.