<HTML>
<HEAD>
<TITLE>Error classifying 16bit data using GDAL in MapServer - #3624</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>All (primarily Frank),<BR>
<BR>
I’m getting an assertion failed error trying to classify 16 bit data in MapServer trunk. This is working find in 5.6.5 so its a recent change, probably dealing with the new rendering interface work.<BR>
<BR>
<a href="http://trac.osgeo.org/mapserver/ticket/3624">http://trac.osgeo.org/mapserver/ticket/3624</a><BR>
<BR>
Doing something like this<BR>
<BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:10pt'>CLASS<BR>
NAME "0 - 1" EXPRESSION ([pixel] >= 1 AND [pixel] < 25 ) STYLE<BR>
COLOR 227 227 227<BR>
END<BR>
<BR>
<BR>
Returns<BR>
<BR>
mapserv57: mapdrawgdal.c:2196: msDrawRasterLayerGDAL_16BitClassification: Assertion `rb->type == MS_BUFFER_GD' failed.<BR>
<BR>
Against this dataset<BR>
<BR>
<a href="ftp://sidads.colorado.edu/DATASETS/NOAA/G02158/SNODAS_20101130.tar">ftp://sidads.colorado.edu/DATASETS/NOAA/G02158/SNODAS_20101130.tar</a></SPAN></FONT></FONT>
</BODY>
</HTML>