You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but a macro/function which tests both nodata value and NaN would be better. There are probably more places in mapserver where NaN is not correctly handled.
The text was updated successfully, but these errors were encountered:
In 7.0.1, WMS renders blank image if a classified raster has NaN values and SCALE is not specified even if GDAL gives correctly NaN as nodata value.
The problem is that when min/max is calculated in mapdrawgdal.c, it skips nodata:
but not NaN which must be tested with isnan(). The result is min = max = NaN and blank image.
Here is my simple quick fix:
but a macro/function which tests both nodata value and NaN would be better. There are probably more places in mapserver where NaN is not correctly handled.
The text was updated successfully, but these errors were encountered: