Skip to content

Commit f85a3d6

Browse files
committed
[processing][SAGA] Fix exposed output formats to include only those supported by SAGA
Refs #18908
1 parent 1395dc0 commit f85a3d6

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

python/plugins/processing/algs/saga/SagaAlgorithmProvider.py

100644100755
+6-3
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,16 @@ def id(self):
123123
return 'saga'
124124

125125
def defaultVectorFileExtension(self, hasGeometry=True):
126-
return 'shp'
126+
return 'shp' if hasGeometry else 'dbf'
127127

128128
def defaultRasterFileExtension(self):
129129
return 'sdat'
130130

131-
def supportedOutputTableExtensions(self):
132-
return ['dbf']
131+
def supportedOutputRasterLayerExtensions(self):
132+
return ['sdat']
133+
134+
def supportedOutputVectorLayerExtensions(self):
135+
return ['shp', 'dbf']
133136

134137
def supportsNonFileBasedOutput(self):
135138
"""

0 commit comments

Comments
 (0)