SAGA-GIS Tool Library Documentation (v7.7.0)

Tool Polygon Properties

Add general and geometric properties of polygons to its atttributes.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputPolygonsShapes, inputPOLYGONS--
OutputPolygons with Property Attributes (*)Shapes, output, optionalOUTPUTIf not set property attributes will be added to the orignal layer.-
OptionsCopy AttributesTable fieldsFIELDSSelect one or more attributes to be copied to the target layer.-
Number of PartsBooleanBPARTS-Default: 0
Number of VerticesBooleanBPOINTS-Default: 0
ExtentBooleanBEXTENT-Default: 0
CentroidBooleanBCENTER-Default: 0
PerimeterBooleanBLENGTH-Default: 1
AreaBooleanBAREA-Default: 1
ScalingFloating pointSCALINGScaling factor for perimeter and area (squared). meter to feet = 1 / 0.3048 = 3.2808Minimum: 0.000000
Default: 1.000000
(*) optional

Command-line

Usage: saga_cmd shapes_polygons 2 [-POLYGONS <str>] [-OUTPUT <str>] [-FIELDS <str>] [-BPARTS <str>] [-BPOINTS <str>] [-BEXTENT <str>] [-BCENTER <str>] [-BLENGTH <str>] [-BAREA <str>] [-SCALING <double>]
  -POLYGONS:<str>  	Polygons
	Shapes, input
  -OUTPUT:<str>    	Polygons with Property Attributes
	Shapes, output, optional
  -FIELDS:<str>    	Copy Attributes
	Table fields
  -BPARTS:<str>    	Number of Parts
	Boolean
	Default: 0
  -BPOINTS:<str>   	Number of Vertices
	Boolean
	Default: 0
  -BEXTENT:<str>   	Extent
	Boolean
	Default: 0
  -BCENTER:<str>   	Centroid
	Boolean
	Default: 0
  -BLENGTH:<str>   	Perimeter
	Boolean
	Default: 1
  -BAREA:<str>     	Area
	Boolean
	Default: 1
  -SCALING:<double>	Scaling
	Floating point
	Minimum: 0.000000
	Default: 1.000000