Skip to content

Commit

Permalink
make ogr postgis parameters mandatory where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
gioman committed Feb 10, 2017
1 parent 16384cf commit 2644836
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
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
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 2644836

Please sign in to comment.