SAGA-GIS Tool Library Documentation (v6.1.0)

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 (input)INPUT--
OutputOutput (*)Shapes (optional output)OUTPUT--
OptionsXBooleanX-Default: 1
YBooleanY-Default: 1
ZBooleanZ-Default: 1
MBooleanM-Default: 1
(*) optional

Command-line

Usage: saga_cmd shapes_points 6 [-INPUT <str>] [-OUTPUT <str>] [-X <str>] [-Y <str>] [-Z <str>] [-M <str>]
  -INPUT:<str> 	Points
	Shapes (input)
  -OUTPUT:<str>	Output
	Shapes (optional output)
  -X:<str>     	X
	Boolean
	Default: 1
  -Y:<str>     	Y
	Boolean
	Default: 1
  -Z:<str>     	Z
	Boolean
	Default: 1
  -M:<str>     	M
	Boolean
	Default: 1