From 9f3ed88145b46e8ae5332aecc151a28754790ad9 Mon Sep 17 00:00:00 2001 From: Alexandre Neto Date: Tue, 1 Oct 2019 17:19:37 +0100 Subject: [PATCH] Makes GPKG prefered input format for OGR algs #Fixes 29097 --- python/plugins/processing/algs/gdal/GdalAlgorithm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/plugins/processing/algs/gdal/GdalAlgorithm.py b/python/plugins/processing/algs/gdal/GdalAlgorithm.py index c92ddb637a0..8f049bfbbdf 100644 --- a/python/plugins/processing/algs/gdal/GdalAlgorithm.py +++ b/python/plugins/processing/algs/gdal/GdalAlgorithm.py @@ -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: