<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css>BODY {
        MARGIN: 4px 4px 1px; LINE-HEIGHT: normal; FONT-VARIANT: normal
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>

<META content="MSHTML 6.00.2900.5764" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px">
<DIV dir=ltr align=left><SPAN class=652290421-18062009><FONT face=Arial 
color=#0000ff size=2>I'd sure like to see just a white (255 255 255) IMAGECOLOR 
as the base for now.&nbsp;I realize when you stack them it will alter based on 
the transparencey.&nbsp; But without having to deal with all the 
exceptions.&nbsp; For now if it could just take the transparency and a base 
white color as the base, it sure would help my 60% Transparent 255 0 0 look less 
the DARK RED which it currently shows on the legend, yet&nbsp;NEVER looks that 
way on the map.&nbsp; I'm sure there will be more wants later :-) - though as 
Steve Lime points out, its good to have a base.&nbsp; If your base layer is Tan, 
then that skews things and it would be nice for the tan skew (but, for now I'm 
just looking for 255 255 255) as the base and the level of transparency setting 
inherited from the LAYER.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=652290421-18062009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=652290421-18062009><FONT face=Arial 
color=#0000ff size=2>Thanks</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Steven Lehr<BR><BR>&nbsp;</FONT> </P>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Bob Basques 
[mailto:Bob.Basques@ci.stpaul.mn.us] <BR><B>Sent:</B> Thursday, June 18, 2009 
3:10 PM<BR><B>To:</B> Steve Lime; Lehr, Steven; Richard Greenwood<BR><B>Cc:</B> 
mapserver-users@lists.osgeo.org<BR><B>Subject:</B> RE: [mapserver-users] HTML 
Legend vs Transparency in Layer<BR></FONT><BR></DIV>
<DIV></DIV>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face="Comic Sans MS" 
size=3>All,</FONT> </P><BR>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face="Comic Sans MS" 
size=3>How hard would it be to add in IMAGECOLOR options for adding a Raster 
background, like an aerial photo?</FONT> </P><BR>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face="Comic Sans MS" 
size=3>I've wondered about this legend creation from time to time as well, I 
just skip the whole process where a background (raster) is used in my layer 
configs currently, but more control over the legend creation would be 
nice.</FONT> </P><BR>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face="Comic Sans MS" 
size=3>Also, and this may seem like a way left thinking thought, what about 
using a regular layer definition for Legend output, either by adding in some (or 
all) of the legend capabilities to a regular layer definition as an option. 
&nbsp;I haven't thought this through completely, but some of the legend controls 
seem to lend themselves to building up a markup layer of sorts. &nbsp;Could this 
be a way of making the legends for these odd layers and at the same time begin 
build out of some map markup tools as well?</FONT> </P><BR>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><FONT face="Comic Sans MS" 
size=3>bobb</FONT> </P><BR>
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px"><BR><BR>&gt;&gt;&gt; "Steve Lime" 
&lt;Steve.Lime@dnr.state.mn.us&gt; wrote:<BR></P>
<DIV 
style="PADDING-LEFT: 7px; MARGIN: 0px 0px 0px 15px; BORDER-LEFT: #050505 1px solid; BACKGROUND-COLOR: #f3f3f3">
<P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">Problem is that your transparency 
is occurring over other layers (e.g. aerial photos) so it will never<BR>match 
unless you're drawing over the same background (typically defined by IMAGECOLOR) 
in<BR>both cases. I'm not sure how easy a fix it is. Feel free to create a 
ticket though.<BR><BR>Steve<BR><BR>&gt;&gt;&gt; On 6/18/2009 at 8:54 AM, in 
message<BR>&lt;9D58C43BDFE3F846ADF3A0F8100940B3137CA5@DBEXVS02.erau.edu&gt;, 
Steven Lehr<BR>&lt;lehrs@erau.edu&gt; wrote:<BR>&gt; I'd think so - should be a 
simple fix, and would improve the overall MapServer<BR>&gt; 
product.&nbsp;&nbsp;If somebody needs some funds to make this happen, let me 
know, I'd<BR>&gt; gladly fund it getting fixed.<BR>&gt;<BR>&gt; Thanks<BR>&gt; 
Steve<BR>&gt;<BR>&gt;<BR>&gt; -----Original Message-----<BR>&gt; From: Richard 
Greenwood [mailto:richard.greenwood@gmail.com]<BR>&gt; Sent: Wed 6/17/2009 10:45 
PM<BR>&gt; To: Lehr, Steven<BR>&gt; Cc: mapserver-users@lists.osgeo.org<BR>&gt; 
Subject: Re: [mapserver-users] HTML Legend vs Transparency in 
Layer<BR>&gt;&nbsp;<BR>&gt; I've run into exactly the same thing. I don't have 
any workaround. Is<BR>&gt; it a bug that warrants a report?<BR>&gt;<BR>&gt; 
Rich<BR>&gt;<BR>&gt;<BR>&gt; On Wed, Jun 17, 2009 at 1:16 AM, Steven 
Lehr&lt;lehrs@erau.edu&gt; wrote:<BR>&gt;&gt; Hello 
all...<BR>&gt;&gt;<BR>&gt;&gt; When categorizing layers like zoning, I 
frequently use levels of<BR>&gt;&gt; transparency (obviously so people can see 
through them).&nbsp;&nbsp;&nbsp;However, this<BR>&gt;&gt; alters the physical 
color compared to the COLOR attribute of the item being<BR>&gt;&gt; 
displayed.&nbsp;&nbsp;When I generate the Legend, the legend use the COLOR 
attribute<BR>&gt;&gt; specified, but does not use the transparency setting from 
the LAYER; thus<BR>&gt;&gt; causing the legend to look different from the 
maps.&nbsp;&nbsp;Is there away to fix<BR>&gt;&gt; this?&nbsp;&nbsp;Can the 
Legend generated from the LAYER also apply the TRANSPARENCY<BR>&gt;&gt; so that 
the legend looks like the map.<BR>&gt;&gt;<BR>&gt;&gt; Thanks for the 
tips/help.<BR>&gt;&gt;<BR>&gt;&gt; Steve Lehr<BR>&gt;&gt;<BR>&gt;&gt; 
_______________________________________________<BR>&gt;&gt; mapserver-users 
mailing list<BR>&gt;&gt; mapserver-users@lists.osgeo.org<BR>&gt;&gt; <A 
href="http://lists.osgeo.org/mailman/listinfo/mapserver">http://lists.osgeo.org/mailman/listinfo/mapserver</A>-users<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;<BR>&gt;<BR><BR>_______________________________________________<BR>mapserver-users 
mailing list<BR>mapserver-users@lists.osgeo.org<BR><A 
href="http://lists.osgeo.org/mailman/listinfo/mapserver">http://lists.osgeo.org/mailman/listinfo/mapserver</A>-users<BR></P></DIV></BODY></HTML>