get_zonal_data.Rd
Get raster frequency per class from polygon input areas
get_zonal_data(raster_object, polygon)
raster_object | character. An object of class RasterLayer. |
---|---|
polygon | character. A polygon to define spatial boundary of raster value counts (e.g. a given city's watersheds) |
table of crop types present and their coverage within the polygon area
Get the coverage per class of raster values represented in the input raster dataset when restricted to the input watershed polygons for a target city.
Kristian Nelson (kristian.nelson@pnnl.gov)