SAGA-GIS Tool Library Documentation (v6.1.0)

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 (input)A--
Layer BShapes (input)B--
OutputDifferenceShapes (output)RESULT--
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