SAGA 9.6.1 | Tool Library Documentation

Coordinate Transformation (Grid List)


Description

Coordinate transformation for grids. Projection routines make use of the PROJ generic coordinate transformation software. PROJ Version is 9.4.1 PROJ Homepage


Parameters

 NameTypeIdentifierDescriptionConstraints
InputSourcegrid list, inputSOURCE--
Target Systemgrid, input, optionalTARGET_TEMPLATEuse this grid's system for output grids-
OutputTargetgrid list, output, optionalGRIDS--
X Coordinatesgrid, output, optionalOUT_X--
Y Coordinatesgrid, output, optionalOUT_Y--
OptionsGet CRS Definition from...choiceCRS_METHOD-Available Choices: [0] Definition String [1] Authority Code [2] Well Known Text File Default: 0
Definition StringtextCRS_STRINGSupported formats comprise PROJ and WKT strings, object codes (e.g. "EPSG:4326").Default: +proj=longlat +datum=WGS84 +no_defs +type=crs
Well Known Text Filefile pathCRS_FILE--
[deprecated] Proj4 StringtextCRS_PROJ4Deprecated! For backward compatibility only! Use "CRS_STRING" parameter instead (e.g. "+proj=longlat +datum=WGS84")!-
[deprecated] Authority Codeinteger numberCRS_EPSGDeprecated! For backward compatibility only! Use "CRS_STRING" parameter instead (e.g. "EPSG:4326")!Default: -1
[deprecated] AuthoritytextCRS_EPSG_AUTHDeprecated! For backward compatibility only! Use "CRS_STRING" parameter instead (e.g. "EPSG:4326")!-
ResamplingchoiceRESAMPLING-Available Choices: [0] Nearest Neighbour [1] Bilinear Interpolation [2] Bicubic Spline Interpolation [3] B-Spline Interpolation Default: 3
Bytewise InterpolationbooleanBYTEWISETo be used for RGB and CMYK coded values (i.e. images).Default: 0
Data Typedata typeDATA_TYPE-Available Choices: [0] unsigned 1 byte integer [1] signed 1 byte integer [2] unsigned 2 byte integer [3] signed 2 byte integer [4] unsigned 4 byte integer [5] signed 4 byte integer [6] unsigned 8 byte integer [7] signed 8 byte integer [8] 4 byte floating point number [9] 8 byte floating point number [10] Preserve Default: 10
Use Target Area PolygonbooleanTARGET_AREARestricts targeted grid cells to area of the projected bounding rectangle. Useful with certain projections for global data.Default: 0
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
RoundingbooleanTARGET_USER_FLATRound bounding coordinates to multiples of cell size. Ignored if cell size has decimal places.Default: 1
FitchoiceTARGET_USER_FITS-Available Choices: [0] nodes [1] cells Default: 0
Grid Systemgrid systemTARGET_SYSTEM--

Command Line


Usage: saga_cmd pj_proj4 3 [-CRS_METHOD ] [-CRS_STRING ] [-CRS_FILE ] [-CRS_PROJ4 ] [-CRS_EPSG ] [-CRS_EPSG_AUTH ] [-SOURCE ] [-RESAMPLING ] [-BYTEWISE ] [-DATA_TYPE ] [-TARGET_AREA ] [-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_FLAT ] [-TARGET_USER_FITS ] [-TARGET_TEMPLATE ] [-GRIDS ] [-OUT_X ] [-OUT_Y ]
  -CRS_METHOD:         	Get CRS Definition from...
	choice
	Available Choices:
	[0] Definition String
	[1] Authority Code
	[2] Well Known Text File
	Default: 0
  -CRS_STRING:         	Definition String
	text
	Default: +proj=longlat +datum=WGS84 +no_defs +type=crs
  -CRS_FILE:           	Well Known Text File
	file path
  -CRS_PROJ4:          	[deprecated] Proj4 String
	text
  -CRS_EPSG:           	[deprecated] Authority Code
	integer number
	Default: -1
  -CRS_EPSG_AUTH:      	[deprecated] Authority
	text
  -SOURCE:             	Source
	grid list, input
  -RESAMPLING:         	Resampling
	choice
	Available Choices:
	[0] Nearest Neighbour
	[1] Bilinear Interpolation
	[2] Bicubic Spline Interpolation
	[3] B-Spline Interpolation
	Default: 3
  -BYTEWISE:           	Bytewise Interpolation
	boolean
	Default: 0
  -DATA_TYPE:          	Data Type
	data type
	Available Choices:
	[0] unsigned 1 byte integer
	[1] signed 1 byte integer
	[2] unsigned 2 byte integer
	[3] signed 2 byte integer
	[4] unsigned 4 byte integer
	[5] signed 4 byte integer
	[6] unsigned 8 byte integer
	[7] signed 8 byte integer
	[8] 4 byte floating point number
	[9] 8 byte floating point number
	[10] Preserve
	Default: 10
  -TARGET_AREA:        	Use Target Area Polygon
	boolean
	Default: 0
  -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_FLAT:   	Rounding
	boolean
	Default: 1
  -TARGET_USER_FITS:   	Fit
	choice
	Available Choices:
	[0] nodes
	[1] cells
	Default: 0
  -TARGET_TEMPLATE:    	Target System
	grid, input, optional
  -GRIDS:              	Target
	grid list, output, optional
  -OUT_X:              	X Coordinates
	grid, output, optional
  -OUT_Y:              	Y Coordinates
	grid, output, optional