Skip to content
Browse files

[processing][SAGA] Fix exposed output formats to include only those s…

…upported by SAGA

Refs #18908
  • Loading branch information
nyalldawson committed Jun 4, 2018
1 parent 1395dc0 commit f85a3d6bc0a87abb0bcc4609829c081c52db29d8
Showing with 6 additions and 3 deletions.
  1. +6 −3 python/plugins/processing/algs/saga/
@@ -123,13 +123,16 @@ def id(self):
return 'saga'

def defaultVectorFileExtension(self, hasGeometry=True):
return 'shp'
return 'shp' if hasGeometry else 'dbf'

def defaultRasterFileExtension(self):
return 'sdat'

def supportedOutputTableExtensions(self):
return ['dbf']
def supportedOutputRasterLayerExtensions(self):
return ['sdat']

def supportedOutputVectorLayerExtensions(self):
return ['shp', 'dbf']

def supportsNonFileBasedOutput(self):

0 comments on commit f85a3d6

Please sign in to comment.