Skip to content

Commit

Permalink
Remove help related methods from GeoAlgorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 5, 2017
1 parent 2d1579d commit 168f162
Show file tree
Hide file tree
Showing 155 changed files with 310 additions and 310 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/AddTableField.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
QgsFeature,
QgsApplication,
QgsProcessingUtils)
from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.algs.qgis import QgisAlgorithm
from processing.core.parameters import ParameterVector
from processing.core.parameters import ParameterString
from processing.core.parameters import ParameterNumber
from processing.core.parameters import ParameterSelection
from processing.core.outputs import OutputVector


class AddTableField(GeoAlgorithm):
class AddTableField(QgisAlgorithm):

OUTPUT_LAYER = 'OUTPUT_LAYER'
INPUT_LAYER = 'INPUT_LAYER'
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/Aspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

from qgis.analysis import QgsAspectFilter

from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.algs.qgis import QgisAlgorithm
from processing.core.parameters import ParameterRaster
from processing.core.parameters import ParameterNumber
from processing.core.outputs import OutputRaster
Expand All @@ -40,7 +40,7 @@
pluginPath = os.path.split(os.path.split(os.path.dirname(__file__))[0])[0]


class Aspect(GeoAlgorithm):
class Aspect(QgisAlgorithm):

INPUT_LAYER = 'INPUT_LAYER'
Z_FACTOR = 'Z_FACTOR'
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/AutoincrementalField.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
QgsFeature,
QgsApplication,
QgsProcessingUtils)
from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.algs.qgis import QgisAlgorithm
from processing.core.parameters import ParameterVector
from processing.core.outputs import OutputVector


class AutoincrementalField(GeoAlgorithm):
class AutoincrementalField(QgisAlgorithm):

INPUT = 'INPUT'
OUTPUT = 'OUTPUT'
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/BarPlot.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
QgsProcessingUtils)
from processing.core.parameters import ParameterTable
from processing.core.parameters import ParameterTableField
from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.algs.qgis import QgisAlgorithm
from processing.core.outputs import OutputHTML
from processing.tools import vector


class BarPlot(GeoAlgorithm):
class BarPlot(QgisAlgorithm):

INPUT = 'INPUT'
OUTPUT = 'OUTPUT'
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/BasicStatistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
QgsFeatureRequest,
QgsProcessingUtils)

from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.algs.qgis import QgisAlgorithm
from processing.core.parameters import ParameterTable
from processing.core.parameters import ParameterTableField
from processing.core.outputs import OutputHTML
Expand All @@ -46,7 +46,7 @@
pluginPath = os.path.split(os.path.split(os.path.dirname(__file__))[0])[0]


class BasicStatisticsForField(GeoAlgorithm):
class BasicStatisticsForField(QgisAlgorithm):

INPUT_LAYER = 'INPUT_LAYER'
FIELD_NAME = 'FIELD_NAME'
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/BasicStatisticsNumbers.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
QgsProcessingAlgorithm,
QgsProcessingUtils)

from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.algs.qgis import QgisAlgorithm
from processing.core.parameters import ParameterTable
from processing.core.parameters import ParameterTableField
from processing.core.outputs import OutputHTML
Expand All @@ -45,7 +45,7 @@
pluginPath = os.path.split(os.path.split(os.path.dirname(__file__))[0])[0]


class BasicStatisticsNumbers(GeoAlgorithm):
class BasicStatisticsNumbers(QgisAlgorithm):

INPUT_LAYER = 'INPUT_LAYER'
FIELD_NAME = 'FIELD_NAME'
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/BasicStatisticsStrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
QgsFeatureRequest,
QgsProcessingUtils)

from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.algs.qgis import QgisAlgorithm
from processing.core.parameters import ParameterTable
from processing.core.parameters import ParameterTableField
from processing.core.outputs import OutputHTML
Expand All @@ -45,7 +45,7 @@
pluginPath = os.path.split(os.path.split(os.path.dirname(__file__))[0])[0]


class BasicStatisticsStrings(GeoAlgorithm):
class BasicStatisticsStrings(QgisAlgorithm):

INPUT_LAYER = 'INPUT_LAYER'
FIELD_NAME = 'FIELD_NAME'
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/Boundary.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

from qgis.PyQt.QtGui import QIcon

from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.algs.qgis import QgisAlgorithm
from processing.core.GeoAlgorithmExecutionException import GeoAlgorithmExecutionException
from processing.core.parameters import ParameterVector
from processing.core.outputs import OutputVector
Expand All @@ -40,7 +40,7 @@
pluginPath = os.path.split(os.path.split(os.path.dirname(__file__))[0])[0]


class Boundary(GeoAlgorithm):
class Boundary(QgisAlgorithm):

INPUT_LAYER = 'INPUT_LAYER'
OUTPUT_LAYER = 'OUTPUT_LAYER'
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/BoundingBox.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

from qgis.PyQt.QtGui import QIcon

from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.algs.qgis import QgisAlgorithm
from processing.core.GeoAlgorithmExecutionException import GeoAlgorithmExecutionException
from processing.core.parameters import ParameterVector
from processing.core.outputs import OutputVector
Expand All @@ -40,7 +40,7 @@
pluginPath = os.path.split(os.path.split(os.path.dirname(__file__))[0])[0]


class BoundingBox(GeoAlgorithm):
class BoundingBox(QgisAlgorithm):

INPUT_LAYER = 'INPUT_LAYER'
OUTPUT_LAYER = 'OUTPUT_LAYER'
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/BoxPlot.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
from processing.core.parameters import ParameterTable
from processing.core.parameters import ParameterTableField
from processing.core.parameters import ParameterSelection
from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.algs.qgis import QgisAlgorithm
from processing.core.outputs import OutputHTML
from processing.tools import vector


class BoxPlot(GeoAlgorithm):
class BoxPlot(QgisAlgorithm):

INPUT = 'INPUT'
OUTPUT = 'OUTPUT'
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/Centroids.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
QgsProcessingUtils,
QgsMessageLog)

from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.algs.qgis import QgisAlgorithm
from processing.core.parameters import ParameterVector
from processing.core.outputs import OutputVector
from processing.tools import dataobjects

pluginPath = os.path.split(os.path.split(os.path.dirname(__file__))[0])[0]


class Centroids(GeoAlgorithm):
class Centroids(QgisAlgorithm):

INPUT_LAYER = 'INPUT_LAYER'
OUTPUT_LAYER = 'OUTPUT_LAYER'
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/CheckValidity.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
QgsWkbTypes,
QgsProcessingUtils,
QgsFields)
from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.algs.qgis import QgisAlgorithm
from processing.core.parameters import ParameterVector
from processing.core.parameters import ParameterSelection
from processing.core.outputs import OutputVector
Expand All @@ -46,7 +46,7 @@
pluginPath = os.path.split(os.path.split(os.path.dirname(__file__))[0])[0]


class CheckValidity(GeoAlgorithm):
class CheckValidity(QgisAlgorithm):

INPUT_LAYER = 'INPUT_LAYER'
METHOD = 'METHOD'
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/Clip.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@
QgsMessageLog,
QgsProcessingUtils)

from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.algs.qgis import QgisAlgorithm
from processing.core.parameters import ParameterVector
from processing.core.outputs import OutputVector
from processing.tools import dataobjects

pluginPath = os.path.split(os.path.split(os.path.dirname(__file__))[0])[0]


class Clip(GeoAlgorithm):
class Clip(QgisAlgorithm):

INPUT = 'INPUT'
OVERLAY = 'OVERLAY'
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/ConcaveHull.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
QgsWkbTypes,
QgsApplication,
QgsProcessingUtils)
from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.algs.qgis import QgisAlgorithm
from processing.core.GeoAlgorithmExecutionException import GeoAlgorithmExecutionException
from processing.core.parameters import ParameterVector
from processing.core.parameters import ParameterNumber
Expand All @@ -43,7 +43,7 @@
from math import sqrt


class ConcaveHull(GeoAlgorithm):
class ConcaveHull(QgisAlgorithm):

INPUT = 'INPUT'
ALPHA = 'ALPHA'
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/ConvexHull.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
QgsProcessingUtils,
QgsFields)

from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.algs.qgis import QgisAlgorithm
from processing.core.GeoAlgorithmExecutionException import GeoAlgorithmExecutionException
from processing.core.parameters import ParameterVector
from processing.core.parameters import ParameterTableField
Expand All @@ -49,7 +49,7 @@
pluginPath = os.path.split(os.path.split(os.path.dirname(__file__))[0])[0]


class ConvexHull(GeoAlgorithm):
class ConvexHull(QgisAlgorithm):

INPUT = 'INPUT'
OUTPUT = 'OUTPUT'
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/CreateAttributeIndex.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
QgsApplication,
QgsProcessingUtils)

from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.algs.qgis import QgisAlgorithm
from processing.core.parameters import ParameterTable
from processing.core.parameters import ParameterTableField
from processing.core.outputs import OutputVector


class CreateAttributeIndex(GeoAlgorithm):
class CreateAttributeIndex(QgisAlgorithm):

INPUT = 'INPUT'
FIELD = 'FIELD'
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/processing/algs/qgis/CreateConstantRaster.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@

from qgis.core import (QgsApplication,
QgsProcessingUtils)
from processing.core.GeoAlgorithm import GeoAlgorithm
from processing.algs.qgis import QgisAlgorithm
from processing.core.parameters import ParameterRaster
from processing.core.parameters import ParameterNumber
from processing.core.outputs import OutputRaster