floating point grass rasters and mapserver

Frank Warmerdam warmerdam at POBOX.COM
Tue Aug 7 09:44:22 EDT 2007


Neil Best wrote:
> Hello, all.  I am trying to understand if/how MapServer can take advantage
> of GDAL's abillity to read GRASS groups per
> http://www.gdal.org/frmt_grass.html  Is it possible to display RGB
> composites as William surmises above?  Do the GRASS layers have to be 0-255
> integers strictly or will a float work as long as it has 256 levels?  How do
> the PROCESSING directives play into this?  It's not clear to me which, if
> any, of the directives are relevant to GRASS layers -- maybe there is
> another page somewhere with more details beyond the "Raster Data Access"
> page.  BTW, I believe MS _does_ now use the GRASS color tables.  

Neil,

MapServer can display from floating point raster bands and you can rescale
on the fly using the various processing scaling options.  I'm a bit vague on
the state of the gdal-grass driver but experimentation with gdalinfo
reporting should verify the current state of things.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the mapserver-users mailing list