diff --git a/python/plugins/processing/algs/gdal/AssignProjection.py b/python/plugins/processing/algs/gdal/AssignProjection.py index fb9eb634e889..f2f04a6818f6 100644 --- a/python/plugins/processing/algs/gdal/AssignProjection.py +++ b/python/plugins/processing/algs/gdal/AssignProjection.py @@ -70,6 +70,9 @@ def icon(self): def group(self): return self.tr('Raster projections') + def group(self): + return 'rasterprojections' + def getConsoleCommands(self, parameters, context, feedback, executing=True): inLayer = self.parameterAsRasterLayer(parameters, self.INPUT, context) fileName = inLayer.source() diff --git a/python/plugins/processing/algs/gdal/Buffer.py b/python/plugins/processing/algs/gdal/Buffer.py index 1e3b77c9d692..aa0ecf4d1028 100644 --- a/python/plugins/processing/algs/gdal/Buffer.py +++ b/python/plugins/processing/algs/gdal/Buffer.py @@ -95,6 +95,9 @@ def displayName(self): def group(self): return self.tr('Vector geoprocessing') + def groupId(self): + return 'vectorgeoprocessing' + def commandName(self): return 'ogr2ogr' diff --git a/python/plugins/processing/algs/gdal/ClipRasterByExtent.py b/python/plugins/processing/algs/gdal/ClipRasterByExtent.py index 033396e38252..b8be2da999a2 100644 --- a/python/plugins/processing/algs/gdal/ClipRasterByExtent.py +++ b/python/plugins/processing/algs/gdal/ClipRasterByExtent.py @@ -99,6 +99,9 @@ def displayName(self): def group(self): return self.tr('Raster extraction') + def groupId(self): + return 'rasterextraction' + def icon(self): return QIcon(os.path.join(pluginPath, 'images', 'gdaltools', 'raster-clip.png')) diff --git a/python/plugins/processing/algs/gdal/ClipRasterByMask.py b/python/plugins/processing/algs/gdal/ClipRasterByMask.py index 5e19275c24d8..494665e384f9 100644 --- a/python/plugins/processing/algs/gdal/ClipRasterByMask.py +++ b/python/plugins/processing/algs/gdal/ClipRasterByMask.py @@ -116,6 +116,9 @@ def icon(self): def group(self): return self.tr('Raster extraction') + def groupId(self): + return 'rasterextraction' + def getConsoleCommands(self, parameters, context, feedback, executing=True): inLayer = self.parameterAsRasterLayer(parameters, self.INPUT, context) diff --git a/python/plugins/processing/algs/gdal/ClipVectorByExtent.py b/python/plugins/processing/algs/gdal/ClipVectorByExtent.py index 3757b0e9f6e4..71b0f443b755 100644 --- a/python/plugins/processing/algs/gdal/ClipVectorByExtent.py +++ b/python/plugins/processing/algs/gdal/ClipVectorByExtent.py @@ -71,6 +71,9 @@ def displayName(self): def group(self): return self.tr('Vector geoprocessing') + def groupId(self): + return 'vectorgeoprocessing' + def commandName(self): return 'ogr2ogr' diff --git a/python/plugins/processing/algs/gdal/ClipVectorByMask.py b/python/plugins/processing/algs/gdal/ClipVectorByMask.py index 67eac651977c..7389054480a3 100644 --- a/python/plugins/processing/algs/gdal/ClipVectorByMask.py +++ b/python/plugins/processing/algs/gdal/ClipVectorByMask.py @@ -70,6 +70,9 @@ def displayName(self): def group(self): return self.tr('Vector geoprocessing') + def groupId(self): + return 'vectorgeoprocessing' + def commandName(self): return 'ogr2ogr' diff --git a/python/plugins/processing/algs/gdal/ColorRelief.py b/python/plugins/processing/algs/gdal/ColorRelief.py index 726d63eb0b78..577138636b2a 100644 --- a/python/plugins/processing/algs/gdal/ColorRelief.py +++ b/python/plugins/processing/algs/gdal/ColorRelief.py @@ -92,6 +92,9 @@ def displayName(self): def group(self): return self.tr('Raster analysis') + def groupId(self): + return 'rasteranalysis' + def getConsoleCommands(self, parameters, context, feedback, executing=True): arguments = ['color-relief'] inLayer = self.parameterAsRasterLayer(parameters, self.INPUT, context) diff --git a/python/plugins/processing/algs/gdal/Dissolve.py b/python/plugins/processing/algs/gdal/Dissolve.py index 306a0e6fcc6f..2b03e71fd07d 100644 --- a/python/plugins/processing/algs/gdal/Dissolve.py +++ b/python/plugins/processing/algs/gdal/Dissolve.py @@ -106,6 +106,9 @@ def displayName(self): def group(self): return self.tr('Vector geoprocessing') + def groupId(self): + return 'vectorgeoprocessing' + def commandName(self): return 'ogr2ogr' diff --git a/python/plugins/processing/algs/gdal/ExecuteSql.py b/python/plugins/processing/algs/gdal/ExecuteSql.py index f176a258ae7a..698f706e4a54 100644 --- a/python/plugins/processing/algs/gdal/ExecuteSql.py +++ b/python/plugins/processing/algs/gdal/ExecuteSql.py @@ -82,6 +82,9 @@ def displayName(self): def group(self): return self.tr('Vector miscellaneous') + def groupId(self): + return 'vectormiscellaneous' + def getConsoleCommands(self, parameters, context, feedback, executing=True): ogrLayer, layerName = self.getOgrCompatibleSource(self.INPUT, parameters, context, feedback, executing) sql = self.parameterAsString(parameters, self.SQL, context) diff --git a/python/plugins/processing/algs/gdal/GridAverage.py b/python/plugins/processing/algs/gdal/GridAverage.py index 5567aecfdbb2..32f9331e6593 100644 --- a/python/plugins/processing/algs/gdal/GridAverage.py +++ b/python/plugins/processing/algs/gdal/GridAverage.py @@ -132,6 +132,9 @@ def displayName(self): def group(self): return self.tr('Raster analysis') + def groupId(self): + return 'rasteranalysis' + def icon(self): return QIcon(os.path.join(pluginPath, 'images', 'gdaltools', 'grid.png')) diff --git a/python/plugins/processing/algs/gdal/GridDataMetrics.py b/python/plugins/processing/algs/gdal/GridDataMetrics.py index c382b8d41aeb..f881fa2543d2 100644 --- a/python/plugins/processing/algs/gdal/GridDataMetrics.py +++ b/python/plugins/processing/algs/gdal/GridDataMetrics.py @@ -149,6 +149,9 @@ def icon(self): def group(self): return self.tr('Raster analysis') + def groupId(self): + return 'rasteranalysis' + def getConsoleCommands(self, parameters, context, feedback, executing=True): ogrLayer, layerName = self.getOgrCompatibleSource(self.INPUT, parameters, context, feedback, executing) diff --git a/python/plugins/processing/algs/gdal/GridInverseDistance.py b/python/plugins/processing/algs/gdal/GridInverseDistance.py index 4cabda763189..2f9634584ee8 100644 --- a/python/plugins/processing/algs/gdal/GridInverseDistance.py +++ b/python/plugins/processing/algs/gdal/GridInverseDistance.py @@ -152,6 +152,9 @@ def displayName(self): def group(self): return self.tr('Raster analysis') + def groupId(self): + return 'rasteranalysis' + def icon(self): return QIcon(os.path.join(pluginPath, 'images', 'gdaltools', 'grid.png')) diff --git a/python/plugins/processing/algs/gdal/GridInverseDistanceNearestNeighbor.py b/python/plugins/processing/algs/gdal/GridInverseDistanceNearestNeighbor.py index 7bdaef572a99..a1c860246c85 100644 --- a/python/plugins/processing/algs/gdal/GridInverseDistanceNearestNeighbor.py +++ b/python/plugins/processing/algs/gdal/GridInverseDistanceNearestNeighbor.py @@ -139,6 +139,9 @@ def displayName(self): def group(self): return self.tr('Raster analysis') + def groupId(self): + return 'rasteranalysis' + def icon(self): return QIcon(os.path.join(pluginPath, 'images', 'gdaltools', 'grid.png')) diff --git a/python/plugins/processing/algs/gdal/GridLinear.py b/python/plugins/processing/algs/gdal/GridLinear.py index 07f1d2527f76..b32f9e8493fe 100644 --- a/python/plugins/processing/algs/gdal/GridLinear.py +++ b/python/plugins/processing/algs/gdal/GridLinear.py @@ -114,6 +114,9 @@ def displayName(self): def group(self): return self.tr('Raster analysis') + def groupId(self): + return 'rasteranalysis' + def icon(self): return QIcon(os.path.join(pluginPath, 'images', 'gdaltools', 'grid.png')) diff --git a/python/plugins/processing/algs/gdal/GridNearestNeighbor.py b/python/plugins/processing/algs/gdal/GridNearestNeighbor.py index 7a066ee09bc7..41b27109f81c 100644 --- a/python/plugins/processing/algs/gdal/GridNearestNeighbor.py +++ b/python/plugins/processing/algs/gdal/GridNearestNeighbor.py @@ -127,6 +127,9 @@ def displayName(self): def group(self): return self.tr('Raster analysis') + def groupId(self): + return 'rasteranalysis' + def icon(self): return QIcon(os.path.join(pluginPath, 'images', 'gdaltools', 'grid.png')) diff --git a/python/plugins/processing/algs/gdal/OffsetCurve.py b/python/plugins/processing/algs/gdal/OffsetCurve.py index 7346a0a60f5d..f6b9bb22b2b0 100644 --- a/python/plugins/processing/algs/gdal/OffsetCurve.py +++ b/python/plugins/processing/algs/gdal/OffsetCurve.py @@ -78,6 +78,9 @@ def displayName(self): def group(self): return self.tr('Vector geoprocessing') + def groupId(self): + return 'vectorgeoprocessing' + def commandName(self): return 'ogr2ogr' diff --git a/python/plugins/processing/algs/gdal/OgrToPostGis.py b/python/plugins/processing/algs/gdal/OgrToPostGis.py index 255c9b204d5d..a65a29223ab0 100644 --- a/python/plugins/processing/algs/gdal/OgrToPostGis.py +++ b/python/plugins/processing/algs/gdal/OgrToPostGis.py @@ -162,6 +162,9 @@ def displayName(self): def group(self): return self.tr('Vector miscellaneous') + def groupId(self): + return 'vectormiscellaneous' + def getConnectionString(self, parameters, context): host = self.parameterAsString(parameters, self.HOST, context) port = self.parameterAsString(parameters, self.PORT, context) diff --git a/python/plugins/processing/algs/gdal/OneSideBuffer.py b/python/plugins/processing/algs/gdal/OneSideBuffer.py index b0c7b2e664f7..913f27f2cc82 100644 --- a/python/plugins/processing/algs/gdal/OneSideBuffer.py +++ b/python/plugins/processing/algs/gdal/OneSideBuffer.py @@ -104,6 +104,9 @@ def displayName(self): def group(self): return self.tr('Vector geoprocessing') + def groupId(self): + return 'vectorgeoprocessing' + def commandName(self): return 'ogr2ogr' diff --git a/python/plugins/processing/algs/gdal/PointsAlongLines.py b/python/plugins/processing/algs/gdal/PointsAlongLines.py index 362cd37c9ccd..d0915e8f139d 100644 --- a/python/plugins/processing/algs/gdal/PointsAlongLines.py +++ b/python/plugins/processing/algs/gdal/PointsAlongLines.py @@ -83,6 +83,9 @@ def displayName(self): def group(self): return self.tr('Vector geoprocessing') + def groupId(self): + return 'vectorgeoprocessing' + def commandName(self): return 'ogr2ogr' diff --git a/python/plugins/processing/algs/gdal/aspect.py b/python/plugins/processing/algs/gdal/aspect.py index ccbc5b8ac204..9913b4c02b8f 100644 --- a/python/plugins/processing/algs/gdal/aspect.py +++ b/python/plugins/processing/algs/gdal/aspect.py @@ -93,6 +93,9 @@ def displayName(self): def group(self): return self.tr('Raster analysis') + def groupId(self): + return 'rasteranalysis' + def getConsoleCommands(self, parameters, context, feedback, executing=True): arguments = ['aspect'] inLayer = self.parameterAsRasterLayer(parameters, self.INPUT, context) diff --git a/python/plugins/processing/algs/gdal/buildvrt.py b/python/plugins/processing/algs/gdal/buildvrt.py index a4d72572186e..d5dc8b6f1441 100644 --- a/python/plugins/processing/algs/gdal/buildvrt.py +++ b/python/plugins/processing/algs/gdal/buildvrt.py @@ -100,6 +100,9 @@ def icon(self): def group(self): return self.tr('Raster miscellaneous') + def groupId(self): + return 'rastermiscellaneous' + def getConsoleCommands(self, parameters, context, feedback, executing=True): arguments = [] arguments.append('-resolution') diff --git a/python/plugins/processing/algs/gdal/contour.py b/python/plugins/processing/algs/gdal/contour.py index 07b7ce29e004..b12e24e03213 100644 --- a/python/plugins/processing/algs/gdal/contour.py +++ b/python/plugins/processing/algs/gdal/contour.py @@ -118,6 +118,9 @@ def icon(self): def group(self): return self.tr('Raster extraction') + def groupId(self): + return 'rasterextraction' + def getConsoleCommands(self, parameters, context, feedback, executing=True): inLayer = self.parameterAsRasterLayer(parameters, self.INPUT, context) fieldName = self.parameterAsString(parameters, self.FIELD_NAME, context) diff --git a/python/plugins/processing/algs/gdal/extractprojection.py b/python/plugins/processing/algs/gdal/extractprojection.py index 94c189cb02a1..2c72b311ea69 100644 --- a/python/plugins/processing/algs/gdal/extractprojection.py +++ b/python/plugins/processing/algs/gdal/extractprojection.py @@ -63,6 +63,9 @@ def icon(self): def group(self): return self.tr('Raster projections') + def groupId(self): + return 'rasterprojections' + def getConsoleCommands(self, parameters, context, feedback, executing=True): return ["extractprojection"] diff --git a/python/plugins/processing/algs/gdal/fillnodata.py b/python/plugins/processing/algs/gdal/fillnodata.py index 81cb23970850..fe36993e61f5 100644 --- a/python/plugins/processing/algs/gdal/fillnodata.py +++ b/python/plugins/processing/algs/gdal/fillnodata.py @@ -86,6 +86,9 @@ def displayName(self): def group(self): return self.tr('Raster analysis') + def groupId(self): + return 'rasteranalysis' + def getConsoleCommands(self, parameters, context, feedback, executing=True): arguments = [] arguments.append('-md') diff --git a/python/plugins/processing/algs/gdal/gdal2tiles.py b/python/plugins/processing/algs/gdal/gdal2tiles.py index cf11db122025..02ca102480b1 100644 --- a/python/plugins/processing/algs/gdal/gdal2tiles.py +++ b/python/plugins/processing/algs/gdal/gdal2tiles.py @@ -153,6 +153,9 @@ def displayName(self): def group(self): return self.tr('Raster miscellaneous') + def groupId(self): + return 'rastermiscellaneous' + def getConsoleCommands(self, parameters, context, feedback, executing=True): arguments = [] diff --git a/python/plugins/processing/algs/gdal/gdal2xyz.py b/python/plugins/processing/algs/gdal/gdal2xyz.py index facac8e9ec63..29b37a6b8685 100644 --- a/python/plugins/processing/algs/gdal/gdal2xyz.py +++ b/python/plugins/processing/algs/gdal/gdal2xyz.py @@ -69,6 +69,9 @@ def displayName(self): def group(self): return self.tr('Raster conversion') + def groupId(self): + return 'rasterconversion' + def getConsoleCommands(self, parameters, context, feedback, executing=True): arguments = [] arguments = [] diff --git a/python/plugins/processing/algs/gdal/gdaladdo.py b/python/plugins/processing/algs/gdal/gdaladdo.py index 24ff23dc7385..385d3c576461 100644 --- a/python/plugins/processing/algs/gdal/gdaladdo.py +++ b/python/plugins/processing/algs/gdal/gdaladdo.py @@ -99,6 +99,9 @@ def displayName(self): def group(self): return self.tr('Raster miscellaneous') + def groupId(self): + return 'rastermiscellaneous' + def icon(self): return QIcon(os.path.join(pluginPath, 'images', 'gdaltools', 'raster-overview.png')) diff --git a/python/plugins/processing/algs/gdal/gdalcalc.py b/python/plugins/processing/algs/gdal/gdalcalc.py index 8becf4fc7ca5..0325f77904c2 100644 --- a/python/plugins/processing/algs/gdal/gdalcalc.py +++ b/python/plugins/processing/algs/gdal/gdalcalc.py @@ -102,6 +102,9 @@ def displayName(self): def group(self): return self.tr('Raster miscellaneous') + def groupId(self): + return 'rastermiscellaneous' + def getConsoleCommands(self, parameters, context, feedback, executing=True): out = self.getOutputValue(self.OUTPUT) extra = self.getParameterValue(self.EXTRA) diff --git a/python/plugins/processing/algs/gdal/gdalinfo.py b/python/plugins/processing/algs/gdal/gdalinfo.py index ff5d94d1a85a..1096afe9b5e6 100644 --- a/python/plugins/processing/algs/gdal/gdalinfo.py +++ b/python/plugins/processing/algs/gdal/gdalinfo.py @@ -80,6 +80,9 @@ def displayName(self): def group(self): return self.tr('Raster miscellaneous') + def groupId(self): + return 'rastermiscellaneous' + def icon(self): return QIcon(os.path.join(pluginPath, 'images', 'gdaltools', 'raster-info.png')) diff --git a/python/plugins/processing/algs/gdal/gdaltindex.py b/python/plugins/processing/algs/gdal/gdaltindex.py index 8d29b238211f..c392ba27bf98 100644 --- a/python/plugins/processing/algs/gdal/gdaltindex.py +++ b/python/plugins/processing/algs/gdal/gdaltindex.py @@ -111,6 +111,9 @@ def displayName(self): def group(self): return self.tr('Raster miscellaneous') + def groupId(self): + return 'rastermiscellaneous' + def icon(self): return QIcon(os.path.join(pluginPath, 'images', 'gdaltools', 'tiles.png')) diff --git a/python/plugins/processing/algs/gdal/hillshade.py b/python/plugins/processing/algs/gdal/hillshade.py index e16ebfc7056c..3737dd23ce23 100644 --- a/python/plugins/processing/algs/gdal/hillshade.py +++ b/python/plugins/processing/algs/gdal/hillshade.py @@ -120,6 +120,9 @@ def displayName(self): def group(self): return self.tr('Raster analysis') + def groupId(self): + return 'rasteranalysis' + def getConsoleCommands(self, parameters, context, feedback, executing=True): arguments = ['hillshade'] inLayer = self.parameterAsRasterLayer(parameters, self.INPUT, context) diff --git a/python/plugins/processing/algs/gdal/merge.py b/python/plugins/processing/algs/gdal/merge.py index f1784078ff4c..5f9fe423d588 100644 --- a/python/plugins/processing/algs/gdal/merge.py +++ b/python/plugins/processing/algs/gdal/merge.py @@ -98,6 +98,9 @@ def displayName(self): def group(self): return self.tr('Raster miscellaneous') + def groupId(self): + return 'rastermiscellaneous' + def icon(self): return QIcon(os.path.join(pluginPath, 'images', 'gdaltools', 'merge.png')) diff --git a/python/plugins/processing/algs/gdal/nearblack.py b/python/plugins/processing/algs/gdal/nearblack.py index de5b63143a30..712ea6370d33 100644 --- a/python/plugins/processing/algs/gdal/nearblack.py +++ b/python/plugins/processing/algs/gdal/nearblack.py @@ -86,6 +86,9 @@ def displayName(self): def group(self): return self.tr('Raster analysis') + def groupId(self): + return 'rasteranalysis' + def icon(self): return QIcon(os.path.join(pluginPath, 'images', 'gdaltools', 'nearblack.png')) diff --git a/python/plugins/processing/algs/gdal/ogr2ogr.py b/python/plugins/processing/algs/gdal/ogr2ogr.py index c81876e6338d..22e031083dd7 100644 --- a/python/plugins/processing/algs/gdal/ogr2ogr.py +++ b/python/plugins/processing/algs/gdal/ogr2ogr.py @@ -68,6 +68,9 @@ def displayName(self): def group(self): return self.tr('Vector conversion') + def groupId(self): + return 'vectorconversion' + def commandName(self): return 'ogr2ogr' diff --git a/python/plugins/processing/algs/gdal/ogr2ogrtabletopostgislist.py b/python/plugins/processing/algs/gdal/ogr2ogrtabletopostgislist.py index 41bbd8e661d9..4c2e07731ec2 100644 --- a/python/plugins/processing/algs/gdal/ogr2ogrtabletopostgislist.py +++ b/python/plugins/processing/algs/gdal/ogr2ogrtabletopostgislist.py @@ -119,6 +119,9 @@ def displayName(self): def group(self): return self.tr('Vector miscellaneous') + def groupId(self): + return 'vectormiscellaneous' + def getConsoleCommands(self, parameters, context, feedback, executing=True): connection = self.DB_CONNECTIONS[self.getParameterValue(self.DATABASE)] uri = uri_from_name(connection) diff --git a/python/plugins/processing/algs/gdal/ogr2ogrtopostgislist.py b/python/plugins/processing/algs/gdal/ogr2ogrtopostgislist.py index f8a93e8c22ef..2b4917ee59d3 100644 --- a/python/plugins/processing/algs/gdal/ogr2ogrtopostgislist.py +++ b/python/plugins/processing/algs/gdal/ogr2ogrtopostgislist.py @@ -176,6 +176,9 @@ def displayName(self): def group(self): return self.tr('Vector miscellaneous') + def groupId(self): + return 'vectormiscellaneous' + def getConsoleCommands(self, parameters, context, feedback, executing=True): connection = self.parameterAsString(parameters, self.DATABASE, context) uri = uri_from_name(connection) diff --git a/python/plugins/processing/algs/gdal/ogrinfo.py b/python/plugins/processing/algs/gdal/ogrinfo.py index c518ec607b41..52568d1d7e89 100644 --- a/python/plugins/processing/algs/gdal/ogrinfo.py +++ b/python/plugins/processing/algs/gdal/ogrinfo.py @@ -68,6 +68,9 @@ def displayName(self): def group(self): return self.tr('Vector miscellaneous') + def group(self): + return 'vectormiscellaneous' + def getConsoleCommands(self, parameters, context, feedback, executing=True): arguments = ['ogrinfo'] arguments.append('-al') diff --git a/python/plugins/processing/algs/gdal/pct2rgb.py b/python/plugins/processing/algs/gdal/pct2rgb.py index 602722c2c993..0deda3c5dd05 100644 --- a/python/plugins/processing/algs/gdal/pct2rgb.py +++ b/python/plugins/processing/algs/gdal/pct2rgb.py @@ -71,6 +71,9 @@ def displayName(self): def group(self): return self.tr('Raster conversion') + def groupId(self): + return 'rasterconversion' + def icon(self): return QIcon(os.path.join(pluginPath, 'images', 'gdaltools', '8-to-24-bits.png')) diff --git a/python/plugins/processing/algs/gdal/polygonize.py b/python/plugins/processing/algs/gdal/polygonize.py index 6c545b2fe0bf..e2672b01eb86 100644 --- a/python/plugins/processing/algs/gdal/polygonize.py +++ b/python/plugins/processing/algs/gdal/polygonize.py @@ -79,6 +79,9 @@ def displayName(self): def group(self): return self.tr('Raster conversion') + def group(self): + return 'rasterconversion' + def icon(self): return QIcon(os.path.join(pluginPath, 'images', 'gdaltools', 'polygonize.png')) diff --git a/python/plugins/processing/algs/gdal/proximity.py b/python/plugins/processing/algs/gdal/proximity.py index a7187bd0a540..eae4a7f36b00 100644 --- a/python/plugins/processing/algs/gdal/proximity.py +++ b/python/plugins/processing/algs/gdal/proximity.py @@ -128,6 +128,9 @@ def displayName(self): def group(self): return self.tr('Raster analysis') + def groupId(self): + return 'rasteranalysis' + def getConsoleCommands(self, parameters, context, feedback, executing=True): inLayer = self.parameterAsRasterLayer(parameters, self.INPUT, context) distance = self.parameterAsDouble(parameters, self.MAX_DISTANCE, context) diff --git a/python/plugins/processing/algs/gdal/rasterize.py b/python/plugins/processing/algs/gdal/rasterize.py index fa8440a6c4e5..c46992ff2b1b 100644 --- a/python/plugins/processing/algs/gdal/rasterize.py +++ b/python/plugins/processing/algs/gdal/rasterize.py @@ -94,6 +94,9 @@ def displayName(self): def group(self): return self.tr('Vector conversion') + def groupId(self): + return 'vectorconversion' + def getConsoleCommands(self, parameters, context, feedback, executing=True): inLayer = self.getParameterValue(self.INPUT) noData = self.getParameterValue(self.NO_DATA) diff --git a/python/plugins/processing/algs/gdal/rasterize_over.py b/python/plugins/processing/algs/gdal/rasterize_over.py index d81417ad6312..7c315eefe13d 100644 --- a/python/plugins/processing/algs/gdal/rasterize_over.py +++ b/python/plugins/processing/algs/gdal/rasterize_over.py @@ -67,6 +67,9 @@ def displayName(self): def group(self): return self.tr('Vector conversion') + def groupId(self): + return 'vectorconversion' + def getConsoleCommands(self, parameters, context, feedback, executing=True): context = dataobjects.createContext() inLayer = QgsProcessingUtils.mapLayerFromString(self.getParameterValue(self.INPUT), context) diff --git a/python/plugins/processing/algs/gdal/retile.py b/python/plugins/processing/algs/gdal/retile.py index b12e7e0a3e22..3a66fd88e8b2 100644 --- a/python/plugins/processing/algs/gdal/retile.py +++ b/python/plugins/processing/algs/gdal/retile.py @@ -157,6 +157,9 @@ def displayName(self): def group(self): return self.tr('Raster miscellaneous') + def groupId(self): + return 'rastermiscellaneous' + def commandName(self): return "gdal_retile" diff --git a/python/plugins/processing/algs/gdal/rgb2pct.py b/python/plugins/processing/algs/gdal/rgb2pct.py index c788521f7bf9..d6eb566948c0 100644 --- a/python/plugins/processing/algs/gdal/rgb2pct.py +++ b/python/plugins/processing/algs/gdal/rgb2pct.py @@ -70,6 +70,9 @@ def displayName(self): def group(self): return self.tr('Raster conversion') + def groupId(self): + return 'rasterconversion' + def icon(self): return QIcon(os.path.join(pluginPath, 'images', 'gdaltools', '24-to-8-bits.png')) diff --git a/python/plugins/processing/algs/gdal/roughness.py b/python/plugins/processing/algs/gdal/roughness.py index 1ef8458ef423..31f80d750533 100644 --- a/python/plugins/processing/algs/gdal/roughness.py +++ b/python/plugins/processing/algs/gdal/roughness.py @@ -82,6 +82,9 @@ def displayName(self): def group(self): return self.tr('Raster analysis') + def groupId(self): + return 'rasteranalysis' + def getConsoleCommands(self, parameters, context, feedback, executing=True): arguments = ['roughness'] inLayer = self.parameterAsRasterLayer(parameters, self.INPUT, context) diff --git a/python/plugins/processing/algs/gdal/sieve.py b/python/plugins/processing/algs/gdal/sieve.py index fea6f47591ce..3bb13bd9327d 100644 --- a/python/plugins/processing/algs/gdal/sieve.py +++ b/python/plugins/processing/algs/gdal/sieve.py @@ -81,6 +81,9 @@ def displayName(self): def group(self): return self.tr('Raster analysis') + def groupId(self): + return 'rasteranalysis' + def icon(self): return QIcon(os.path.join(pluginPath, 'images', 'gdaltools', 'sieve.png')) diff --git a/python/plugins/processing/algs/gdal/slope.py b/python/plugins/processing/algs/gdal/slope.py index a915c659eca0..2954f6dc11dc 100644 --- a/python/plugins/processing/algs/gdal/slope.py +++ b/python/plugins/processing/algs/gdal/slope.py @@ -97,6 +97,9 @@ def displayName(self): def group(self): return self.tr('Raster analysis') + def groupId(self): + return 'rasteranalysis' + def getConsoleCommands(self, parameters, context, feedback, executing=True): arguments = ['slope'] inLayer = self.parameterAsRasterLayer(parameters, self.INPUT, context) diff --git a/python/plugins/processing/algs/gdal/tpi.py b/python/plugins/processing/algs/gdal/tpi.py index 7700061262eb..04de40a786e0 100644 --- a/python/plugins/processing/algs/gdal/tpi.py +++ b/python/plugins/processing/algs/gdal/tpi.py @@ -81,6 +81,9 @@ def displayName(self): def group(self): return self.tr('Raster analysis') + def groupId(self): + return 'rasteranalysis' + def getConsoleCommands(self, parameters, context, feedback, executing=True): arguments = ['TPI'] inLayer = self.parameterAsRasterLayer(parameters, self.INPUT, context) diff --git a/python/plugins/processing/algs/gdal/translate.py b/python/plugins/processing/algs/gdal/translate.py index ee5e8bae18e1..82d62c4b1540 100644 --- a/python/plugins/processing/algs/gdal/translate.py +++ b/python/plugins/processing/algs/gdal/translate.py @@ -104,6 +104,9 @@ def displayName(self): def group(self): return self.tr('Raster conversion') + def groupId(self): + return 'rasterconversion' + def icon(self): return QIcon(os.path.join(pluginPath, 'images', 'gdaltools', 'translate.png')) diff --git a/python/plugins/processing/algs/gdal/tri.py b/python/plugins/processing/algs/gdal/tri.py index 55c3dd988dd1..cbe536f54842 100644 --- a/python/plugins/processing/algs/gdal/tri.py +++ b/python/plugins/processing/algs/gdal/tri.py @@ -80,6 +80,9 @@ def displayName(self): def group(self): return self.tr('Raster analysis') + def groupId(self): + return 'rasteranalysis' + def getConsoleCommands(self, parameters, context, feedback, executing=True): arguments = ['TRI'] inLayer = self.parameterAsRasterLayer(parameters, self.INPUT, context) diff --git a/python/plugins/processing/algs/gdal/warp.py b/python/plugins/processing/algs/gdal/warp.py index ef353a4639b4..52f83a7f9447 100644 --- a/python/plugins/processing/algs/gdal/warp.py +++ b/python/plugins/processing/algs/gdal/warp.py @@ -146,6 +146,9 @@ def displayName(self): def group(self): return self.tr('Raster projections') + def groupId(self): + return 'rasterprojections' + def icon(self): return QIcon(os.path.join(pluginPath, 'images', 'gdaltools', 'warp.png'))