SAGA-GIS Tool Library Documentation (v7.3.0)

Tool Change Field Type

With this tool you can change the data type of a table's attribute field.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputTableTable (input)TABLE--
OutputOutput (*)Table (optional output)OUTPUT--
OptionsFieldTable fieldFIELD--
Data TypeChoiceTYPE-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 table_tools 7 [-TABLE <str>] [-FIELD <str>] [-OUTPUT <str>] [-TYPE <str>]
  -TABLE:<str> 	Table
	Table (input)
  -FIELD:<str> 	Field
	Table field
  -OUTPUT:<str>	Output
	Table (optional output)
  -TYPE:<str>  	Data 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