Skip to contents

spatial overlay of subcatchments and raster holding information required by ABIMO

Usage

makeOverlay(
  rawdir,
  rasterData,
  subcatchmSPobject,
  overlayName,
  subcatchmNamesCol
)

Arguments

rawdir

Path to data directory.

rasterData

Name of raster file containing classified image.

subcatchmSPobject

Spatial dataset containing subcatchment polygons (ABIMO Blockteilflächen) (sp object type, R package sp).

overlayName

Name of output overlay object.

subcatchmNamesCol

Name of column in the attribute table of subcatchmSPobject that contains the subcatchment identifiers. This is used for naming the elements of the resulting list

Value

save overlay as .Rdata in directory "rawdir" with filename defined in