SAGA 9.6.1 | Tool Library Documentation

Set Coordinate Reference System


Description

This tool allows you to define the Coordinate Reference System (CRS) for the supplied data sets. The tool 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' tools.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputGridsgrid list, input, optionalGRIDS--
Shapesshapes list, input, optionalSHAPES--
OutputGridsgrid list, output, optionalGRIDS_OUT--
Shapesshapes list, output, optionalSHAPES_OUT--
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")!-

Command Line


Usage: saga_cmd pj_proj4 0 [-CRS_METHOD ] [-CRS_STRING ] [-CRS_FILE ] [-CRS_PROJ4 ] [-CRS_EPSG ] [-CRS_EPSG_AUTH ] [-GRIDS ] [-GRIDS_OUT ] [-SHAPES ] [-SHAPES_OUT ]
  -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
  -GRIDS:        	Grids
	grid list, input, optional
  -GRIDS_OUT:    	Grids
	grid list, output, optional
  -SHAPES:       	Shapes
	shapes list, input, optional
  -SHAPES_OUT:   	Shapes
	shapes list, output, optional