Skip to content

Commit

Permalink
Merge pull request #4132 from NaturalGIS/fix_ogr_postgis_mandatory_pa…
Browse files Browse the repository at this point in the history
…rams

[processing] make ogr postgis parameters mandatory where needed
  • Loading branch information
alexbruy authored Feb 10, 2017
2 parents e8be083 + 2644836 commit f7380c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/gdal/ogr2ogrtopostgis.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def defineCharacteristics(self):
self.addParameter(ParameterSelection(self.GTYPE,
self.tr('Output geometry type'), self.GEOMTYPE, 0))
self.addParameter(ParameterCrs(self.A_SRS,
self.tr('Assign an output CRS'), '', optional=True))
self.tr('Assign an output CRS'), '', optional=False))
self.addParameter(ParameterCrs(self.T_SRS,
self.tr('Reproject to this CRS on output '), '', optional=True))
self.addParameter(ParameterCrs(self.S_SRS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def defineCharacteristics(self):
self.addParameter(ParameterSelection(self.GTYPE,
self.tr('Output geometry type'), self.GEOMTYPE, 0))
self.addParameter(ParameterCrs(self.A_SRS,
self.tr('Assign an output CRS'), '', optional=True))
self.tr('Assign an output CRS'), '', optional=False))
self.addParameter(ParameterCrs(self.T_SRS,
self.tr('Reproject to this CRS on output '), '', optional=True))
self.addParameter(ParameterCrs(self.S_SRS,
Expand Down

0 comments on commit f7380c1

Please sign in to comment.