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

Peter Willis pwillis at aslenv.com
Wed May 12 17:27:03 EDT 2010


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, it would be
nice to be able to scale on the fly without duplicating the
original data.

Duplication of rasters is O.K. if you have one or two, but
once you near the 30k-40k files mark the disk space becomes
a tad expensive.

Would it be out of line to suggest some scaling functions
like the generic math functions:

log
log10
sin
asin
sinh
cos
acos
cosh
tan
atan
tanh
abs
sqrt
mod

Peter


More information about the mapserver-users mailing list