SAGA-GIS Tool Library Documentation (v9.2.0)

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