Skip to content

Commit 1bae799

Browse files
committedJul 25, 2018
[processing][gdal] Assign output CRS should be optional for ogr to postgis alg
(cherry-picked from 996c9a8)
1 parent 3d3be64 commit 1bae799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/gdal/OgrToPostGis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def initAlgorithm(self, config=None):
8888
self.addParameter(QgsProcessingParameterEnum(self.GTYPE,
8989
self.tr('Output geometry type'), options=self.GEOMTYPE, defaultValue=0))
9090
self.addParameter(QgsProcessingParameterCrs(self.A_SRS,
91-
self.tr('Assign an output CRS'), defaultValue='', optional=False))
91+
self.tr('Assign an output CRS'), defaultValue='', optional=True))
9292
self.addParameter(QgsProcessingParameterCrs(self.T_SRS,
9393
self.tr('Reproject to this CRS on output '), defaultValue='', optional=True))
9494
self.addParameter(QgsProcessingParameterCrs(self.S_SRS,

0 commit comments

Comments
 (0)
Please sign in to comment.