[mapserver-users] classification of a raster image is changing

Stefan Schantz sschantz at bfs.de
Fri Jun 26 05:28:44 PDT 2009


Hello list,
I have the following problem with UMNMapserver 5.2:
I have interpolated some data with gdal_grid. As the result I got a tiff 
file with one band.
In the next step i classified the raster image in UMN Mapserver like this:

(..)
CLASS
   NAME "<= 12 h"
   EXPRESSION ([pixel]> 9 AND [pixel] <= 12)
   STYLE
      COLOR 65 182 196
   END
END
(..)
so far so good
But if i view the image in a client like QGIS, the classification 
(colors) is changing depending on the chosen section (see appendix).
What is my mistake?

Thanks for helping!

Regards
Stefan



More information about the MapServer-users mailing list