Skip to content
Permalink
Browse files

[processing] rename algorithm groups in GDAL provider

  • Loading branch information
alexbruy committed Feb 28, 2017
1 parent f0489c9 commit dbca0304d951ff27a18bfb401c2f4a043c5b2ef4
Showing with 49 additions and 49 deletions.
  1. +1 −1 python/plugins/processing/algs/gdal/AssignProjection.py
  2. +1 −1 python/plugins/processing/algs/gdal/ClipByExtent.py
  3. +1 −1 python/plugins/processing/algs/gdal/ClipByMask.py
  4. +1 −1 python/plugins/processing/algs/gdal/ColorRelief.py
  5. +1 −1 python/plugins/processing/algs/gdal/GridAverage.py
  6. +1 −1 python/plugins/processing/algs/gdal/GridDataMetrics.py
  7. +1 −1 python/plugins/processing/algs/gdal/GridInvDist.py
  8. +1 −1 python/plugins/processing/algs/gdal/GridNearest.py
  9. +1 −1 python/plugins/processing/algs/gdal/aspect.py
  10. +1 −1 python/plugins/processing/algs/gdal/buildvrt.py
  11. +1 −1 python/plugins/processing/algs/gdal/contour.py
  12. +1 −1 python/plugins/processing/algs/gdal/extractprojection.py
  13. +1 −1 python/plugins/processing/algs/gdal/fillnodata.py
  14. +1 −1 python/plugins/processing/algs/gdal/gdal2tiles.py
  15. +1 −1 python/plugins/processing/algs/gdal/gdal2xyz.py
  16. +1 −1 python/plugins/processing/algs/gdal/gdaladdo.py
  17. +1 −1 python/plugins/processing/algs/gdal/gdalcalc.py
  18. +1 −1 python/plugins/processing/algs/gdal/gdaltindex.py
  19. +1 −1 python/plugins/processing/algs/gdal/hillshade.py
  20. +1 −1 python/plugins/processing/algs/gdal/information.py
  21. +1 −1 python/plugins/processing/algs/gdal/merge.py
  22. +1 −1 python/plugins/processing/algs/gdal/nearblack.py
  23. +1 −1 python/plugins/processing/algs/gdal/offsetcurve.py
  24. +1 −1 python/plugins/processing/algs/gdal/ogr2ogr.py
  25. +1 −1 python/plugins/processing/algs/gdal/ogr2ogrbuffer.py
  26. +1 −1 python/plugins/processing/algs/gdal/ogr2ogrclip.py
  27. +1 −1 python/plugins/processing/algs/gdal/ogr2ogrclipextent.py
  28. +1 −1 python/plugins/processing/algs/gdal/ogr2ogrdissolve.py
  29. +1 −1 python/plugins/processing/algs/gdal/ogr2ogrpointsonlines.py
  30. +1 −1 python/plugins/processing/algs/gdal/ogr2ogrtabletopostgislist.py
  31. +1 −1 python/plugins/processing/algs/gdal/ogr2ogrtopostgis.py
  32. +1 −1 python/plugins/processing/algs/gdal/ogr2ogrtopostgislist.py
  33. +1 −1 python/plugins/processing/algs/gdal/ogrinfo.py
  34. +1 −1 python/plugins/processing/algs/gdal/ogrsql.py
  35. +1 −1 python/plugins/processing/algs/gdal/onesidebuffer.py
  36. +1 −1 python/plugins/processing/algs/gdal/pct2rgb.py
  37. +1 −1 python/plugins/processing/algs/gdal/polygonize.py
  38. +1 −1 python/plugins/processing/algs/gdal/proximity.py
  39. +1 −1 python/plugins/processing/algs/gdal/rasterize.py
  40. +1 −1 python/plugins/processing/algs/gdal/rasterize_over.py
  41. +1 −1 python/plugins/processing/algs/gdal/retile.py
  42. +1 −1 python/plugins/processing/algs/gdal/rgb2pct.py
  43. +1 −1 python/plugins/processing/algs/gdal/roughness.py
  44. +1 −1 python/plugins/processing/algs/gdal/sieve.py
  45. +1 −1 python/plugins/processing/algs/gdal/slope.py
  46. +1 −1 python/plugins/processing/algs/gdal/tpi.py
  47. +1 −1 python/plugins/processing/algs/gdal/translate.py
  48. +1 −1 python/plugins/processing/algs/gdal/tri.py
  49. +1 −1 python/plugins/processing/algs/gdal/warp.py
@@ -51,7 +51,7 @@ def getIcon(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Assign projection')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Projections')
self.group, self.i18n_group = self.trAlgorithm('Raster projections')

self.addParameter(ParameterRaster(self.INPUT, self.tr('Input layer'), False))
self.addParameter(ParameterCrs(self.CRS,
@@ -58,7 +58,7 @@ def getIcon(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Clip raster by extent')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Extraction')
self.group, self.i18n_group = self.trAlgorithm('Raster extraction')

self.addParameter(ParameterRaster(self.INPUT, self.tr('Input layer')))
self.addParameter(ParameterString(self.NO_DATA,
@@ -67,7 +67,7 @@ def getIcon(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Clip raster by mask layer')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Extraction')
self.group, self.i18n_group = self.trAlgorithm('Raster extraction')

self.addParameter(ParameterRaster(self.INPUT, self.tr('Input layer'), False))
self.addParameter(ParameterVector(self.MASK, self.tr('Mask layer'),
@@ -53,7 +53,7 @@ class ColorRelief(GdalAlgorithm):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Color relief')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Analysis')
self.group, self.i18n_group = self.trAlgorithm('Raster analysis')
self.addParameter(ParameterRaster(self.INPUT, self.tr('Input layer')))
self.addParameter(ParameterNumber(
self.BAND, self.tr('Band number'), 1, 99, 1))
@@ -64,7 +64,7 @@ def commandLineName(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Grid (Moving average)')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Analysis')
self.group, self.i18n_group = self.trAlgorithm('Raster analysis')
self.addParameter(ParameterVector(self.INPUT,
self.tr('Input layer'), [dataobjects.TYPE_VECTOR_POINT]))
self.addParameter(ParameterTableField(self.Z_FIELD,
@@ -69,7 +69,7 @@ def commandLineName(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Grid (Data metrics)')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Analysis')
self.group, self.i18n_group = self.trAlgorithm('Raster analysis')
self.addParameter(ParameterVector(self.INPUT,
self.tr('Input layer'), [dataobjects.TYPE_VECTOR_POINT]))
self.addParameter(ParameterTableField(self.Z_FIELD,
@@ -68,7 +68,7 @@ def commandLineName(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Grid (Inverse distance to a power)')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Analysis')
self.group, self.i18n_group = self.trAlgorithm('Raster analysis')
self.addParameter(ParameterVector(self.INPUT,
self.tr('Input layer'), [dataobjects.TYPE_VECTOR_POINT]))
self.addParameter(ParameterTableField(self.Z_FIELD,
@@ -64,7 +64,7 @@ def commandLineName(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Grid (Nearest neighbor)')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Analysis')
self.group, self.i18n_group = self.trAlgorithm('Raster analysis')
self.addParameter(ParameterVector(self.INPUT,
self.tr('Input layer'), [dataobjects.TYPE_VECTOR_POINT]))
self.addParameter(ParameterTableField(self.Z_FIELD,
@@ -50,7 +50,7 @@ class aspect(GdalAlgorithm):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Aspect')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Analysis')
self.group, self.i18n_group = self.trAlgorithm('Raster analysis')
self.addParameter(ParameterRaster(self.INPUT, self.tr('Input layer')))
self.addParameter(ParameterNumber(
self.BAND, self.tr('Band number'), 1, 99, 1))
@@ -56,7 +56,7 @@ def getIcon(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Build Virtual Raster')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Miscellaneous')
self.group, self.i18n_group = self.trAlgorithm('Raster miscellaneous')
self.addParameter(ParameterMultipleInput(self.INPUT,
self.tr('Input layers'), dataobjects.TYPE_RASTER))
self.addParameter(ParameterSelection(self.RESOLUTION,
@@ -56,7 +56,7 @@ def getIcon(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Contour')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Extraction')
self.group, self.i18n_group = self.trAlgorithm('Raster extraction')
self.addParameter(ParameterRaster(self.INPUT_RASTER,
self.tr('Input layer'), False))
self.addParameter(ParameterNumber(self.INTERVAL,
@@ -49,7 +49,7 @@ def getIcon(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Extract projection')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Projections')
self.group, self.i18n_group = self.trAlgorithm('Raster projections')
self.addParameter(ParameterRaster(self.INPUT, self.tr('Input file')))
self.addParameter(ParameterBoolean(self.PRJ_FILE,
self.tr('Create also .prj file'), False))
@@ -54,7 +54,7 @@ class fillnodata(GdalAlgorithm):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Fill nodata')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Analysis')
self.group, self.i18n_group = self.trAlgorithm('Raster analysis')
self.addParameter(ParameterRaster(
self.INPUT, self.tr('Input layer'), False))
self.addParameter(ParameterNumber(self.DISTANCE,
@@ -65,7 +65,7 @@ def commandLineName(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('gdal2tiles')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Miscellaneous')
self.group, self.i18n_group = self.trAlgorithm('Raster miscellaneous')

# Required parameters
self.addParameter(ParameterRaster(self.INPUT, self.tr('Input layer')))
@@ -45,7 +45,7 @@ class gdal2xyz(GdalAlgorithm):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('gdal2xyz')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Conversion')
self.group, self.i18n_group = self.trAlgorithm('Raster conversion')
self.addParameter(ParameterRaster(
self.INPUT, self.tr('Input layer'), False))
self.addParameter(ParameterNumber(self.BAND,
@@ -71,7 +71,7 @@ def commandLineName(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Build overviews (pyramids)')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Miscellaneous')
self.group, self.i18n_group = self.trAlgorithm('Raster miscellaneous')
self.addParameter(ParameterRaster(
self.INPUT, self.tr('Input layer'), False))
self.addParameter(ParameterString(self.LEVELS,
@@ -61,7 +61,7 @@ class gdalcalc(GdalAlgorithm):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Raster calculator')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Miscellaneous')
self.group, self.i18n_group = self.trAlgorithm('Raster miscellaneous')
self.addParameter(ParameterRaster(
self.INPUT_A, self.tr('Input layer A'), False))
self.addParameter(ParameterString(self.BAND_A,
@@ -53,7 +53,7 @@ def getIcon(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Tile Index')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Miscellaneous')
self.group, self.i18n_group = self.trAlgorithm('Raster miscellaneous')
self.addParameter(ParameterMultipleInput(self.INPUT,
self.tr('Input layers'), dataobjects.TYPE_RASTER))
self.addParameter(ParameterString(self.FIELD_NAME,
@@ -53,7 +53,7 @@ class hillshade(GdalAlgorithm):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Hillshade')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Analysis')
self.group, self.i18n_group = self.trAlgorithm('Raster analysis')
self.addParameter(ParameterRaster(self.INPUT, self.tr('Input layer')))
self.addParameter(ParameterNumber(self.BAND,
self.tr('Band number'), 1, 99, 1))
@@ -54,7 +54,7 @@ def commandLineName(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Information')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Miscellaneous')
self.group, self.i18n_group = self.trAlgorithm('Raster miscellaneous')
self.addParameter(ParameterRaster(information.INPUT,
self.tr('Input layer'), False))
self.addParameter(ParameterBoolean(information.NOGCP,
@@ -59,7 +59,7 @@ def getIcon(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Merge')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Miscellaneous')
self.group, self.i18n_group = self.trAlgorithm('Raster miscellaneous')
self.addParameter(ParameterMultipleInput(self.INPUT,
self.tr('Input layers'),
dataobjects.TYPE_RASTER))
@@ -52,7 +52,7 @@ def getIcon(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Near black')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Analysis')
self.group, self.i18n_group = self.trAlgorithm('Raster analysis')
self.addParameter(ParameterRaster(self.INPUT,
self.tr('Input layer'), False))
self.addParameter(ParameterNumber(self.NEAR,
@@ -51,7 +51,7 @@ class OffsetCurve(GdalAlgorithm):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Offset lines for lines')
self.group, self.i18n_group = self.trAlgorithm('[OGR] Geoprocessing')
self.group, self.i18n_group = self.trAlgorithm('Vector geoprocessing')

self.addParameter(ParameterVector(self.INPUT_LAYER,
self.tr('Input layer'), [dataobjects.TYPE_VECTOR_LINE], False))
@@ -100,7 +100,7 @@ class Ogr2Ogr(GdalAlgorithm):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Convert format')
self.group, self.i18n_group = self.trAlgorithm('[OGR] Conversion')
self.group, self.i18n_group = self.trAlgorithm('Vector conversion')

self.addParameter(ParameterVector(self.INPUT_LAYER,
self.tr('Input layer')))
@@ -53,7 +53,7 @@ class Ogr2OgrBuffer(GdalAlgorithm):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Buffer vectors')
self.group, self.i18n_group = self.trAlgorithm('[OGR] Geoprocessing')
self.group, self.i18n_group = self.trAlgorithm('Vector geoprocessing')

self.addParameter(ParameterVector(self.INPUT_LAYER,
self.tr('Input layer')))
@@ -47,7 +47,7 @@ class Ogr2OgrClip(GdalAlgorithm):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Clip vectors by polygon')
self.group, self.i18n_group = self.trAlgorithm('[OGR] Geoprocessing')
self.group, self.i18n_group = self.trAlgorithm('Vector geoprocessing')

self.addParameter(ParameterVector(self.INPUT_LAYER,
self.tr('Input layer')))
@@ -47,7 +47,7 @@ class Ogr2OgrClipExtent(GdalAlgorithm):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Clip vectors by extent')
self.group, self.i18n_group = self.trAlgorithm('[OGR] Geoprocessing')
self.group, self.i18n_group = self.trAlgorithm('Vector geoprocessing')

self.addParameter(ParameterVector(self.INPUT_LAYER,
self.tr('Input layer')))
@@ -56,7 +56,7 @@ class Ogr2OgrDissolve(GdalAlgorithm):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Dissolve polygons')
self.group, self.i18n_group = self.trAlgorithm('[OGR] Geoprocessing')
self.group, self.i18n_group = self.trAlgorithm('Vector geoprocessing')

self.addParameter(ParameterVector(self.INPUT_LAYER,
self.tr('Input layer'), [dataobjects.TYPE_VECTOR_POLYGON]))
@@ -49,7 +49,7 @@ class Ogr2OgrPointsOnLines(GdalAlgorithm):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Create points along lines')
self.group, self.i18n_group = self.trAlgorithm('[OGR] Geoprocessing')
self.group, self.i18n_group = self.trAlgorithm('Vector geoprocessing')

self.addParameter(ParameterVector(self.INPUT_LAYER,
self.tr('Input layer'), [dataobjects.TYPE_VECTOR_LINE], False))
@@ -77,7 +77,7 @@ def dbConnectionNames(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Import layer/table as geometryless table into PostgreSQL database')
self.group, self.i18n_group = self.trAlgorithm('[OGR] Miscellaneous')
self.group, self.i18n_group = self.trAlgorithm('Vector miscellaneous')
self.DB_CONNECTIONS = self.dbConnectionNames()
self.addParameter(ParameterSelection(self.DATABASE,
self.tr('Database (connection name)'), self.DB_CONNECTIONS))
@@ -80,7 +80,7 @@ class Ogr2OgrToPostGis(GdalAlgorithm):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Import Vector into PostGIS database (new connection)')
self.group, self.i18n_group = self.trAlgorithm('[OGR] Miscellaneous')
self.group, self.i18n_group = self.trAlgorithm('Vector miscellaneous')
self.addParameter(ParameterVector(self.INPUT_LAYER,
self.tr('Input layer')))
self.addParameter(ParameterString(self.SHAPE_ENCODING,
@@ -87,7 +87,7 @@ def __init__(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Import Vector into PostGIS database (available connections)')
self.group, self.i18n_group = self.trAlgorithm('[OGR] Miscellaneous')
self.group, self.i18n_group = self.trAlgorithm('Vector miscellaneous')
self.addParameter(ParameterString(
self.DATABASE,
self.tr('Database (connection name)'),
@@ -48,7 +48,7 @@ def commandLineName(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Information')
self.group, self.i18n_group = self.trAlgorithm('[OGR] Miscellaneous')
self.group, self.i18n_group = self.trAlgorithm('Vector miscellaneous')

self.addParameter(ParameterVector(self.INPUT, self.tr('Input layer')))
self.addParameter(ParameterBoolean(self.SUMMARY_ONLY,
@@ -49,7 +49,7 @@ class OgrSql(GdalAlgorithm):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Execute SQL')
self.group, self.i18n_group = self.trAlgorithm('[OGR] Miscellaneous')
self.group, self.i18n_group = self.trAlgorithm('Vector miscellaneous')

self.addParameter(ParameterTable(self.INPUT, self.tr('Input layer or table')))
self.addParameter(ParameterString(self.SQL, self.tr('SQL'), ''))
@@ -56,7 +56,7 @@ class OneSideBuffer(GdalAlgorithm):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Single sided buffer for lines')
self.group, self.i18n_group = self.trAlgorithm('[OGR] Geoprocessing')
self.group, self.i18n_group = self.trAlgorithm('Vector geoprocessing')

self.addParameter(ParameterVector(self.INPUT_LAYER,
self.tr('Input layer'), [dataobjects.TYPE_VECTOR_LINE], False))
@@ -52,7 +52,7 @@ def getIcon(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('PCT to RGB')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Conversion')
self.group, self.i18n_group = self.trAlgorithm('Raster conversion')
self.addParameter(ParameterRaster(pct2rgb.INPUT,
self.tr('Input layer'), False))
options = []
@@ -54,7 +54,7 @@ def commandLineName(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Polygonize (raster to vector)')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Conversion')
self.group, self.i18n_group = self.trAlgorithm('Raster conversion')
self.addParameter(ParameterRaster(polygonize.INPUT,
self.tr('Input layer'), False))
self.addParameter(ParameterString(polygonize.FIELD,
@@ -65,7 +65,7 @@ def commandLineName(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Proximity (raster distance)')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Analysis')
self.group, self.i18n_group = self.trAlgorithm('Raster analysis')
self.addParameter(ParameterRaster(self.INPUT,
self.tr('Input layer'), False))
self.addParameter(ParameterString(self.VALUES,
@@ -70,7 +70,7 @@ def commandLineName(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Rasterize (vector to raster)')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Conversion')
self.group, self.i18n_group = self.trAlgorithm('Vector conversion')

self.addParameter(ParameterVector(self.INPUT, self.tr('Input layer')))
self.addParameter(ParameterTableField(self.FIELD,
@@ -56,7 +56,7 @@ def commandLineName(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Rasterize (write over existing raster)')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Conversion')
self.group, self.i18n_group = self.trAlgorithm('Vector conversion')
self.addParameter(ParameterVector(self.INPUT, self.tr('Input layer')))
self.addParameter(ParameterTableField(self.FIELD,
self.tr('Attribute field'), self.INPUT))
@@ -68,7 +68,7 @@ def commandName(self):

def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Retile')
self.group, self.i18n_group = self.trAlgorithm('[GDAL] Miscellaneous')
self.group, self.i18n_group = self.trAlgorithm('Raster miscellaneous')

# Required parameters
self.addParameter(ParameterMultipleInput(self.INPUT,

0 comments on commit dbca030

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