SAGA 9.4.2 | Tool Library Documentation

Polygon Properties


Description

Add general and geometric properties of polygons to its attributes.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputPolygonsshapes, inputPOLYGONS--
OutputPolygons with Property Attributesshapes, 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 point numberSCALINGScaling factor for perimeter and area (squared). meter to feet = 1 / 0.3048 = 3.2808Minimum: 0.000000 Default: 1.000000

Command Line


Usage: saga_cmd shapes_polygons 2 [-POLYGONS ] [-OUTPUT ] [-FIELDS ] [-BPARTS ] [-BPOINTS ] [-BEXTENT ] [-BCENTER ] [-BLENGTH ] [-BAREA ] [-SCALING ]
  -POLYGONS:  	Polygons
	shapes, input
  -OUTPUT:    	Polygons with Property Attributes
	shapes, output, optional
  -FIELDS:    	Copy Attributes
	table fields
  -BPARTS:    	Number of Parts
	boolean
	Default: 0
  -BPOINTS:   	Number of Vertices
	boolean
	Default: 0
  -BEXTENT:   	Extent
	boolean
	Default: 0
  -BCENTER:   	Centroid
	boolean
	Default: 0
  -BLENGTH:   	Perimeter
	boolean
	Default: 1
  -BAREA:     	Area
	boolean
	Default: 1
  -SCALING:	Scaling
	floating point number
	Minimum: 0.000000
	Default: 1.000000