[Mapserver-users] How to set Raster Image Symbols

Steve Lime steve.lime at dnr.state.mn.us
Tue Jul 29 17:12:42 EDT 2003


There is a new CLASS level parameter in 4.0 called KEYIMAGE that allows
you to
specify the legend image to use when building a legend (or requesting a
legend
icon via MapScript or the CGI application). You can see it in action
at:

  http://maps.dnr.state.mn.us/mapserver_demos/workshop/

Turn on the DOQ layer and you'll see the KEYIMAGE in the legend. Note
the the
KEYIMAGE is sized to fit within the key specifications defined in the
LEGEND section.

Steve

Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> Steffen Gebhardt <steffen.gebhardt at informus.de> 07/29/03 05:21AM
>>>
Hi to all,

Since it is possible to create the Legend automatically if layers are 
selected, I ask myself how to define a rasterimage that should appear
in the 
legend. In detail I'm displaying raster images with a specific
colour-code, 
so I want to add the corresponding colorramp which I have as png file
to the 
legend. How to define this in the mapfile?

Please, if anybody know the answer - do not hesitate.

Thanks
Steffen
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu 
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list