SAGA 9.3.3 | Tool Library Documentation

Polygon Shape Indices


Description

The tool calculates various indices describing the shape of polygons, mostly based on area, perimeter and maximum diameter. If the optional output 'Shape Indices' is not created, the tool attaches the attributes to the input dataset. Otherwise a new dataset is created and attributes existing in the input dataset are dropped.


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputShapesshapes, inputSHAPES--
OutputShape Indicesshapes, output, optionalINDEXPolygon shapefile with the calculated indices.-
Maximum Diametershapes, output, optionalDMAXLine shapefile showing the maximum diameter.-
OptionsDiameter of GyrationbooleanGYROS-Default: 0
Feret DiametersbooleanFERET-Default: 0
Number of Directionsinteger numberFERET_DIRSNumber of directions (0-90) to be analyzed.Minimum: 2 Default: 18

Command Line


Usage: saga_cmd shapes_polygons 7 [-SHAPES ] [-INDEX ] [-DMAX ] [-GYROS ] [-FERET ] [-FERET_DIRS ]
  -SHAPES:    	Shapes
	shapes, input
  -INDEX:     	Shape Indices
	shapes, output, optional
  -DMAX:      	Maximum Diameter
	shapes, output, optional
  -GYROS:     	Diameter of Gyration
	boolean
	Default: 0
  -FERET:     	Feret Diameters
	boolean
	Default: 0
  -FERET_DIRS:	Number of Directions
	integer number
	Minimum: 2
	Default: 18