Ticket #1318 (closed defect: wontfix)
SCALE can cause maxvalues to be transparent.
| Reported by: | kruland@… | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | GDAL Support | Version: | 4.4 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by warmerdam) (diff)
In mapdrawgdal.c, the computation for dfScaleRatio on line 1147 can cause pixels with values of "dfScaleMax" to be mapped to 256. If NoDataValue is -1, this causes the pixels to be transparent. Change to dfScaleRatio = 255.0/(dfScaleMax - dfScaleMin);
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

