Bug report #2309

vrt nodata is ignored when setting min/max value by current extent

Added by cgsbob - over 14 years ago. Updated over 14 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:Rasters
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

Description

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.

vrttest.tar.gz - generated arcinfo ascii grid and its vrt file (3.54 KB) cgsbob -, 2009-12-21 05:20 PM

History

#1 Updated by ersts - over 14 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

fixed in revision 12570

Also available in: Atom PDF