Opened 13 years ago

Closed 13 years ago

#3650 closed enhancement (fixed)

patch: add nodata processing to unclassified scaled data

Reported by: msmitherdc Owned by: warmerdam
Priority: normal Milestone: 6.0 release
Component: GDAL Support Version: unspecified
Severity: normal Keywords: gdal, nodata, unclassified, scaled
Cc: dmorissette

Description

This patch reads the NODATA value from GDAL or from the NODATA processing directive to remove NODATA values from scaled unclassified data

Attachments (1)

mapdrawgdal.patch (2.3 KB ) - added by msmitherdc 13 years ago.

Download all attachments as: .zip

Change History (2)

by msmitherdc, 13 years ago

Attachment: mapdrawgdal.patch added

comment:1 by warmerdam, 13 years ago

Cc: dmorissette added; dmorisette removed
Resolution: fixed
Status: newclosed

I have revised and applied the patch in trunk (r10844). I've also updated the exist test suite entry for this to test exclusion from the autoscaling range (r10843).

Note that the patch does *not* cause nodata values to be transparent - it only ensures they are excluded from the autoscale range calculation. I have updated the debug message accordingly.

There were also some problems with the way the exclusion happened which I have adjusted for.

Note: See TracTickets for help on using tickets.