Skip to content
Permalink
Browse files
[processing] changed input type from vector layer to table for execut…
…e sql algorithm
  • Loading branch information
volaya committed Dec 5, 2016
1 parent 16da906 commit b7daf9bca39c8def0a5bc95a7aa3554642b79909
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/gdal/ogrsql.py
@@ -26,7 +26,7 @@
__revision__ = '$Format:%H$'

from processing.core.GeoAlgorithmExecutionException import GeoAlgorithmExecutionException
from processing.core.parameters import ParameterVector
from processing.core.parameters import ParameterTable
from processing.core.parameters import ParameterString
from processing.core.parameters import ParameterSelection
from processing.core.outputs import OutputVector
@@ -51,7 +51,7 @@ def defineCharacteristics(self):
self.name, self.i18n_name = self.trAlgorithm('Execute SQL')
self.group, self.i18n_group = self.trAlgorithm('[OGR] Miscellaneous')

self.addParameter(ParameterVector(self.INPUT, self.tr('Input layer')))
self.addParameter(ParameterTable(self.INPUT, self.tr('Input layer or table')))
self.addParameter(ParameterString(self.SQL, self.tr('SQL'), ''))

self.addParameter(ParameterSelection(

0 comments on commit b7daf9b

Please sign in to comment.