mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Makes GPKG prefered input format for OGR algs #Fixes 29097
This commit is contained in:
parent
2a13e8a289
commit
9f3ed88145
@ -89,6 +89,7 @@ class GdalAlgorithm(QgsProcessingAlgorithm):
|
|||||||
# and extract selection if required
|
# and extract selection if required
|
||||||
ogr_data_path = self.parameterAsCompatibleSourceLayerPath(parameters, parameter_name, context,
|
ogr_data_path = self.parameterAsCompatibleSourceLayerPath(parameters, parameter_name, context,
|
||||||
QgsVectorFileWriter.supportedFormatExtensions(),
|
QgsVectorFileWriter.supportedFormatExtensions(),
|
||||||
|
'gpkg',
|
||||||
feedback=feedback)
|
feedback=feedback)
|
||||||
ogr_layer_name = GdalUtils.ogrLayerName(ogr_data_path)
|
ogr_layer_name = GdalUtils.ogrLayerName(ogr_data_path)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user