Tool Polygon Properties
Add general and geometric properties of polygons to its atttributes.
- 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 | 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
Minimum: 0.000000
Default: 1.000000