| select_rasters_for_region | R Documentation |
Intelligently select raster files that overlap with a specified region.
select_rasters_for_region(input_folder, region_boundary, buffer_size = 0.1)
input_folder |
Directory containing raster files |
region_boundary |
Region boundary or bounding box |
buffer_size |
Buffer around region (in degrees) |
Character vector of relevant file paths
# Select ASTER files for Michigan
michigan_files <- select_rasters_for_region("/aster/files", "Michigan")
# Select with custom buffer
nevada_files <- select_rasters_for_region("/data", "Nevada", buffer_size = 0.2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.