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

2009-06-30 Thread Frank Warmerdam
Stefan Schantz wrote: Hello Frank, thank you for your explaination. I think, that now i have a small idea, what the UMN Mapserver is doing with my raster image. As I wrote, I use gdal_grid to get my raw data. Is it right, that if I use the output format Geotiff with the option - ot Byte, i

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

2009-06-29 Thread Frank Warmerdam
Stefan, I notice if I run shp2img with -all_debug set on I see the following: msDrawGDAL(fahnenankunft): using RAW_WINDOW=17 0 83 100 msDrawGDAL(): red,green,blue,alpha bands = 1,0,0,0 msDrawRasterGDAL_16BitClassification(fahnenankunft): scaling to 65536 buckets from

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

2009-06-26 Thread Stefan Schantz
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] =