Order of data(theme) being drawn

Stephen Lime steve.lime at dnr.state.mn.us
Wed Apr 19 16:41:46 EDT 2000


Never really thought about it. Super easy hack though. Just change the layer
loop in maplegend.c, msDrawLegend() to loop backwards and that will fix it. I'll
change this behavior in the distribution.

Steve

Stephen Lime
Internet Applications Analyst

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

>>> "An Tay Nguy" <anguy at geoanalytic.com> 04/19/00 03:34PM >>>
Hi everyone,

I am using Map Server 3.3006 with PROJ4.0 support for
a sample web application. The order in which the themes
being drawn is very important for this application, raster
images being at the bottom...and so on.  By arranging
the Layer definition in the map file, I was able to 
control which layer to draw first.  When I tried to
generate a legend from Map Server, the order of the
themes that appear in the legend is backward from what
is displayed in the map.  Theme that appear at the 
bottom of the legend is displayed on the top most(the raster image).

Is this the intended functionality?  Am I missing 
somthing?

Thanks in advance for your help!!

An Tay Nguy




More information about the mapserver-users mailing list