floating point grass rasters and mapserver

Andrea Antonello andrea.antonello at GMAIL.COM
Tue Oct 11 03:53:07 EDT 2005


Thanks Paolo,

> This is a known limitation for grass rasters. Not much to do, unless
> someone will write the relevant code for gdal.

:) 
It's long time now from my last serious C effort. 
I suppose this would mean to add a part in the grass code dealing with gdal 
(the old libgrass?). 
Has anyone a clear idea about what exactly should be done? This would probably 
give me an idea whether to try or not :)

Thanks,
Andrea


> pc
>
> At 09:18, martedì 11 ottobre 2005, Andrea Antonello has probably written:
> > Hi folks,
> > I trying to visualize grass rasters with mapserver.
> >
> > What I get are nice maps, but those that are floating point and numbers >
> > 255 are visualized in one single color, usually yellow, which probably
> > only means that the image is rendered at low resolution level.
> >
> > I read the documentation about rasters more than once, but I seem to miss
> > a point.
> >
> > I use png24.
> >
> > If I normalize the map (i.e. map*maxvalue/255), it shows up correctly,
> > but I don't want to double the maps and also I want to see changes on the
> > grass location.
> >
> > Any hint is appreciated.
> >
> > Best regards,
> > Andrea

-- 
____________________________________________________________________________
HydroloGIS - Environmental Open Source Solutions
www.hydrologis.com

Andrea Antonello
Environmental Engineer
mobile:  +393288497722

"Let it be as much a great honour to take as to give learning,
if you want to be called wise."
Skuggsja' - The King's mirror - 1240 Reykjavik
____________________________________________________________________________



More information about the mapserver-users mailing list