floating point grass rasters and mapserver

Frank Warmerdam warmerdam at POBOX.COM
Tue Oct 11 10:03:15 EDT 2005


On 10/11/05, Jachym Cepicky <jachym.cepicky at centrum.cz> wrote:
> hi,
>
> I had that feeling, that mapserver is able to display *only* maps with
> <= 255 values..
>
> I thing, there is no other way, than to double the maps :-/

Jachym / Andrea,

MapServer supports scaling non-8bit data to 8bit on the fly
(see the SCALE processing option in the Raster howto) or
to use classification on non-8bit images.

Currently MapServer does not automatically create classes
based on color rules established in grass, so you need to
manually recreate the classes in the layer definition in the
mapfile.

I would suggest reviewing the Raster howto.

  http://ms.gis.umn.edu/docs/howto/raster_data

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    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list