SAGA-GIS Tool Library Documentation (v7.4.0)

Tool Grid Classes Area for Polygons

Calculates for each polygon the area covered by each grid class.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputPolygonsShapes (input)POLYGONS--
GridGrid (input)GRID--
Look-up Table (*)Table (optional input)GRID_LUT--
OutputResult (*)Shapes (optional output)RESULT--
OptionsGrid systemGrid systemPARAMETERS_GRID_SYSTEM--
MethodChoiceMETHOD-Available Choices:
[0] cell center
[1] cell area
Default: 0
Value InterpretationChoiceGRID_VALUES-Available Choices:
[0] values are class identifiers
[1] use look-up table
Default: 1
ValueTable fieldGRID_LUT_MIN--
Value (Maximum) (*)Table fieldGRID_LUT_MAX--
Name (*)Table fieldGRID_LUT_NAM--
(*) optional

Command-line

Usage: saga_cmd shapes_grid 18 [-POLYGONS <str>] [-RESULT <str>] [-GRID <str>] [-METHOD <str>] [-GRID_VALUES <str>] [-GRID_LUT <str>] [-GRID_LUT_MIN <str>] [-GRID_LUT_MAX <str>] [-GRID_LUT_NAM <str>]
  -POLYGONS:<str>    	Polygons
	Shapes (input)
  -RESULT:<str>      	Result
	Shapes (optional output)
  -GRID:<str>        	Grid
	Grid (input)
  -METHOD:<str>      	Method
	Choice
	Available Choices:
	[0] cell center
	[1] cell area
	Default: 0
  -GRID_VALUES:<str> 	Value Interpretation
	Choice
	Available Choices:
	[0] values are class identifiers
	[1] use look-up table
	Default: 1
  -GRID_LUT:<str>    	Look-up Table
	Table (optional input)
  -GRID_LUT_MIN:<str>	Value
	Table field
  -GRID_LUT_MAX:<str>	Value (Maximum)
	Table field
  -GRID_LUT_NAM:<str>	Name
	Table field