SAGA-GIS Tool Library Documentation (v9.2.0)

Tool Line-Polygon Intersection

Line-polygon intersection. Splits lines with polygon arcs.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputLinesshapes, inputLINES--
Polygonsshapes, inputPOLYGONS--
OutputIntersectionshapes, outputINTERSECT--
Differenceshapes, outputDIFFERENCE--
OptionsOutputchoiceOUTPUT-Available Choices:
[0] intersection
[1] difference
[2] intersection and difference
Default: 2
AttributeschoiceATTRIBUTESattributes inherited to intersection resultAvailable Choices:
[0] polygon
[1] line
[2] line and polygon
Default: 1

Command-line

Usage: saga_cmd shapes_lines 3 [-LINES <str>] [-POLYGONS <str>] [-INTERSECT <str>] [-DIFFERENCE <str>] [-OUTPUT <str>] [-ATTRIBUTES <str>]
  -LINES:<str>     	Lines
	shapes, input
  -POLYGONS:<str>  	Polygons
	shapes, input
  -INTERSECT:<str> 	Intersection
	shapes, output
  -DIFFERENCE:<str>	Difference
	shapes, output
  -OUTPUT:<str>    	Output
	choice
	Available Choices:
	[0] intersection
	[1] difference
	[2] intersection and difference
	Default: 2
  -ATTRIBUTES:<str>	Attributes
	choice
	Available Choices:
	[0] polygon
	[1] line
	[2] line and polygon
	Default: 1