SAGA 9.4.2 | Tool Library Documentation

Shapes to Grid


Description

Gridding of a shapes layer. If some shapes are selected, only these will be gridded.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputShapesshapes, inputINPUT--
Target Systemgrid, input, optional, CMDTARGET_TEMPLATEuse this grid's system for output grids-
OutputGridgrid, outputGRID--
Number of Valuesgrid, output, optionalCOUNT--
OptionsAttributetable fieldFIELD--
Output ValueschoiceOUTPUT-Available Choices: [0] data / no-data [1] index number [2] attribute Default: 2
Method for Multiple ValueschoiceMULTIPLE-Available Choices: [0] first [1] last [2] minimum [3] maximum [4] mean Default: 1
LineschoiceLINE_TYPE-Available Choices: [0] thin [1] thick Default: 1
PolygonchoicePOLY_TYPE-Available Choices: [0] node [1] cell Default: 1
Data Typedata typeGRID_TYPE-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 4 byte integer [6] signed 4 byte integer [7] unsigned 8 byte integer [8] signed 8 byte integer [9] 4 byte floating point number [10] 8 byte floating point number [11] same as attribute Default: 11
Target Grid SystemchoiceTARGET_DEFINITION-Available Choices: [0] user defined [1] grid or grid system Default: 0
Cellsizefloating point numberTARGET_USER_SIZE-Minimum: 0.000000 Default: 1.000000
Westfloating point numberTARGET_USER_XMIN-Default: 0.000000
Eastfloating point numberTARGET_USER_XMAX-Default: 100.000000
Southfloating point numberTARGET_USER_YMIN-Default: 0.000000
Northfloating point numberTARGET_USER_YMAX-Default: 100.000000
Columnsinteger numberTARGET_USER_COLSNumber of cells in East-West direction.Minimum: 1 Default: 101
Rowsinteger numberTARGET_USER_ROWSNumber of cells in North-South direction.Minimum: 1 Default: 101
FitchoiceTARGET_USER_FITS-Available Choices: [0] nodes [1] cells Default: 0
Grid Systemgrid systemTARGET_SYSTEM--

Command Line


Usage: saga_cmd grid_gridding 0 [-INPUT ] [-FIELD ] [-OUTPUT ] [-MULTIPLE ] [-LINE_TYPE ] [-POLY_TYPE ] [-GRID_TYPE ] [-TARGET_DEFINITION ] [-TARGET_USER_SIZE ] [-TARGET_USER_XMIN ] [-TARGET_USER_XMAX ] [-TARGET_USER_YMIN ] [-TARGET_USER_YMAX ] [-TARGET_USER_COLS ] [-TARGET_USER_ROWS ] [-TARGET_USER_FITS ] [-TARGET_TEMPLATE ] [-GRID ] [-COUNT ]
  -INPUT:              	Shapes
	shapes, input
  -FIELD:              	Attribute
	table field
  -OUTPUT:             	Output Values
	choice
	Available Choices:
	[0] data / no-data
	[1] index number
	[2] attribute
	Default: 2
  -MULTIPLE:           	Method for Multiple Values
	choice
	Available Choices:
	[0] first
	[1] last
	[2] minimum
	[3] maximum
	[4] mean
	Default: 1
  -LINE_TYPE:          	Lines
	choice
	Available Choices:
	[0] thin
	[1] thick
	Default: 1
  -POLY_TYPE:          	Polygon
	choice
	Available Choices:
	[0] node
	[1] cell
	Default: 1
  -GRID_TYPE:          	Data Type
	data type
	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 4 byte integer
	[6] signed 4 byte integer
	[7] unsigned 8 byte integer
	[8] signed 8 byte integer
	[9] 4 byte floating point number
	[10] 8 byte floating point number
	[11] same as attribute
	Default: 11
  -TARGET_DEFINITION:  	Target Grid System
	choice
	Available Choices:
	[0] user defined
	[1] grid or grid system
	Default: 0
  -TARGET_USER_SIZE:	Cellsize
	floating point number
	Minimum: 0.000000
	Default: 1.000000
  -TARGET_USER_XMIN:	West
	floating point number
	Default: 0.000000
  -TARGET_USER_XMAX:	East
	floating point number
	Default: 100.000000
  -TARGET_USER_YMIN:	South
	floating point number
	Default: 0.000000
  -TARGET_USER_YMAX:	North
	floating point number
	Default: 100.000000
  -TARGET_USER_COLS:   	Columns
	integer number
	Minimum: 1
	Default: 101
  -TARGET_USER_ROWS:   	Rows
	integer number
	Minimum: 1
	Default: 101
  -TARGET_USER_FITS:   	Fit
	choice
	Available Choices:
	[0] nodes
	[1] cells
	Default: 0
  -TARGET_TEMPLATE:    	Target System
	grid, input, optional, CMD
  -GRID:               	Grid
	grid, output
  -COUNT:              	Number of Values
	grid, output, optional