Create New Shapes Layer
- Author: O.Conrad (c) 2008
- Menu: Shapes | Construction
Description
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:
- 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
- string
- date
- color
- binary
Parameters
| Name | Type | Identifier | Description | Constraints |
Output | Shapes | data object Shapes, output, optional | SHAPES | - | - |
Options | Name | text | NAME | - | Default: New Shapes Layer |
Geometry 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 |
PROJ Parameters | text, CMD | CRS_PROJ | - | - |
Code ID | integer number, CMD | CRS_CODE | - | Default: -1 |
Code Authority | text, CMD | CRS_AUTHORITY | - | Default: EPSG |
Number of Attributes | integer number | NFIELDS | - | Minimum: 1
Default: 2 |
Field 1 | text | NAME0 | Name | Default: Field 1 |
Type | data type | TYPE0 | Type | 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 |
Field 2 | text | NAME1 | Name | Default: Field 2 |
Type | data type | TYPE1 | Type | 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 |
Command Line
Usage: saga_cmd shapes_tools 0 [-SHAPES ] [-NAME ] [-TYPE ] [-VERTEX ] [-CRS_PROJ ] [-CRS_CODE ] [-CRS_AUTHORITY ] [-NFIELDS ] [-FIELDS_NAME0 ] [-FIELDS_TYPE0 ] [-FIELDS_NAME1 ] [-FIELDS_TYPE1 ]
-SHAPES: Shapes
data object Shapes, output, optional
-NAME: Name
text
Default: New Shapes Layer
-TYPE: Geometry Type
choice
Available Choices:
[0] Point
[1] Multipoint
[2] Lines
[3] Polygon
Default: 0
-VERTEX: Vertex Type
choice
Available Choices:
[0] x, y
[1] x, y, z
[2] x, y, z, m
Default: 0
-CRS_PROJ: PROJ Parameters
text, CMD
-CRS_CODE: Code ID
integer number, CMD
Default: -1
-CRS_AUTHORITY: Code Authority
text, CMD
Default: EPSG
-NFIELDS: Number of Attributes
integer number
Minimum: 1
Default: 2
-FIELDS_NAME0: Field 1
text
Default: Field 1
-FIELDS_TYPE0: Type
data type
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: Field 2
text
Default: Field 2
-FIELDS_TYPE1: Type
data type
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