<div dir="ltr">I have a Float32 raster, which was made with Arcgis Spatial Analyst. When retrieving it with mapserver using different Class with Expression values, nothing appears, but with just one Class the raster is shown right in a gray scale palette.<br>
<br>Any help would be appreciated.<br><br>AYER<br> NAME "PopulationDensity"<br> TYPE RASTER<br> DATA 'D:/Raster/PopulationDensity.tif'<br><div dir="ltr"> TOLERANCE 0<br> TOLERANCEUNITS pixels<br>
TEMPLATE " "<br>
METADATA<br> "force_imagetype" "gif"<br> "RESULT_FIELDS" "x,y,value_list"<br> "RESULT_HEADERS" "UTM-X,UTM-Y,Density"<br>
END<br> CLASS<br> NAME '0-10' <br> EXPRESSION ([pixel] >= 0 AND [pixel] < 10)<br> STYLE <br> COLOR 0 194 181<br> END<br> END<br> CLASS<br> NAME '10-25'<br>
EXPRESSION ([pixel] >= 10 AND [pixel] < 25)<br> STYLE <br> COLOR 0 242 36<br> END<br> END<br> CLASS<br> NAME '25-50'<br> EXPRESSION ([pixel] >= 25 AND [pixel] < 50)<br>
STYLE <br> COLOR 173 255 47<br> END<br> END<br> CLASS<br> NAME '50-100'<br> EXPRESSION ([pixel] >= 50 AND [pixel] < 100)<br> STYLE <br> COLOR 234 255 0<br>
END<br> END<br> CLASS<br> NAME '100-250'<br> EXPRESSION ([pixel] >= 100 AND [pixel] < 250)<br> STYLE <br> COLOR 255 176 0<br> END<br> END<br> CLASS<br>
NAME '250-500'<br> EXPRESSION ([pixel] >= 250 AND [pixel] < 500)<br> STYLE <br> COLOR 244 127 11<br> END<br> END<br> CLASS<br> NAME '500-1000'<br>
EXPRESSION ([pixel] >= 500 AND [pixel] < 1000)<br> STYLE <br> COLOR 87 62 37<br> END<br> END<br> CLASS<br> NAME '1000-25000'<br> EXPRESSION ([pixel] >= 1000 AND [pixel] < 25000)<br>
STYLE <br> COLOR 122 116 135<br> END<br> END<br>END</div><br></div>