Skip to content

Commit

Permalink
[processing] add group id to QGIS algorithms
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Dec 14, 2017
1 parent 53bc147 commit dca37ab
Show file tree
Hide file tree
Showing 117 changed files with 352 additions and 2 deletions.
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/AddTableField.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ class AddTableField(QgisFeatureBasedAlgorithm):
def group(self):
return self.tr('Vector table')

def groupId(self):
return 'vectortable'

def __init__(self):
super().__init__()
self.type_names = [self.tr('Integer'),
Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/Aggregate.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ class Aggregate(QgisAlgorithm):
def group(self):
return self.tr('Vector geometry')

def groupId(self):
return 'vectorgeometry'

def name(self):
return 'aggregate'

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/Aspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ def icon(self):
def group(self):
return self.tr('Raster terrain analysis')

def groupId(self):
return 'rasterterrainanalysis'

def __init__(self):
super().__init__()

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/BarPlot.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ class BarPlot(QgisAlgorithm):
def group(self):
return self.tr('Graphics')

def groupId(self):
return 'graphics'

def __init__(self):
super().__init__()

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/BasicStatistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ def tags(self):
def group(self):
return self.tr('Vector analysis')

def groupId(self):
return 'vectoranalysis'

def __init__(self):
super().__init__()

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/BoxPlot.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ class BoxPlot(QgisAlgorithm):
def group(self):
return self.tr('Graphics')

def groupId(self):
return 'graphics'

def __init__(self):
super().__init__()

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/CheckValidity.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ def icon(self):
def group(self):
return self.tr('Vector geometry')

def groupId(self):
return 'vectorgeometry'

def tags(self):
return self.tr('valid,invalid,detect').split(',')

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/ConcaveHull.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ class ConcaveHull(QgisAlgorithm):
def group(self):
return self.tr('Vector geometry')

def groupId(self):
return 'vectorgeometry'

def __init__(self):
super().__init__()

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/CreateAttributeIndex.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ class CreateAttributeIndex(QgisAlgorithm):
def group(self):
return self.tr('Vector general')

def groupId(self):
return 'vectorgeneral'

def __init__(self):
super().__init__()

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/CreateConstantRaster.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ class CreateConstantRaster(QgisAlgorithm):
def group(self):
return self.tr('Raster tools')

def groupId(self):
return 'rastertools'

def __init__(self):
super().__init__()

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/Datasources2Vrt.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ class Datasources2Vrt(QgisAlgorithm):
def group(self):
return self.tr('Vector general')

def groupId(self):
return 'vectorgeneral'

def __init__(self):
super().__init__()

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/DefineProjection.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ class DefineProjection(QgisAlgorithm):
def group(self):
return self.tr('Vector general')

def groupId(self):
return 'vectorgeneral'

def __init__(self):
super().__init__()

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/Delaunay.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ def icon(self):
def group(self):
return self.tr('Vector geometry')

def groupId(self):
return 'vectorgeometry'

def __init__(self):
super().__init__()

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/DeleteColumn.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ def tags(self):
def group(self):
return self.tr('Vector table')

def groupId(self):
return 'vectortable'

def __init__(self):
super().__init__()
self.fields_to_delete = []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ class DeleteDuplicateGeometries(QgisAlgorithm):
def group(self):
return self.tr('Vector general')

def groupId(self):
return 'vectorgeneral'

def __init__(self):
super().__init__()

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/DeleteHoles.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ def tags(self):
def group(self):
return self.tr('Vector geometry')

def groupId(self):
return 'vectorgeometry'

def name(self):
return 'deleteholes'

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/DensifyGeometries.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ def tags(self):
def group(self):
return self.tr('Vector geometry')

def groupId(self):
return 'vectorgeometry'

def __init__(self):
super().__init__()
self.vertices = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class DensifyGeometriesInterval(QgisFeatureBasedAlgorithm):
def group(self):
return self.tr('Vector geometry')

def groupId(self):
return 'vectorgeometry'

def __init__(self):
super().__init__()
self.interval = None
Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/Difference.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ def icon(self):
def group(self):
return self.tr('Vector overlay')

def groupId(self):
return 'vectoroverlay'

def __init__(self):
super().__init__()

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/EliminateSelection.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ def icon(self):
def group(self):
return self.tr('Vector geometry')

def groupId(self):
return 'vectorgeometry'

def __init__(self):
super().__init__()

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/EquivalentNumField.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ class EquivalentNumField(QgisAlgorithm):
def group(self):
return self.tr('Vector table')

def groupId(self):
return 'vectortable'

def __init__(self):
super().__init__()

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/ExecuteSQL.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ class ExecuteSQL(QgisAlgorithm):
def group(self):
return self.tr('Vector general')

def groupId(self):
return 'vectorgeneral'

def __init__(self):
super().__init__()

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/Explode.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ class Explode(QgisAlgorithm):
def group(self):
return self.tr('Vector geometry')

def groupId(self):
return 'vectorgeometry'

def __init__(self):
super().__init__()

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/ExportGeometryInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ def tags(self):
def group(self):
return self.tr('Vector geometry')

def groupId(self):
return 'vectorgeometry'

def __init__(self):
super().__init__()
self.export_z = False
Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/ExtendLines.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class ExtendLines(QgisFeatureBasedAlgorithm):
def group(self):
return self.tr('Vector geometry')

def groupId(self):
return 'vectorgeometry'

def __init__(self):
super().__init__()
self.start_distance = None
Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/ExtentFromLayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ def tags(self):
def group(self):
return self.tr('Layer tools')

def groupId(self):
return 'layertools'

def __init__(self):
super().__init__()

Expand Down
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/qgis/ExtractSpecificNodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ class ExtractSpecificNodes(QgisAlgorithm):
def group(self):
return self.tr('Vector geometry')

def groupId(self):
return 'vectorgeometry'

</