Bug report #158
loading a float raster layer returns an integer when the no-data value is an integer.
|Affected QGIS version:||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||10217|
If you have an AAIGrid raster layer no-data value set to -9999, such as when you export an AAIGrid from ArcMAP, the layer will viewed as an integer layer, even if the values are floating points. If you do a fine and replace and change -9999 to -9999.5 or -1.#QNAN it will be displayed as a floating point appropriately.
#2 Updated by anonymous - almost 14 years ago
- Resolution set to fixed
- Status changed from Open to Closed
This is a problem in GDAL. It has been fixed (see http://lists.maptools.org/pipermail/gdal-dev/2006-July/009572.html and http://bugzilla.remotesensing.org/show_bug.cgi?id=1071), but missed the 1.3.2 release of GDAL (the latest).