Skip to content
Permalink
Browse files

[processing] don't pass layer name when '-sql' parameter is used

  • Loading branch information
alexbruy committed Nov 12, 2016
1 parent e1ee477 commit 652addb5074e8f889707fa7172b14ac3cbf7b475
@@ -98,7 +98,6 @@ def getConsoleCommands(self):
arguments = []
arguments.append(output)
arguments.append(ogrLayer)
arguments.append(layername)
arguments.append('-dialect')
arguments.append('sqlite')
arguments.append('-sql')
@@ -96,7 +96,6 @@ def getConsoleCommands(self):
arguments = []
arguments.append(output)
arguments.append(ogrLayer)
arguments.append(ogrLayerName(inLayer))
arguments.append('-dialect')
arguments.append('sqlite')
arguments.append('-sql')
@@ -80,7 +80,6 @@ def getConsoleCommands(self):
arguments = []
arguments.append(output)
arguments.append(ogrLayer)
arguments.append(ogrLayerName(inLayer))

arguments.append('-dialect sqlite -sql "SELECT ST_Line_Interpolate_Point(')
arguments.append(geometry)
@@ -103,7 +103,6 @@ def getConsoleCommands(self):
arguments = []
arguments.append(output)
arguments.append(ogrLayer)
arguments.append(layername)
arguments.append('-dialect')
arguments.append('sqlite')
arguments.append('-sql')

0 comments on commit 652addb

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