Skip to contents

Function to extract attribute information from vector or raster data layer.

Usage

get.attributes(file, coords)

Arguments

file

vector or raster layer

coords

vector containin xmin,ymin,xmax,ymax defing the bounding box for subset

Author

Shawn P. Serbin

Examples

if (FALSE) { # \dontrun{
file <- Sys.glob(file.path(R.home(), 'library', 'PEcAn.data.land','data','*.kml'))
out <- get.attributes(file=file,coords=c(-95,42,-84,47))
print(out)
} # }