Skip to content
Permalink
Browse files

[processing][gdal] Assign output CRS should be optional for ogr to po…

…stgis alg

(cherry-picked from 996c9a8)
  • Loading branch information
nyalldawson committed Jul 24, 2018
1 parent 3d3be64 commit 1bae799ea12c47c7a36177ecd19af3072cfd36fd
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/gdal/OgrToPostGis.py
@@ -88,7 +88,7 @@ def initAlgorithm(self, config=None):
self.addParameter(QgsProcessingParameterEnum(self.GTYPE,
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))
self.addParameter(QgsProcessingParameterCrs(self.S_SRS,

0 comments on commit 1bae799

Please sign in to comment.
You can’t perform that action at this time.