SAGA-GIS Module Library Documentation (v2.3.0)

Module Set Coordinate Reference System

The module allows one to define the Coordinate Reference System (CRS) of the supplied data sets. The module applies no transformation to the data sets, it just updates their CRS metadata.
A complete and correct description of the CRS of a dataset is necessary in order to be able to actually apply a projection with one of the 'Coordinate Transformation' modules later.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGrids (*)Grid list (optional input)GRIDS--
Shapes (*)Shapes list (optional input)SHAPES--
OptionsGet CRS Definition from...ChoiceCRS_METHOD-Available Choices:
[0] Proj4 Parameters
[1] EPSG Code
[2] Well Known Text File
Default: 0
Proj4 ParametersLong textCRS_PROJ4--
Well Known Text FileFile pathCRS_FILE--
EPSG CodeIntegerCRS_EPSG-Minimum: -1
Default: -1
Precise Datum ConversionBooleanPRECISEavoids precision problems when source and target crs use different geodedtic datums.Default: 0
(*) optional

Command-line

Usage: saga_cmd pj_proj4 0 [-CRS_METHOD <str>] [-CRS_PROJ4 <str>] [-CRS_FILE <str>] [-CRS_EPSG <num>] [-PRECISE <str>] [-GRIDS <str>] [-SHAPES <str>]
  -CRS_METHOD:<str>	Get CRS Definition from...
	Choice
	Available Choices:
	[0] Proj4 Parameters
	[1] EPSG Code
	[2] Well Known Text File
	Default: 0
  -CRS_PROJ4:<str> 	Proj4 Parameters
	Long text
  -CRS_FILE:<str>  	Well Known Text File
	File path
  -CRS_EPSG:<num>  	EPSG Code
	Integer
	Minimum: -1
	Default: -1
  -PRECISE:<str>   	Precise Datum Conversion
	Boolean
	Default: 0
  -GRIDS:<str>     	Grids
	Grid list (optional input)
  -SHAPES:<str>    	Shapes
	Shapes list (optional input)