SAGA 9.6.1 | Tool Library Documentation

Create New Shapes Layer


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:


Parameters

 NameTypeIdentifierDescriptionConstraints
OutputShapesshapes, outputSHAPES--
OptionsNametextNAME-Default: New Shapes Layer
Geometry TypechoiceTYPE-Available Choices: [0] Point [1] Multipoint [2] Lines [3] Polygon Default: 0
Vertex TypechoiceVERTEX-Available Choices: [0] x, y [1] x, y, z [2] x, y, z, m Default: 0
Coordinate System DefinitiontextCRS_STRINGSupported formats comprise PROJ and WKT strings, object codes (e.g. "EPSG:4326").-
Number of Attributesinteger numberNFIELDS-Minimum: 1 Default: 2
Field 1textNAME0NameDefault: Field 1
Typedata typeTYPE0TypeAvailable 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 2textNAME1NameDefault: Field 2
Typedata typeTYPE1TypeAvailable 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_STRING ] [-NFIELDS ] [-FIELDS_NAME0 ] [-FIELDS_TYPE0 ] [-FIELDS_NAME1 ] [-FIELDS_TYPE1 ]
  -SHAPES:      	Shapes
	shapes, output
  -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_STRING:  	Coordinate System Definition
	text
  -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