[mapserver-users] Mathematical Scaling of Floating Point Data in Mapserver Map File

2010-05-12 Thread Peter Willis
Hello, Is it possible to apply nonlinear scaling to classify floating point tiff rasters. All examples that I have seen appear to assume a linear dataset. If I wish to scale the data by the base 10 log of the data and then scale the Red, Green and Blue values of the classification, can I do

Re: [mapserver-users] Mathematical Scaling of Floating Point Data in Mapserver Map File

2010-05-12 Thread Frank Warmerdam
Peter Willis wrote: Hello, Is it possible to apply nonlinear scaling to classify floating point tiff rasters. All examples that I have seen appear to assume a linear dataset. If I wish to scale the data by the base 10 log of the data and then scale the Red, Green and Blue values of the

Re: [mapserver-users] Mathematical Scaling of Floating Point Data in Mapserver Map File

2010-05-12 Thread Peter Willis
Thanks Frank, That helps somewhat. It's going to be a bit of a bear making a 256 color lookup that way. I guess I can script the CLASS lookup sections of the map file(s). Peter Frank Warmerdam wrote: Peter Willis wrote: Hello, Is it possible to apply nonlinear scaling to classify

Re: [mapserver-users] Mathematical Scaling of Floating Point Data in Mapserver Map File

2010-05-12 Thread Peter Willis
Frank Warmerdam wrote: There isn't anything magical about 256. 256 or better raster scales sure are pretty though :) Seriously though, the raster data is floating point log data with relatively random spatial distribution. Short of making two images, one log float and one anti-log float,

Re: [mapserver-users] Mathematical Scaling of Floating Point Data in Mapserver Map File

2010-05-12 Thread Frank Warmerdam
Peter Willis wrote: Frank Warmerdam wrote: There isn't anything magical about 256. 256 or better raster scales sure are pretty though :) Seriously though, the raster data is floating point log data with relatively random spatial distribution. Short of making two images, one log float