automatically generating color luts

Stephen Lime steve.lime at dnr.state.mn.us
Fri Apr 9 09:38:33 EDT 1999


I have the the beginings of an avenue script that takes a view and
spits out a mapfile and a colorfile. I wrote it for version 3.1 files so it
would take some tweaking, not much though, to make it create version
3.2 files. The nice thing about 3.2 is that you don't have colorfiles anymore,
rather you just specify RGB values and the mapserver builds a palette
for you. I've attached the script in case someone will find it usefull. Works
ok, I got bogged down on capturing symbols from ArcView (i.e. creating
symbol files).

I ain't much of a Avenue programmer...

Steve

Stephen Lime
Internet Applications Programmer
MIS Bureau - MN DNR

(651) 297-2937
steve.lime at dnr.state.mn.us

>>> <Jonathon.Root at agso.gov.au> 04/08 10:15 PM >>>
G'day,

I was wondering whether anyone has tackled the problem of generating
mapserver lookup tables for layers automatically from arcview avl files?

Our corporate GIS environment revolves around arc/info and arcview.
Consequently I have no end of shape files to serve, unfortunately some of
them have up to 394 different classes to be shaded per layer and up to 30
layers per coverage and it's a bit of a drag to convert them manually to
colorlut, symbollut and legendlabels tables, it's a bit of double-handling
too, considering the avl files have already been created.

I'm about to try automating the process but I thought I'd find out if anyone
else has tackled it first? I'm particularly wondering about mapping the
colorlut to the colorindex file. I can get RGB values out of arcview but
they may not correspond with any of the 256 I've got in the color index
file.

Regards,

Jonathon Root
Australian Geological Survey
www.agso.gov.au 
jonathon.root at agso.gov.au

-------------- next part --------------
A non-text attachment was scrubbed...
Name: makemapf.ave
Type: application/octet-stream
Size: 5737 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/19990409/fa223f01/makemapf.obj


More information about the mapserver-users mailing list