Makes GPKG prefered input format for OGR algs #Fixes 29097

This commit is contained in:
Alexandre Neto 2019-10-01 17:19:37 +01:00 committed by Nyall Dawson
parent 2a13e8a289
commit 9f3ed88145

View File

@ -89,6 +89,7 @@ class GdalAlgorithm(QgsProcessingAlgorithm):
# and extract selection if required
ogr_data_path = self.parameterAsCompatibleSourceLayerPath(parameters, parameter_name, context,
QgsVectorFileWriter.supportedFormatExtensions(),
'gpkg',
feedback=feedback)
ogr_layer_name = GdalUtils.ogrLayerName(ogr_data_path)
else: