Assign color definition to ESRI Binary GRID files
Bart van den Eijnden
BEN at SYNCERA-ITSOLUTIONS.NL
Wed May 25 05:43:22 PDT 2005
Hi Wolfgang,
there is no such thing as a colour table in Mapserver or GDAL AFAIK.
You can however try to automatically generate your CLASS definitions from Arcview (I am assuming you are using Arcview 3.x) for instance with Gix.
http://gix.sourceforge.net
If your data and its classification is very stable you could consider using OpenEV to print a new Geotiff which has the classification already in the image.
Best regards,
Bart
Bart van den Eijnden
Syncera-ITSolutions
Postbus 270
2600 AG DELFT
tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl
>>> Wolfgang Qual <Wolfgang.Qual at MUENCHEN.DE> 05/25/05 02:32pm >>>
Hello List,
I was trying to get my ESRI Binary GRID files on the mapserver. It
worked fine somehow, as I was able to assign color definitions to the
mapfile by adding this to the mapfile
"CLASSITEM "[pixel]"
CLASS
EXPRESSION ([pixel]< 10)
COLOR 200 0 220
END"
However, I wonder, if this is the best way to do it. My problem is that
I do have color definitions in ArcView (avl-legend), but I do not know
how to put this information directly into the mapfile - is there a way
to do it (something like a color lookup table)?
Thanks again.
Wolfgang
--
Wolfgang Qual
Landeshauptstadt München
Referat für Gesundheit und Umwelt
RGU-UW 11
Sg. 1 Gesundheits- und Umweltberichterstattung,
Energie und Klimaschutz
Bayerstr. 28a, 80335 München
Tel.: +49 (0)89 233-477 17
Fax.: +49 (0)89 233-477 05
E-Mail: wolfgang.qual at muenchen.de
More information about the MapServer-users
mailing list