Skip to content

Commit dca37ab

Browse files
committed
[processing] add group id to QGIS algorithms
1 parent 53bc147 commit dca37ab

File tree

117 files changed

+352
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+352
-2
lines changed

python/plugins/processing/algs/qgis/AddTableField.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ class AddTableField(QgisFeatureBasedAlgorithm):
4646
def group(self):
4747
return self.tr('Vector table')
4848

49+
def groupId(self):
50+
return 'vectortable'
51+
4952
def __init__(self):
5053
super().__init__()
5154
self.type_names = [self.tr('Integer'),

python/plugins/processing/algs/qgis/Aggregate.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ class Aggregate(QgisAlgorithm):
5757
def group(self):
5858
return self.tr('Vector geometry')
5959

60+
def groupId(self):
61+
return 'vectorgeometry'
62+
6063
def name(self):
6164
return 'aggregate'
6265

python/plugins/processing/algs/qgis/Aspect.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ def icon(self):
5151
def group(self):
5252
return self.tr('Raster terrain analysis')
5353

54+
def groupId(self):
55+
return 'rasterterrainanalysis'
56+
5457
def __init__(self):
5558
super().__init__()
5659

python/plugins/processing/algs/qgis/BarPlot.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ class BarPlot(QgisAlgorithm):
4747
def group(self):
4848
return self.tr('Graphics')
4949

50+
def groupId(self):
51+
return 'graphics'
52+
5053
def __init__(self):
5154
super().__init__()
5255

python/plugins/processing/algs/qgis/BasicStatistics.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ def tags(self):
8383
def group(self):
8484
return self.tr('Vector analysis')
8585

86+
def groupId(self):
87+
return 'vectoranalysis'
88+
8689
def __init__(self):
8790
super().__init__()
8891

python/plugins/processing/algs/qgis/BoxPlot.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ class BoxPlot(QgisAlgorithm):
4949
def group(self):
5050
return self.tr('Graphics')
5151

52+
def groupId(self):
53+
return 'graphics'
54+
5255
def __init__(self):
5356
super().__init__()
5457

python/plugins/processing/algs/qgis/CheckValidity.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ def icon(self):
6868
def group(self):
6969
return self.tr('Vector geometry')
7070

71+
def groupId(self):
72+
return 'vectorgeometry'
73+
7174
def tags(self):
7275
return self.tr('valid,invalid,detect').split(',')
7376

python/plugins/processing/algs/qgis/ConcaveHull.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ class ConcaveHull(QgisAlgorithm):
5151
def group(self):
5252
return self.tr('Vector geometry')
5353

54+
def groupId(self):
55+
return 'vectorgeometry'
56+
5457
def __init__(self):
5558
super().__init__()
5659

python/plugins/processing/algs/qgis/CreateAttributeIndex.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ class CreateAttributeIndex(QgisAlgorithm):
4343
def group(self):
4444
return self.tr('Vector general')
4545

46+
def groupId(self):
47+
return 'vectorgeneral'
48+
4649
def __init__(self):
4750
super().__init__()
4851

python/plugins/processing/algs/qgis/CreateConstantRaster.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ class CreateConstantRaster(QgisAlgorithm):
5050
def group(self):
5151
return self.tr('Raster tools')
5252

53+
def groupId(self):
54+
return 'rastertools'
55+
5356
def __init__(self):
5457
super().__init__()
5558

python/plugins/processing/algs/qgis/Datasources2Vrt.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ class Datasources2Vrt(QgisAlgorithm):
4949
def group(self):
5050
return self.tr('Vector general')
5151

52+
def groupId(self):
53+
return 'vectorgeneral'
54+
5255
def __init__(self):
5356
super().__init__()
5457

python/plugins/processing/algs/qgis/DefineProjection.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ class DefineProjection(QgisAlgorithm):
4646
def group(self):
4747
return self.tr('Vector general')
4848

49+
def groupId(self):
50+
return 'vectorgeneral'
51+
4952
def __init__(self):
5053
super().__init__()
5154

python/plugins/processing/algs/qgis/Delaunay.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ def icon(self):
6161
def group(self):
6262
return self.tr('Vector geometry')
6363

64+
def groupId(self):
65+
return 'vectorgeometry'
66+
6467
def __init__(self):
6568
super().__init__()
6669

python/plugins/processing/algs/qgis/DeleteColumn.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ def tags(self):
4040
def group(self):
4141
return self.tr('Vector table')
4242

43+
def groupId(self):
44+
return 'vectortable'
45+
4346
def __init__(self):
4447
super().__init__()
4548
self.fields_to_delete = []

python/plugins/processing/algs/qgis/DeleteDuplicateGeometries.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ class DeleteDuplicateGeometries(QgisAlgorithm):
4040
def group(self):
4141
return self.tr('Vector general')
4242

43+
def groupId(self):
44+
return 'vectorgeneral'
45+
4346
def __init__(self):
4447
super().__init__()
4548

python/plugins/processing/algs/qgis/DeleteHoles.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ def tags(self):
4848
def group(self):
4949
return self.tr('Vector geometry')
5050

51+
def groupId(self):
52+
return 'vectorgeometry'
53+
5154
def name(self):
5255
return 'deleteholes'
5356

python/plugins/processing/algs/qgis/DensifyGeometries.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ def tags(self):
4343
def group(self):
4444
return self.tr('Vector geometry')
4545

46+
def groupId(self):
47+
return 'vectorgeometry'
48+
4649
def __init__(self):
4750
super().__init__()
4851
self.vertices = None

python/plugins/processing/algs/qgis/DensifyGeometriesInterval.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ class DensifyGeometriesInterval(QgisFeatureBasedAlgorithm):
3939
def group(self):
4040
return self.tr('Vector geometry')
4141

42+
def groupId(self):
43+
return 'vectorgeometry'
44+
4245
def __init__(self):
4346
super().__init__()
4447
self.interval = None

python/plugins/processing/algs/qgis/Difference.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ def icon(self):
5454
def group(self):
5555
return self.tr('Vector overlay')
5656

57+
def groupId(self):
58+
return 'vectoroverlay'
59+
5760
def __init__(self):
5861
super().__init__()
5962

python/plugins/processing/algs/qgis/EliminateSelection.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ def icon(self):
6161
def group(self):
6262
return self.tr('Vector geometry')
6363

64+
def groupId(self):
65+
return 'vectorgeometry'
66+
6467
def __init__(self):
6568
super().__init__()
6669

python/plugins/processing/algs/qgis/EquivalentNumField.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ class EquivalentNumField(QgisAlgorithm):
4343
def group(self):
4444
return self.tr('Vector table')
4545

46+
def groupId(self):
47+
return 'vectortable'
48+
4649
def __init__(self):
4750
super().__init__()
4851

python/plugins/processing/algs/qgis/ExecuteSQL.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ class ExecuteSQL(QgisAlgorithm):
5656
def group(self):
5757
return self.tr('Vector general')
5858

59+
def groupId(self):
60+
return 'vectorgeneral'
61+
5962
def __init__(self):
6063
super().__init__()
6164

python/plugins/processing/algs/qgis/Explode.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ class Explode(QgisAlgorithm):
4444
def group(self):
4545
return self.tr('Vector geometry')
4646

47+
def groupId(self):
48+
return 'vectorgeometry'
49+
4750
def __init__(self):
4851
super().__init__()
4952

python/plugins/processing/algs/qgis/ExportGeometryInfo.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ def tags(self):
6262
def group(self):
6363
return self.tr('Vector geometry')
6464

65+
def groupId(self):
66+
return 'vectorgeometry'
67+
6568
def __init__(self):
6669
super().__init__()
6770
self.export_z = False

python/plugins/processing/algs/qgis/ExtendLines.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ class ExtendLines(QgisFeatureBasedAlgorithm):
3939
def group(self):
4040
return self.tr('Vector geometry')
4141

42+
def groupId(self):
43+
return 'vectorgeometry'
44+
4245
def __init__(self):
4346
super().__init__()
4447
self.start_distance = None

python/plugins/processing/algs/qgis/ExtentFromLayer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ def tags(self):
6161
def group(self):
6262
return self.tr('Layer tools')
6363

64+
def groupId(self):
65+
return 'layertools'
66+
6467
def __init__(self):
6568
super().__init__()
6669

python/plugins/processing/algs/qgis/ExtractSpecificNodes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ class ExtractSpecificNodes(QgisAlgorithm):
5050
def group(self):
5151
return self.tr('Vector geometry')
5252

53+
def groupId(self):
54+
return 'vectorgeometry'
55+
5356
def __init__(self):
5457
super().__init__()
5558

python/plugins/processing/algs/qgis/FieldPyculator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ class FieldsPyculator(QgisAlgorithm):
5656
def group(self):
5757
return self.tr('Vector table')
5858

59+
def groupId(self):
60+
return 'vectortable'
61+
5962
def __init__(self):
6063
super().__init__()
6164

python/plugins/processing/algs/qgis/FieldsCalculator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ class FieldsCalculator(QgisAlgorithm):
6060
def group(self):
6161
return self.tr('Vector table')
6262

63+
def groupId(self):
64+
return 'vectortable'
65+
6366
def __init__(self):
6467
super().__init__()
6568
self.type_names = [self.tr('Float'),

python/plugins/processing/algs/qgis/FieldsMapper.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ class FieldsMapper(QgisFeatureBasedAlgorithm):
4646
def group(self):
4747
return self.tr('Vector table')
4848

49+
def groupId(self):
50+
return 'vectortable'
51+
4952
def initParameters(self, config=None):
5053

5154
class ParameterFieldsMapping(QgsProcessingParameterDefinition):

python/plugins/processing/algs/qgis/FindProjection.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ def tags(self):
5959
def group(self):
6060
return self.tr('Vector general')
6161

62+
def groupId(self):
63+
return 'vectorgeneral'
64+
6265
def __init__(self):
6366
super().__init__()
6467

python/plugins/processing/algs/qgis/FixedDistanceBuffer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ def icon(self):
6262
def group(self):
6363
return self.tr('Vector geometry')
6464

65+
def groupId(self):
66+
return 'vectorgeometry'
67+
6568
def __init__(self):
6669
super().__init__()
6770

python/plugins/processing/algs/qgis/GeometryByExpression.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ class GeometryByExpression(QgisFeatureBasedAlgorithm):
4646
def group(self):
4747
return self.tr('Vector geometry')
4848

49+
def groupId(self):
50+
return 'vectorgeometry'
51+
4952
def __init__(self):
5053
super().__init__()
5154
self.geometry_types = [self.tr('Polygon'),

python/plugins/processing/algs/qgis/GeometryConvert.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ class GeometryConvert(QgisAlgorithm):
4848
def group(self):
4949
return self.tr('Vector geometry')
5050

51+
def groupId(self):
52+
return 'vectorgeometry'
53+
5154
def __init__(self):
5255
super().__init__()
5356

python/plugins/processing/algs/qgis/GridLine.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ def tags(self):
7070
def group(self):
7171
return self.tr('Vector creation')
7272

73+
def groupId(self):
74+
return 'vectorcreation'
75+
7376
def __init__(self):
7477
super().__init__()
7578

python/plugins/processing/algs/qgis/GridPolygon.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ def tags(self):
6969
def group(self):
7070
return self.tr('Vector creation')
7171

72+
def groupId(self):
73+
return 'vectorcreation'
74+
7275
def __init__(self):
7376
super().__init__()
7477

python/plugins/processing/algs/qgis/Heatmap.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ def tags(self):
6969
def group(self):
7070
return self.tr('Interpolation')
7171

72+
def groupId(self):
73+
return 'interpolation'
74+
7275
def name(self):
7376
return 'heatmapkerneldensityestimation'
7477

python/plugins/processing/algs/qgis/Hillshade.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ def icon(self):
5353
def group(self):
5454
return self.tr('Raster terrain analysis')
5555

56+
def groupId(self):
57+
return 'rasterterrainanalysis'
58+
5659
def __init__(self):
5760
super().__init__()
5861

python/plugins/processing/algs/qgis/HubDistanceLines.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ class HubDistanceLines(QgisAlgorithm):
6666
def group(self):
6767
return self.tr('Vector analysis')
6868

69+
def groupId(self):
70+
return 'vectoranalysis'
71+
6972
def __init__(self):
7073
super().__init__()
7174

python/plugins/processing/algs/qgis/HubDistancePoints.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ class HubDistancePoints(QgisAlgorithm):
6262
def group(self):
6363
return self.tr('Vector analysis')
6464

65+
def groupId(self):
66+
return 'vectoranalysis'
67+
6568
def __init__(self):
6669
super().__init__()
6770

0 commit comments

Comments
 (0)