Bug report #2309
vrt nodata is ignored when setting min/max value by current extent
|Affected QGIS version:||Regression?:||No|
|Operating System:||Debian||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||12369|
To reproduce this bug, follow the following steps:
1) Extract and load the vrt file that is attached to this ticket
2) probe raster to see where the nulls are located.
3) zoom into a region that has some nulls.
4) In Raster Layer Properties>>Symbology, click on Current extent and then the Load button. The vrt nodata value (-999) shows up in Min.
If you zoom into an area where there are no nulls, you get a correct min/max value.