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.
- Author: Victor Olaya (c) 2004
 
- Menu: Shapes|Points
 
Parameters
|   | Name | Type | Identifier | Description | Constraints | 
| Input | Points | Shapes (input) | INPUT | - | - | 
| Output | Output (*) | Shapes (optional output) | OUTPUT | - | - | 
| Options | X | Boolean | X | - | Default: 1 | 
 | Y | Boolean | Y | - | Default: 1 | 
 | Z | Boolean | Z | - | Default: 1 | 
 | M | Boolean | M | - | Default: 1 | 
 | Longitude | Boolean | LON | - | Default: 0 | 
 | Latitude | Boolean | LAT | - | 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 (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
  -LON:<str>   	Longitude
	Boolean
	Default: 0
  -LAT:<str>   	Latitude
	Boolean
	Default: 0