bmcgaughey1 / USGSlidar

A collection of functions to browse lidar data collections, query collections for coverage for specific locations, and retrieve data covering locations.
Creative Commons Zero v1.0 Universal
6 stars 1 forks source link

Add vignette that covers a USGS index use case #3

Open bmcgaughey1 opened 3 years ago

bmcgaughey1 commented 3 years ago

I have a vignette for the Entwine use case (very simple). I need to add another that covers the use of the USGS data collection that includes downloading tiles and then clipping samples in a separate process. However, I still see problems with the USGS tile index file (lots of tiles with empty geometries).

bmcgaughey1 commented 2 years ago

I added an example script (ExampleScripts folder) that illustrates the use of the USGS tile index to retrieve tiles and clip data for an area-of-interest. The example uses tools that are part of FUSION so you need to have FUSION installed and the install folder on your PATH.

I also added a second example that uses the USFS tile index to fetch tiles covering a small project area and simply store the tiles on a local drive. this example has a function that constructs URLs for point tiles using information from the project and tile index files. However, as mentioned in issue #8, the folder and file names ae not consistently created over all projects in the USGS data collection. I will try to update the code to add more strategies for constructing URLs and testing to verify that a particular strategy is correct for a project.