SAGA 9.6.1 | Tool Library Documentation

Geographic Distances (Pair of Coordinates)


Description

Calculates for all segments of the input lines the planar, great elliptic, and loxodrome distance and re-projects the latter two to the projection of the input lines.


Parameters

 NameTypeIdentifierDescriptionConstraints
OutputGeographic Distancesshapes, outputDISTANCES--
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")!-
Xfloating point numberCOORD_X1-Default: 10.000000
Yfloating point numberCOORD_Y1-Default: 53.500000
Xfloating point numberCOORD_X2-Default: 116.500000
Yfloating point numberCOORD_Y2-Default: 6.400000
Epsilonfloating point numberEPSILONdefines the maximum resolution [km] for the re-projected distance segmentsMinimum: 1.000000 Default: 100.000000

Command Line


Usage: saga_cmd pj_proj4 21 [-CRS_METHOD ] [-CRS_STRING ] [-CRS_FILE ] [-CRS_PROJ4 ] [-CRS_EPSG ] [-CRS_EPSG_AUTH ] [-DISTANCES ] [-COORD_X1 ] [-COORD_Y1 ] [-COORD_X2 ] [-COORD_Y2 ] [-EPSILON ]
  -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
  -DISTANCES:    	Geographic Distances
	shapes, output
  -COORD_X1:  	X
	floating point number
	Default: 10.000000
  -COORD_Y1:  	Y
	floating point number
	Default: 53.500000
  -COORD_X2:  	X
	floating point number
	Default: 116.500000
  -COORD_Y2:  	Y
	floating point number
	Default: 6.400000
  -EPSILON:   	Epsilon
	floating point number
	Minimum: 1.000000
	Default: 100.000000