SAGA-GIS Tool Library Documentation (v9.1.2)

Tool Add Coordinates to Points

The tool attaches the x- and y-coordinates of each point to the attribute table. For 3D shapefiles, also the z/m-coordinates are reported.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputPointsShapes, inputINPUT--
OutputOutput (*)Shapes, output, optionalOUTPUT--
OptionsXBooleanX-Default: 1
YBooleanY-Default: 1
ZBooleanZ-Default: 1
MBooleanM-Default: 1
LongitudeBooleanLON-Default: 0
LatitudeBooleanLAT-Default: 0
(*) optional

Command-line

Usage: saga_cmd shapes_points 6 [-INPUT <str>] [-OUTPUT <str>] [-X <str>] [-Y <str>] [-Z <str>] [-M <str>] [-LON <str>] [-LAT <str>]
  -INPUT:<str> 	Points
	Shapes, input
  -OUTPUT:<str>	Output
	Shapes, output, optional
  -X:<str>     	X
	Boolean
	Default: 1
  -Y:<str>     	Y
	Boolean
	Default: 1
  -Z:<str>     	Z
	Boolean
	Default: 1
  -M:<str>     	M
	Boolean
	Default: 1
  -LON:<str>   	Longitude
	Boolean
	Default: 0
  -LAT:<str>   	Latitude
	Boolean
	Default: 0