SAGA-GIS Module Library Documentation (v2.2.2)

Module Convert Lines to Points

Converts lines to points. Optionally inserts additional points in user-defined distances.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputLinesShapes (input)LINES--
OutputPointsShapes (output)POINTS--
OptionsInsert Additional PointsBooleanADD-Default: 0
InsertionChoiceMETHOD_INSERTChoose the method how to insert additional points.Available Choices:
[0] per line segment
[1] per line
[2] from line center
Default: 0
Insertion DistanceFloating pointDISTPoint insertion distance [map units].Minimum: 0.000000
Default: 1.000000
Add Point OrderBooleanADD_POINT_ORDERAdd point order as additional attribute.Default: 0

Command-line

Usage: saga_cmd shapes_points 5 [-LINES <str>] [-POINTS <str>] [-ADD <str>] [-METHOD_INSERT <str>] [-DIST <str>] [-ADD_POINT_ORDER <str>]
  -LINES:<str>          	Lines
	Shapes (input)
  -POINTS:<str>         	Points
	Shapes (output)
  -ADD:<str>            	Insert Additional Points
	Boolean
	Default: 0
  -METHOD_INSERT:<str>  	Insertion
	Choice
	Available Choices:
	[0] per line segment
	[1] per line
	[2] from line center
	Default: 0
  -DIST:<str>           	Insertion Distance
	Floating point
	Minimum: 0.000000
	Default: 1.000000
  -ADD_POINT_ORDER:<str>	Add Point Order
	Boolean
	Default: 0