Bug report #9460
gdaltools relies on gdalinfo for raster SRS and extent, should use python API
|Affected QGIS version:||2.0.1||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||Yes||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||18052|
GdalTools should rely on commandline tools only for complex operations, not basic dataset info.
The SRS and extent query methods rely on gdalinfo, which is fragile as reported by Even Rouault:
Just an outsider point of view : why using GDAL utilties and risky output parsing to get the SRS and not just plain Python GDAL API...
I have a pull request to fix this, but I am hesitant to apply this to master now. Any input would be appreciated.