SAGA-GIS Tool Library Documentation (v8.2.1)

Tool Line-Polygon Intersection

Line-polygon intersection.

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