File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
python/plugins/processing/algs/gdal Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -141,10 +141,10 @@ def getConsoleCommands(self):
141
141
arguments = []
142
142
arguments .append ('-ot' )
143
143
arguments .append (self .TYPE [self .getParameterValue (self .RTYPE )])
144
- if len ( srccrs ) > 0 :
144
+ if srccrs :
145
145
arguments .append ('-s_srs' )
146
146
arguments .append (srccrs )
147
- if len ( dstcrs ) > 0 :
147
+ if dstcrs :
148
148
arguments .append ('-t_srs' )
149
149
arguments .append (dstcrs )
150
150
if noData and len (noData ) > 0 :
@@ -177,7 +177,7 @@ def getConsoleCommands(self):
177
177
arguments .extend (rastext )
178
178
179
179
if GdalUtils .version () >= 2000000 :
180
- if rastext and rastext_crs is not None :
180
+ if rastext and rastext_crs :
181
181
arguments .append ('-te_srs' )
182
182
arguments .append (rastext_crs )
183
183
You can’t perform that action at this time.
0 commit comments