Skip to content
Permalink
Browse files

[processing] add group id to QGIS algorithms

  • Loading branch information
alexbruy committed Dec 14, 2017
1 parent 53bc147 commit dca37abd0e1452abedadb972e0627918136c124b
Showing with 352 additions and 2 deletions.
  1. +3 −0 python/plugins/processing/algs/qgis/AddTableField.py
  2. +3 −0 python/plugins/processing/algs/qgis/Aggregate.py
  3. +3 −0 python/plugins/processing/algs/qgis/Aspect.py
  4. +3 −0 python/plugins/processing/algs/qgis/BarPlot.py
  5. +3 −0 python/plugins/processing/algs/qgis/BasicStatistics.py
  6. +3 −0 python/plugins/processing/algs/qgis/BoxPlot.py
  7. +3 −0 python/plugins/processing/algs/qgis/CheckValidity.py
  8. +3 −0 python/plugins/processing/algs/qgis/ConcaveHull.py
  9. +3 −0 python/plugins/processing/algs/qgis/CreateAttributeIndex.py
  10. +3 −0 python/plugins/processing/algs/qgis/CreateConstantRaster.py
  11. +3 −0 python/plugins/processing/algs/qgis/Datasources2Vrt.py
  12. +3 −0 python/plugins/processing/algs/qgis/DefineProjection.py
  13. +3 −0 python/plugins/processing/algs/qgis/Delaunay.py
  14. +3 −0 python/plugins/processing/algs/qgis/DeleteColumn.py
  15. +3 −0 python/plugins/processing/algs/qgis/DeleteDuplicateGeometries.py
  16. +3 −0 python/plugins/processing/algs/qgis/DeleteHoles.py
  17. +3 −0 python/plugins/processing/algs/qgis/DensifyGeometries.py
  18. +3 −0 python/plugins/processing/algs/qgis/DensifyGeometriesInterval.py
  19. +3 −0 python/plugins/processing/algs/qgis/Difference.py
  20. +3 −0 python/plugins/processing/algs/qgis/EliminateSelection.py
  21. +3 −0 python/plugins/processing/algs/qgis/EquivalentNumField.py
  22. +3 −0 python/plugins/processing/algs/qgis/ExecuteSQL.py
  23. +3 −0 python/plugins/processing/algs/qgis/Explode.py
  24. +3 −0 python/plugins/processing/algs/qgis/ExportGeometryInfo.py
  25. +3 −0 python/plugins/processing/algs/qgis/ExtendLines.py
  26. +3 −0 python/plugins/processing/algs/qgis/ExtentFromLayer.py
  27. +3 −0 python/plugins/processing/algs/qgis/ExtractSpecificNodes.py
  28. +3 −0 python/plugins/processing/algs/qgis/FieldPyculator.py
  29. +3 −0 python/plugins/processing/algs/qgis/FieldsCalculator.py
  30. +3 −0 python/plugins/processing/algs/qgis/FieldsMapper.py
  31. +3 −0 python/plugins/processing/algs/qgis/FindProjection.py
  32. +3 −0 python/plugins/processing/algs/qgis/FixedDistanceBuffer.py
  33. +3 −0 python/plugins/processing/algs/qgis/GeometryByExpression.py
  34. +3 −0 python/plugins/processing/algs/qgis/GeometryConvert.py
  35. +3 −0 python/plugins/processing/algs/qgis/GridLine.py
  36. +3 −0 python/plugins/processing/algs/qgis/GridPolygon.py
  37. +3 −0 python/plugins/processing/algs/qgis/Heatmap.py
  38. +3 −0 python/plugins/processing/algs/qgis/Hillshade.py
  39. +3 −0 python/plugins/processing/algs/qgis/HubDistanceLines.py
  40. +3 −0 python/plugins/processing/algs/qgis/HubDistancePoints.py
  41. +3 −0 python/plugins/processing/algs/qgis/HypsometricCurves.py
  42. +3 −0 python/plugins/processing/algs/qgis/IdwInterpolation.py
  43. +3 −0 python/plugins/processing/algs/qgis/ImportIntoPostGIS.py
  44. +3 −0 python/plugins/processing/algs/qgis/ImportIntoSpatialite.py
  45. +3 −0 python/plugins/processing/algs/qgis/Intersection.py
  46. +3 −0 python/plugins/processing/algs/qgis/LinesToPolygons.py
  47. +3 −0 python/plugins/processing/algs/qgis/MeanAndStdDevPlot.py
  48. +3 −0 python/plugins/processing/algs/qgis/MinimumBoundingGeometry.py
  49. +3 −0 python/plugins/processing/algs/qgis/NearestNeighbourAnalysis.py
  50. +3 −0 python/plugins/processing/algs/qgis/OffsetLine.py
  51. +3 −0 python/plugins/processing/algs/qgis/Orthogonalize.py
  52. +3 −0 python/plugins/processing/algs/qgis/PointDistance.py
  53. +3 −0 python/plugins/processing/algs/qgis/PointOnSurface.py
  54. +3 −0 python/plugins/processing/algs/qgis/PointsAlongGeometry.py
  55. +3 −0 python/plugins/processing/algs/qgis/PointsDisplacement.py
  56. +3 −0 python/plugins/processing/algs/qgis/PointsFromLines.py
  57. +3 −0 python/plugins/processing/algs/qgis/PointsFromPolygons.py
  58. +3 −0 python/plugins/processing/algs/qgis/PointsInPolygon.py
  59. +3 −0 python/plugins/processing/algs/qgis/PointsLayerFromTable.py
  60. +3 −0 python/plugins/processing/algs/qgis/PointsToPaths.py
  61. +3 −0 python/plugins/processing/algs/qgis/PolarPlot.py
  62. +3 −0 python/plugins/processing/algs/qgis/PoleOfInaccessibility.py
  63. +3 −0 python/plugins/processing/algs/qgis/Polygonize.py
  64. +3 −0 python/plugins/processing/algs/qgis/PolygonsToLines.py
  65. +3 −0 python/plugins/processing/algs/qgis/PostGISExecuteSQL.py
  66. +3 −0 python/plugins/processing/algs/qgis/RandomExtract.py
  67. +3 −0 python/plugins/processing/algs/qgis/RandomExtractWithinSubsets.py
  68. +3 −0 python/plugins/processing/algs/qgis/RandomPointsAlongLines.py
  69. +3 −0 python/plugins/processing/algs/qgis/RandomPointsExtent.py
  70. +3 −0 python/plugins/processing/algs/qgis/RandomPointsLayer.py
  71. +3 −0 python/plugins/processing/algs/qgis/RandomPointsPolygons.py
  72. +3 −0 python/plugins/processing/algs/qgis/RandomSelection.py
  73. +3 −0 python/plugins/processing/algs/qgis/RandomSelectionWithinSubsets.py
  74. +4 −2 python/plugins/processing/algs/qgis/RasterCalculator.py
  75. +3 −0 python/plugins/processing/algs/qgis/RasterLayerHistogram.py
  76. +3 −0 python/plugins/processing/algs/qgis/RasterLayerStatistics.py
  77. +3 −0 python/plugins/processing/algs/qgis/Rasterize.py
  78. +3 −0 python/plugins/processing/algs/qgis/RectanglesOvalsDiamondsFixed.py
  79. +3 −0 python/plugins/processing/algs/qgis/RectanglesOvalsDiamondsVariable.py
  80. +3 −0 python/plugins/processing/algs/qgis/RegularPoints.py
  81. +3 −0 python/plugins/processing/algs/qgis/Relief.py
  82. +3 −0 python/plugins/processing/algs/qgis/ReverseLineDirection.py
  83. +3 −0 python/plugins/processing/algs/qgis/Ruggedness.py
  84. +3 −0 python/plugins/processing/algs/qgis/SelectByAttribute.py
  85. +3 −0 python/plugins/processing/algs/qgis/SelectByExpression.py
  86. +3 −0 python/plugins/processing/algs/qgis/ServiceAreaFromLayer.py
  87. +3 −0 python/plugins/processing/algs/qgis/ServiceAreaFromPoint.py
  88. +3 −0 python/plugins/processing/algs/qgis/SetMValue.py
  89. +3 −0 python/plugins/processing/algs/qgis/SetRasterStyle.py
  90. +3 −0 python/plugins/processing/algs/qgis/SetVectorStyle.py
  91. +3 −0 python/plugins/processing/algs/qgis/SetZValue.py
  92. +3 −0 python/plugins/processing/algs/qgis/ShortestPathLayerToPoint.py
  93. +3 −0 python/plugins/processing/algs/qgis/ShortestPathPointToLayer.py
  94. +3 −0 python/plugins/processing/algs/qgis/ShortestPathPointToPoint.py
  95. +3 −0 python/plugins/processing/algs/qgis/SingleSidedBuffer.py
  96. +3 −0 python/plugins/processing/algs/qgis/Slope.py
  97. +3 −0 python/plugins/processing/algs/qgis/SnapGeometries.py
  98. +3 −0 python/plugins/processing/algs/qgis/SpatialIndex.py
  99. +3 −0 python/plugins/processing/algs/qgis/SpatialJoin.py
  100. +3 −0 python/plugins/processing/algs/qgis/SpatialJoinSummary.py
  101. +3 −0 python/plugins/processing/algs/qgis/SpatialiteExecuteSQL.py
  102. +3 −0 python/plugins/processing/algs/qgis/StatisticsByCategories.py
  103. +3 −0 python/plugins/processing/algs/qgis/SumLines.py
  104. +3 −0 python/plugins/processing/algs/qgis/SymmetricalDifference.py
  105. +3 −0 python/plugins/processing/algs/qgis/TextToFloat.py
  106. +3 −0 python/plugins/processing/algs/qgis/TinInterpolation.py
  107. +3 −0 python/plugins/processing/algs/qgis/TopoColors.py
  108. +3 −0 python/plugins/processing/algs/qgis/TruncateTable.py
  109. +3 −0 python/plugins/processing/algs/qgis/Union.py
  110. +3 −0 python/plugins/processing/algs/qgis/UniqueValues.py
  111. +3 −0 python/plugins/processing/algs/qgis/VariableDistanceBuffer.py
  112. +3 −0 python/plugins/processing/algs/qgis/VectorLayerHistogram.py
  113. +3 −0 python/plugins/processing/algs/qgis/VectorLayerScatterplot.py
  114. +3 −0 python/plugins/processing/algs/qgis/VectorLayerScatterplot3D.py
  115. +3 −0 python/plugins/processing/algs/qgis/VectorSplit.py
  116. +3 −0 python/plugins/processing/algs/qgis/VoronoiPolygons.py
  117. +3 −0 python/plugins/processing/algs/qgis/ZonalStatistics.py
@@ -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'),
@@ -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'

@@ -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__()

@@ -47,6 +47,9 @@ class BarPlot(QgisAlgorithm):
def group(self):
return self.tr('Graphics')

def groupId(self):
return 'graphics'

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

@@ -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__()

@@ -49,6 +49,9 @@ class BoxPlot(QgisAlgorithm):
def group(self):
return self.tr('Graphics')

def groupId(self):
return 'graphics'

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

@@ -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(',')

@@ -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__()

@@ -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__()

@@ -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__()

@@ -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__()

@@ -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__()

@@ -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__()

@@ -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 = []
@@ -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__()

@@ -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'

@@ -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
@@ -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
@@ -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__()

@@ -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__()

@@ -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__()

@@ -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__()

@@ -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__()

@@ -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
@@ -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
@@ -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__()

@@ -50,6 +50,9 @@ class ExtractSpecificNodes(QgisAlgorithm):
def group(self):
return self.tr('Vector geometry')

def groupId(self):
return 'vectorgeometry'

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

@@ -56,6 +56,9 @@ class FieldsPyculator(QgisAlgorithm):
def group(self):
return self.tr('Vector table')

def groupId(self):
return 'vectortable'

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

@@ -60,6 +60,9 @@ class FieldsCalculator(QgisAlgorithm):
def group(self):
return self.tr('Vector table')

def groupId(self):
return 'vectortable'

def __init__(self):
super().__init__()
self.type_names = [self.tr('Float'),
@@ -46,6 +46,9 @@ class FieldsMapper(QgisFeatureBasedAlgorithm):
def group(self):
return self.tr('Vector table')

def groupId(self):
return 'vectortable'

def initParameters(self, config=None):

class ParameterFieldsMapping(QgsProcessingParameterDefinition):
@@ -59,6 +59,9 @@ def tags(self):
def group(self):
return self.tr('Vector general')

def groupId(self):
return 'vectorgeneral'

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

@@ -62,6 +62,9 @@ def icon(self):
def group(self):
return self.tr('Vector geometry')

def groupId(self):
return 'vectorgeometry'

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

@@ -46,6 +46,9 @@ class GeometryByExpression(QgisFeatureBasedAlgorithm):
def group(self):
return self.tr('Vector geometry')

def groupId(self):
return 'vectorgeometry'

def __init__(self):
super().__init__()
self.geometry_types = [self.tr('Polygon'),
@@ -48,6 +48,9 @@ class GeometryConvert(QgisAlgorithm):
def group(self):
return self.tr('Vector geometry')

def groupId(self):
return 'vectorgeometry'

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

@@ -70,6 +70,9 @@ def tags(self):
def group(self):
return self.tr('Vector creation')

def groupId(self):
return 'vectorcreation'

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

@@ -69,6 +69,9 @@ def tags(self):
def group(self):
return self.tr('Vector creation')

def groupId(self):
return 'vectorcreation'

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

@@ -69,6 +69,9 @@ def tags(self):
def group(self):
return self.tr('Interpolation')

def groupId(self):
return 'interpolation'

def name(self):
return 'heatmapkerneldensityestimation'

@@ -53,6 +53,9 @@ def icon(self):
def group(self):
return self.tr('Raster terrain analysis')

def groupId(self):
return 'rasterterrainanalysis'

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

@@ -66,6 +66,9 @@ class HubDistanceLines(QgisAlgorithm):
def group(self):
return self.tr('Vector analysis')

def groupId(self):
return 'vectoranalysis'

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

@@ -62,6 +62,9 @@ class HubDistancePoints(QgisAlgorithm):
def group(self):
return self.tr('Vector analysis')

def groupId(self):
return 'vectoranalysis'

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

0 comments on commit dca37ab

Please sign in to comment.
You can’t perform that action at this time.