SAGA-GIS Tool Library Documentation (v7.7.0)

Tool Grid Classes Area for Polygons

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

Parameters

 NameTypeIdentifierDescriptionConstraints
InputPolygonsShapes, inputPOLYGONS--
GridGrid, inputGRID--
Look-up Table (*)Table, input, optionalGRID_LUT--
OutputResult (*)Shapes, output, optionalRESULT--
OptionsGrid SystemGrid systemPARAMETERS_GRID_SYSTEM--
Processing OrderChoicePROCESSIf only a small part of the grid area is covered by polygons, polygon by polygon processing might give an enormous performance boost.Available Choices:
[0] cell by cell
[1] polygon by polygon
Default: 1
Cell Area IntersectionChoiceMETHOD-Available Choices:
[0] cell center
[1] cell area
Default: 0
Output MeasurmentChoiceOUTPUT-Available Choices:
[0] total area
[1] percentage
Default: 0
Class DefinitionChoiceGRID_VALUES-Available Choices:
[0] values are class identifiers
[1] use look-up table
Default: 0
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>] [-PROCESS <str>] [-METHOD <str>] [-OUTPUT <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, output, optional
  -GRID:<str>        	Grid
	Grid, input
  -PROCESS:<str>     	Processing Order
	Choice
	Available Choices:
	[0] cell by cell
	[1] polygon by polygon
	Default: 1
  -METHOD:<str>      	Cell Area Intersection
	Choice
	Available Choices:
	[0] cell center
	[1] cell area
	Default: 0
  -OUTPUT:<str>      	Output Measurment
	Choice
	Available Choices:
	[0] total area
	[1] percentage
	Default: 0
  -GRID_VALUES:<str> 	Class Definition
	Choice
	Available Choices:
	[0] values are class identifiers
	[1] use look-up table
	Default: 0
  -GRID_LUT:<str>    	Look-up Table
	Table, input, optional
  -GRID_LUT_MIN:<str>	Value
	Table field
  -GRID_LUT_MAX:<str>	Value (Maximum)
	Table field
  -GRID_LUT_NAM:<str>	Name
	Table field