Bug report #16947
GDalUtils.getFormatShortNameFromFilename returrn 'Gtiff' for ESRI
|Affected QGIS version:||2.18.9||Regression?:||No|
|Operating System:||OSX||Easy fix?:||Yes|
|Pull Request or Patch supplied:||No||Resolution:||up/downstream|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||24846|
One user of my plugin reported me that for some files extensions the color of image in output changed. I'm using processing with gdal clip by extend (link).
After investigation it appears that
'GTiff' when it should be
'EHdr' with a file.bil. This is due to
getSupportedRasters where the
if DMD_EXTENSION in metadata return false. I was wondering why
DMD_EXTENSION isn't in the wrapper meta, because when I run the command in a shell (
gdalwarp -of EHdr ...) it's perfectly working.
Is that normal ? Should it be fixed ?