SAGA-GIS Module Library Documentation (v2.2.2)

Module Constant Grid

Constant grid creation.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputTarget System (*)Grid (optional input)TEMPLATEuse this grid's system for output grids-
OutputTarget GridGrid (output)OUT_GRID--
OptionsNameTextNAME-Default: Constant Grid
Constant ValueFloating pointCONST-Default: 1.000000
Data TypeChoiceTYPE-Available Choices:
[0] bit
[1] unsigned 1 byte integer
[2] signed 1 byte integer
[3] unsigned 2 byte integer
[4] signed 2 byte integer
[5] unsigned 8 byte integer
[6] signed 8 byte integer
[7] 4 byte floating point number
[8] 8 byte floating point number
Default: 7
Target Grid SystemChoiceDEFINITION-Available Choices:
[0] user defined
[1] grid or grid system
Default: 0
LeftFloating pointUSER_XMIN-Default: 0.000000
RightFloating pointUSER_XMAX-Default: 100.000000
BottomFloating pointUSER_YMIN-Default: 0.000000
TopFloating pointUSER_YMAX-Default: 100.000000
CellsizeFloating pointUSER_SIZE-Minimum: 0.000000
Default: 1.000000
FitChoiceUSER_FITS-Available Choices:
[0] nodes
[1] cells
Default: 0
(*) optional

Command-line

Usage: saga_cmd grid_tools 4 [-NAME <str>] [-CONST <str>] [-TYPE <str>] [-DEFINITION <str>] [-USER_XMIN <str>] [-USER_XMAX <str>] [-USER_YMIN <str>] [-USER_YMAX <str>] [-USER_SIZE <str>] [-USER_FITS <str>] [-TEMPLATE <str>] [-OUT_GRID <str>]
  -NAME:<str>      	Name
	Text
	Default: Constant Grid
  -CONST:<str>     	Constant Value
	Floating point
	Default: 1.000000
  -TYPE:<str>      	Data Type
	Choice
	Available Choices:
	[0] bit
	[1] unsigned 1 byte integer
	[2] signed 1 byte integer
	[3] unsigned 2 byte integer
	[4] signed 2 byte integer
	[5] unsigned 8 byte integer
	[6] signed 8 byte integer
	[7] 4 byte floating point number
	[8] 8 byte floating point number
	Default: 7
  -DEFINITION:<str>	Target Grid System
	Choice
	Available Choices:
	[0] user defined
	[1] grid or grid system
	Default: 0
  -USER_XMIN:<str> 	Left
	Floating point
	Default: 0.000000
  -USER_XMAX:<str> 	Right
	Floating point
	Default: 100.000000
  -USER_YMIN:<str> 	Bottom
	Floating point
	Default: 0.000000
  -USER_YMAX:<str> 	Top
	Floating point
	Default: 100.000000
  -USER_SIZE:<str> 	Cellsize
	Floating point
	Minimum: 0.000000
	Default: 1.000000
  -USER_FITS:<str> 	Fit
	Choice
	Available Choices:
	[0] nodes
	[1] cells
	Default: 0
  -TEMPLATE:<str>  	Target System
	Grid (optional input)
  -OUT_GRID:<str>  	Target Grid
	Grid (output)