File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
python/plugins/processing/algs/gdal Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ def defineCharacteristics(self):
89
89
self .tr ('Resampling method' ), self .METHOD_OPTIONS ))
90
90
self .addParameter (ParameterExtent (self .RAST_EXT , self .tr ('Raster extent' )))
91
91
92
- if GdalUtils .version () > 2000000 :
92
+ if GdalUtils .version () >= 2000000 :
93
93
self .addParameter (ParameterCrs (self .EXT_CRS ,
94
94
self .tr ('CRS of the raster extent' ), '' ))
95
95
@@ -176,9 +176,10 @@ def getConsoleCommands(self):
176
176
if rastext :
177
177
arguments .extend (rastext )
178
178
179
- if rastext and rastext_crs is not None :
180
- arguments .append ('-te_srs' )
181
- arguments .append (rastext_crs )
179
+ if GdalUtils .version () >= 2000000 :
180
+ if rastext and rastext_crs is not None :
181
+ arguments .append ('-te_srs' )
182
+ arguments .append (rastext_crs )
182
183
183
184
if extra and len (extra ) > 0 :
184
185
arguments .append (extra )
You can’t perform that action at this time.
0 commit comments