SAGA 9.3.3 | Tool Library Documentation

Diversity of Categories


Description

Grid based analysis of diversity. It is assumed that the input grid provides a classification (i.e. not a contiuous field). For each cell it counts the number of different categories (classes) as well as the connectivity within the chosen search window.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputCategoriesgrid, inputCATEGORIES--
OutputNumber of Categoriesgrid, outputCOUNTnumber of different categories (unique values) within search area-
Diversitygrid, outputDIVERSITYdistance weighted average of the number of different categories for distance classes-
Connectivitygrid, outputCONNECTIVITY--
Averaged Connectivitygrid, outputCONNECTEDAVGaverage size of the area covered by each category that occurs within search area-
OptionsGrid Systemgrid systemPARAMETERS_GRID_SYSTEM--
Connectivity NeighbourhoodchoiceNB_CASE-Available Choices: [0] Rook's case [1] Queen's case Default: 1
NormalizechoiceNORMALIZE-Available Choices: [0] no [1] by number of cells [2] by area size Default: 0
Kernel TypechoiceKERNEL_TYPEThe kernel's shape.Available Choices: [0] Square [1] Circle Default: 1
Radiusinteger numberKERNEL_RADIUScellsMinimum: 0 Default: 2
Weighting FunctionchoiceDW_WEIGHTING-Available Choices: [0] no distance weighting [1] inverse distance to a power [2] exponential [3] gaussian Default: 3
Powerfloating point numberDW_IDW_POWER-Minimum: 0.000000 Default: 2.000000
Bandwidthfloating point numberDW_BANDWIDTHBandwidth for exponential and Gaussian weightingMinimum: 0.000000 Default: 0.700000

Command Line


Usage: saga_cmd grid_analysis 21 [-CATEGORIES ] [-COUNT ] [-DIVERSITY ] [-CONNECTIVITY ] [-CONNECTEDAVG ] [-NB_CASE ] [-NORMALIZE ] [-KERNEL_TYPE ] [-KERNEL_RADIUS ] [-DW_WEIGHTING ] [-DW_IDW_POWER ] [-DW_BANDWIDTH ]
  -CATEGORIES:     	Categories
	grid, input
  -COUNT:          	Number of Categories
	grid, output
  -DIVERSITY:      	Diversity
	grid, output
  -CONNECTIVITY:   	Connectivity
	grid, output
  -CONNECTEDAVG:   	Averaged Connectivity
	grid, output
  -NB_CASE:        	Connectivity Neighbourhood
	choice
	Available Choices:
	[0] Rook's case
	[1] Queen's case
	Default: 1
  -NORMALIZE:      	Normalize
	choice
	Available Choices:
	[0] no
	[1] by number of cells
	[2] by area size
	Default: 0
  -KERNEL_TYPE:    	Kernel Type
	choice
	Available Choices:
	[0] Square
	[1] Circle
	Default: 1
  -KERNEL_RADIUS:  	Radius
	integer number
	Minimum: 0
	Default: 2
  -DW_WEIGHTING:   	Weighting Function
	choice
	Available Choices:
	[0] no distance weighting
	[1] inverse distance to a power
	[2] exponential
	[3] gaussian
	Default: 3
  -DW_IDW_POWER:	Power
	floating point number
	Minimum: 0.000000
	Default: 2.000000
  -DW_BANDWIDTH:	Bandwidth
	floating point number
	Minimum: 0.000000
	Default: 0.700000