SAGA-GIS Tool Library Documentation (v8.1.0)

Tool Polygon Shape Indices

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 Indices (*)Shapes, output, optionalINDEXPolygon shapefile with the calculated indices.-
Maximum Diameter (*)Shapes, output, optionalDMAXLine shapefile showing the maximum diameter.-
OptionsDiameter of GyrationBooleanGYROS-Default: 0
Feret DiametersBooleanFERET-Default: 0
Number of DirectionsIntegerFERET_DIRSNumber of directions (0-90) to be analyzed.Minimum: 2
Default: 18
(*) optional

Command-line

Usage: saga_cmd shapes_polygons 7 [-SHAPES <str>] [-INDEX <str>] [-DMAX <str>] [-GYROS <str>] [-FERET <str>] [-FERET_DIRS <num>]
  -SHAPES:<str>    	Shapes
	Shapes, input
  -INDEX:<str>     	Shape Indices
	Shapes, output, optional
  -DMAX:<str>      	Maximum Diameter
	Shapes, output, optional
  -GYROS:<str>     	Diameter of Gyration
	Boolean
	Default: 0
  -FERET:<str>     	Feret Diameters
	Boolean
	Default: 0
  -FERET_DIRS:<num>	Number of Directions
	Integer
	Minimum: 2
	Default: 18