Tool Create New Shapes Layer
Creates a new empty shapes layer of given type, which might be either point, multipoint, line or polygon.
Possible field types for the attributes table are:
- string
- date
- color
- unsigned 1 byte integer
- signed 1 byte integer
- unsigned 2 byte integer
- signed 2 byte integer
- unsigned 4 byte integer
- signed 4 byte integer
- unsigned 8 byte integer
- signed 8 byte integer
- 4 byte floating point number
- 8 byte floating point number
- binary
- Author: O. Conrad (c) 2008
- Menu: Shapes|Construction
Parameters
Name | Type | Identifier | Description | Constraints | |
---|---|---|---|---|---|
Output | Shapes (*) | Data Object Shapes (optional output) | SHAPES | - | - |
Options | Name | Text | NAME | - | Default: New Shapes Layer |
Shape Type | Choice | TYPE | - | Available Choices: [0] Point [1] Multipoint [2] Lines [3] Polygon Default: 0 | |
Vertex Type | Choice | VERTEX | - | Available Choices: [0] x, y [1] x, y, z [2] x, y, z, m Default: 0 | |
Number of Attributes | Integer | NFIELDS | - | Minimum: 0 Default: 2 | |
Attributes | Parameters | FIELDS | - | 4 Parameters: - 1. Default: Name - 2. Available Choices: [0] string [1] date [2] color [3] unsigned 1 byte integer [4] signed 1 byte integer [5] unsigned 2 byte integer [6] signed 2 byte integer [7] unsigned 4 byte integer [8] signed 4 byte integer [9] unsigned 8 byte integer [10] signed 8 byte integer [11] 4 byte floating point number [12] 8 byte floating point number [13] binary Default: 0 - 3. Default: Name - 4. Available Choices: [0] string [1] date [2] color [3] unsigned 1 byte integer [4] signed 1 byte integer [5] unsigned 2 byte integer [6] signed 2 byte integer [7] unsigned 4 byte integer [8] signed 4 byte integer [9] unsigned 8 byte integer [10] signed 8 byte integer [11] 4 byte floating point number [12] 8 byte floating point number [13] binary Default: 0 | |
(*) optional |
Command-line
Usage: saga_cmd shapes_tools 0 [-SHAPES <str>] [-NAME <str>] [-TYPE <str>] [-VERTEX <str>] [-NFIELDS <num>] [-FIELDS_NAME0 <str>] [-FIELDS_TYPE0 <str>] [-FIELDS_NAME1 <str>] [-FIELDS_TYPE1 <str>] -SHAPES:<str> Shapes Data Object Shapes (optional output) -NAME:<str> Name Text Default: New Shapes Layer -TYPE:<str> Shape Type Choice Available Choices: [0] Point [1] Multipoint [2] Lines [3] Polygon Default: 0 -VERTEX:<str> Vertex Type Choice Available Choices: [0] x, y [1] x, y, z [2] x, y, z, m Default: 0 -NFIELDS:<num> Number of Attributes Integer Minimum: 0 Default: 2 -FIELDS_NAME0:<str> Name Text Default: Name -FIELDS_TYPE0:<str> Type Choice Available Choices: [0] string [1] date [2] color [3] unsigned 1 byte integer [4] signed 1 byte integer [5] unsigned 2 byte integer [6] signed 2 byte integer [7] unsigned 4 byte integer [8] signed 4 byte integer [9] unsigned 8 byte integer [10] signed 8 byte integer [11] 4 byte floating point number [12] 8 byte floating point number [13] binary Default: 0 -FIELDS_NAME1:<str> Name Text Default: Name -FIELDS_TYPE1:<str> Type Choice Available Choices: [0] string [1] date [2] color [3] unsigned 1 byte integer [4] signed 1 byte integer [5] unsigned 2 byte integer [6] signed 2 byte integer [7] unsigned 4 byte integer [8] signed 4 byte integer [9] unsigned 8 byte integer [10] signed 8 byte integer [11] 4 byte floating point number [12] 8 byte floating point number [13] binary Default: 0