Tool Polygon Properties
Add general and geometric properties of polygons to its attributes.
- Author: V.Olaya (c) 2004, O.Conrad (c) 2011
- Menu: Shapes|Polygons
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Polygons | shapes, input | POLYGONS | - | - |
Output | Polygons with Property Attributes (*) | shapes, output, optional | OUTPUT | If not set property attributes will be added to the orignal layer. | - |
Options | Copy Attributes | table fields | FIELDS | Select one or more attributes to be copied to the target layer. | - |
Number of Parts | boolean | BPARTS | - | Default: 0 |
Number of Vertices | boolean | BPOINTS | - | Default: 0 |
Extent | boolean | BEXTENT | - | Default: 0 |
Centroid | boolean | BCENTER | - | Default: 0 |
Perimeter | boolean | BLENGTH | - | Default: 1 |
Area | boolean | BAREA | - | Default: 1 |
Scaling | floating point number | SCALING | Scaling factor for perimeter and area (squared). meter to feet = 1 / 0.3048 = 3.2808 | Minimum: 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 number
Minimum: 0.000000
Default: 1.000000