Bug report #12581
Styles for High-precision Raster Layers
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Rasters | ||
Affected QGIS version: | 2.8.1 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | end of life |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 20706 |
Description
When trying to use Singleband Pseudocolor rendering for a raster with very small-value, albeit high precision variables, applying the style fails. I'll note that upon import of the data, the Singleband Gray render type works fine.
Through testing, it seems that the module only has 16 bit variables, however sometimes rasters are higher precision than that allows. The particular raster I was working with was a kernel density surface (created in R), and the values were all extremely small (ranging 0 - 6.4773e-10). When applying a style, even after setting the value ranges for each color by hand, the entire surface appeared as a single color.
Multiplying the layer by 1000000 solved this problem, but having built-in capability to deal with such high precision would be great. Thus, it would be great to have higher-precision value-setting available for raster styles.
History
#1 Updated by Giovanni Manghi over 7 years ago
- Easy fix? set to No
- Regression? set to No
#2 Updated by Giovanni Manghi over 5 years ago
- Resolution set to end of life
- Status changed from Open to Closed
End of life notice: QGIS 2.18 LTR
Source:
http://blog.qgis.org/2019/03/09/end-of-life-notice-qgis-2-18-ltr/