Bug report #15339
Warp tool requires CRS of extent when no extent set
|Affected QGIS version:||2.18.7||Regression?:||Yes|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||23271|
Since updating to QGIS 2.16 in Ubuntu, there is a new field: CRS of raster extent. This field is mandatory even when no extent is specified. Specifying a CRS in this field, for example the same CRS as the Destination CRS, creates a -te value in the GDAL command.
When the raster extent field is blank, the Extent CRS should not be required, and no -te flag should be included in the gdalwarp command.
#3 Updated by Evan Derickson about 3 years ago
- File CRS_extent.png added
- Status changed from Closed to Reopened
As of 2.18.5, the GDAL warp tool will always add a -te parameter to the gdalwarp command, no matter if the user inputs something to the extent field. If the user does not select a CRS for the extent, the tool will fail with the message:
ERROR 1: Attempt to create 0x0 dataset is illegal,sizes must be larger than zero. Creating output file that is 0P x 0L.
The user must still designate an extent CRS to proceed. I would therefore still consider this bug still open, though its nature has changed.