Description Usage Author(s) Examples
subsetThis() takes a list of a directory and a shapefile of a study area and subsets all data in the directory to the shapefiles extend.
1 | subsetThis(list, shapefile)
|
Pawel Kluter
1 2 3 4 5 6 7 | # loading extent of study area -> shp-file
studyArea <- readOGR(dsn = "_vector_data", layer = "studyArea")
# addressing all merged images
allMosaics <- list.files("result_mosaic/")
# creating subset from all mosaics
subsetThis(allMosaics, studyArea)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.