forked from ZOO-Project/ZOO-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
statisticsByCategory_description.txt
55 lines (37 loc) · 1.27 KB
/
statisticsByCategory_description.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Statistics by categories (qgis:statisticsbycategories)
This algorithm calculates statistics of fields depending on a parent class.
----------------
Input parameters
----------------
INPUT: Input vector layer
Parameter type: QgsProcessingParameterFeatureSource
Accepted data types:
- str: layer ID
- str: layer name
- str: layer source
- QgsProcessingFeatureSourceDefinition
- QgsProperty
- QgsVectorLayer
VALUES_FIELD_NAME: Field to calculate statistics on (if empty, only count is calculated)
Parameter type: QgsProcessingParameterField
Accepted data types:
- str
- QgsProperty
CATEGORIES_FIELD_NAME: Field(s) with categories
Parameter type: QgsProcessingParameterField
Accepted data types:
- str
- QgsProperty
OUTPUT: Statistics by category
Parameter type: QgsProcessingParameterFeatureSink
Accepted data types:
- str: destination vector file, e.g. 'd:/test.shp'
- str: 'memory:' to store result in temporary memory layer
- str: using vector provider ID prefix and destination URI, e.g. 'postgres:…' to store result in PostGIS table
- QgsProcessingOutputLayerDefinition
- QgsProperty
----------------
Outputs
----------------
OUTPUT: <QgsProcessingOutputVectorLayer>
Statistics by category