From c7e413014067427b8987e4dcc887c5a2bbe104ff Mon Sep 17 00:00:00 2001 From: Giovanni Manghi Date: Tue, 1 Oct 2019 19:03:23 +0100 Subject: [PATCH] make the A_SRS parameter optional --- python/plugins/processing/algs/gdal/ogr2ogrtopostgislist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/plugins/processing/algs/gdal/ogr2ogrtopostgislist.py b/python/plugins/processing/algs/gdal/ogr2ogrtopostgislist.py index 1a01bd9b192..742d2e8dbb9 100644 --- a/python/plugins/processing/algs/gdal/ogr2ogrtopostgislist.py +++ b/python/plugins/processing/algs/gdal/ogr2ogrtopostgislist.py @@ -96,7 +96,7 @@ class Ogr2OgrToPostGisList(GdalAlgorithm): self.tr('Output geometry type'), options=self.GEOMTYPE, defaultValue=0)) self.addParameter(QgsProcessingParameterCrs(self.A_SRS, - self.tr('Assign an output CRS'), defaultValue='', optional=False)) + self.tr('Assign an output CRS'), defaultValue='', optional=True)) self.addParameter(QgsProcessingParameterCrs(self.T_SRS, self.tr('Reproject to this CRS on output '), defaultValue='', optional=True))