SAGA-GIS Tool Library Documentation (v7.2.0)

Tool Polygon Dissolve

Merges polygons, which share the same attribute value, and (optionally) dissolves borders between adjacent polygon parts. If no attribute or combination of attributes is chosen, all polygons will be merged. Uses the free and open source software library Clipper created by Angus Johnson.


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputPolygonsShapes (input)POLYGONS--
OutputDissolved PolygonsShapes (output)DISSOLVED--
OptionsDissolve Field(s)Table fieldsFIELDS--
Statistics Field(s)Table fieldsSTATISTICS--
SumBooleanSTAT_SUM-Default: 0
MeanBooleanSTAT_AVG-Default: 1
MinimumBooleanSTAT_MIN-Default: 0
MaximumBooleanSTAT_MAX-Default: 0
RangeBooleanSTAT_RNG-Default: 0
DeviationBooleanSTAT_DEV-Default: 0
VarianceBooleanSTAT_VAR-Default: 0
ListingBooleanSTAT_LST-Default: 0
CountBooleanSTAT_NUM-Default: 0
Field NamingChoiceSTAT_NAMING-Available Choices:
[0] variable type + original name
[1] original name + variable type
[2] original name
[3] variable type
Default: 0
Keep BoundariesBooleanBND_KEEP-Default: 0
Minimum AreaFloating pointMIN_AREA-Minimum: 0.000000
Default: 0.000000

Command-line

Usage: saga_cmd shapes_polygons 5 [-POLYGONS <str>] [-DISSOLVED <str>] [-FIELDS <str>] [-STATISTICS <str>] [-STAT_SUM <str>] [-STAT_AVG <str>] [-STAT_MIN <str>] [-STAT_MAX <str>] [-STAT_RNG <str>] [-STAT_DEV <str>] [-STAT_VAR <str>] [-STAT_LST <str>] [-STAT_NUM <str>] [-STAT_NAMING <str>] [-BND_KEEP <str>] [-MIN_AREA <double>]
  -POLYGONS:<str>   	Polygons
	Shapes (input)
  -DISSOLVED:<str>  	Dissolved Polygons
	Shapes (output)
  -FIELDS:<str>     	Dissolve Field(s)
	Table fields
  -STATISTICS:<str> 	Statistics Field(s)
	Table fields
  -STAT_SUM:<str>   	Sum
	Boolean
	Default: 0
  -STAT_AVG:<str>   	Mean
	Boolean
	Default: 1
  -STAT_MIN:<str>   	Minimum
	Boolean
	Default: 0
  -STAT_MAX:<str>   	Maximum
	Boolean
	Default: 0
  -STAT_RNG:<str>   	Range
	Boolean
	Default: 0
  -STAT_DEV:<str>   	Deviation
	Boolean
	Default: 0
  -STAT_VAR:<str>   	Variance
	Boolean
	Default: 0
  -STAT_LST:<str>   	Listing
	Boolean
	Default: 0
  -STAT_NUM:<str>   	Count
	Boolean
	Default: 0
  -STAT_NAMING:<str>	Field Naming
	Choice
	Available Choices:
	[0] variable type + original name
	[1] original name + variable type
	[2] original name
	[3] variable type
	Default: 0
  -BND_KEEP:<str>   	Keep Boundaries
	Boolean
	Default: 0
  -MIN_AREA:<double>	Minimum Area
	Floating point
	Minimum: 0.000000
	Default: 0.000000