SAGA 9.12.5 | Tool Documentation

Difference

Author(s) O.Conrad (c) 2003-25
Library IDshapes_polygons
Tool ID 15
Version 1.0
Menu Shapes | Polygons | Overlay

Description

Calculates the geometric difference of the overlaid 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.

References

Clipper Homepage

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 ] [-B ] [-RESULT ] [-SPLIT ]
  -A:        Layer A
	shapes, input
  -B:        Layer B
	shapes, input
  -RESULT:   Difference
	shapes, output
  -SPLIT:    Split Parts
	boolean
	Default: 1