SAGA-GIS Tool Library Documentation (v9.1.2)

Tool Difference

Calculates the geometric difference of the overlayed polygon layers, i.e. layer A less layer B. Sometimes referred to as 'Erase' command.
Uses the free and open source software library Clipper created by Angus Johnson.
Clipper Homepage
Clipper at SourceForge

Parameters

 NameTypeIdentifierDescriptionConstraints
InputLayer AShapes, inputA--
Layer BShapes, inputB--
OutputDifferenceShapes, outputRESULT--
OptionsSplit PartsBooleanSPLITSet true if you want multipart polygons to become separate polygons.Default: 1

Command-line

Usage: saga_cmd shapes_polygons 15 [-A <str>] [-B <str>] [-RESULT <str>] [-SPLIT <str>]
  -A:<str>     	Layer A
	Shapes, input
  -B:<str>     	Layer B
	Shapes, input
  -RESULT:<str>	Difference
	Shapes, output
  -SPLIT:<str> 	Split Parts
	Boolean
	Default: 1