SAGA-GIS Tool Library Documentation (v9.0.1)

Tool Point Statistics for Polygons

Calculates statistics over all points falling in a polygon.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputPointsShapes, inputPOINTS--
PolygonsShapes, inputPOLYGONS--
OutputStatistics (*)Shapes, output, optionalSTATISTICS--
OptionsAttributesTable fieldsFIELDS--
SumBooleanSUM-Default: 0
MeanBooleanAVG-Default: 1
VarianceBooleanVAR-Default: 0
DeviationBooleanDEV-Default: 0
MinimumBooleanMIN-Default: 0
MaximumBooleanMAX-Default: 0
CountBooleanNUM-Default: 0
Field NamingChoiceFIELD_NAME-Available Choices:
[0] variable type + original name
[1] original name + variable type
[2] original name
[3] variable type
Default: 0
(*) optional

Command-line

Usage: saga_cmd shapes_polygons 4 [-POINTS <str>] [-FIELDS <str>] [-POLYGONS <str>] [-STATISTICS <str>] [-SUM <str>] [-AVG <str>] [-VAR <str>] [-DEV <str>] [-MIN <str>] [-MAX <str>] [-NUM <str>] [-FIELD_NAME <str>]
  -POINTS:<str>    	Points
	Shapes, input
  -FIELDS:<str>    	Attributes
	Table fields
  -POLYGONS:<str>  	Polygons
	Shapes, input
  -STATISTICS:<str>	Statistics
	Shapes, output, optional
  -SUM:<str>       	Sum
	Boolean
	Default: 0
  -AVG:<str>       	Mean
	Boolean
	Default: 1
  -VAR:<str>       	Variance
	Boolean
	Default: 0
  -DEV:<str>       	Deviation
	Boolean
	Default: 0
  -MIN:<str>       	Minimum
	Boolean
	Default: 0
  -MAX:<str>       	Maximum
	Boolean
	Default: 0
  -NUM:<str>       	Count
	Boolean
	Default: 0
  -FIELD_NAME:<str>	Field Naming
	Choice
	Available Choices:
	[0] variable type + original name
	[1] original name + variable type
	[2] original name
	[3] variable type
	Default: 0