Skip to content

Commit

Permalink
[processing][SAGA] Fix exposed output formats to include only those s…
Browse files Browse the repository at this point in the history
…upported by SAGA

Refs #18908
  • Loading branch information
nyalldawson committed Jun 4, 2018
1 parent 1395dc0 commit f85a3d6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions python/plugins/processing/algs/saga/SagaAlgorithmProvider.py 100644 → 100755
Expand Up @@ -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):
"""
Expand Down

0 comments on commit f85a3d6

Please sign in to comment.