SAGA 9.3.3 | Tool Library Documentation

Generate Shapes


Description

The tool allows one to generate point, line or polygon shapes from a table with the following attribute fields: - identifier - x coordinate - y coordinate - optional: z coordinate (this will create a 3D shapefile) The table must be sorted in vertex order. The identifier has different meanings: * Point Shapes: The identifier is arbitrary * Line Shapes: The identifier is unique for each line * Polygon Shapes: The identifier is unique for each polygon; the first polygon vertex may but must not be duplicated in order to close the polygon


Parameters

 NameTypeIdentifierDescriptionConstraints
InputInputtable, inputINPUTTable with coordinates.-
OutputOutputshapes, outputOUTPUTGenerated Shapefile.-
OptionsIDtable fieldFIELD_IDField with the identifier.-
Xtable fieldFIELD_XField with the x coordinate.-
Ytable fieldFIELD_YField with the y coordinate.-
Ztable fieldFIELD_ZField with the z coordinate.-
Shape TypechoiceSHAPE_TYPEShape type to generate.Available Choices: [0] Point(s) [1] Line(s) [2] Polygon(s) Default: 0

Command Line


Usage: saga_cmd shapes_tools 22 [-INPUT ] [-FIELD_ID ] [-FIELD_X ] [-FIELD_Y ] [-FIELD_Z ] [-SHAPE_TYPE ] [-OUTPUT ]
  -INPUT:     	Input
	table, input
  -FIELD_ID:  	ID
	table field
  -FIELD_X:   	X
	table field
  -FIELD_Y:   	Y
	table field
  -FIELD_Z:   	Z
	table field
  -SHAPE_TYPE:	Shape Type
	choice
	Available Choices:
	[0] Point(s)
	[1] Line(s)
	[2] Polygon(s)
	Default: 0
  -OUTPUT:    	Output
	shapes, output