<!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. I realize when you stack them it will alter based on
the transparencey. But without having to deal with all the
exceptions. 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 NEVER looks that
way on the map. I'm sure there will be more wants later :-) - though as
Steve Lime points out, its good to have a base. 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> </DIV>
<DIV dir=ltr align=left><SPAN class=652290421-18062009><FONT face=Arial
color=#0000ff size=2>Thanks</FONT></SPAN></DIV>
<DIV> </DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Steven Lehr<BR><BR> </FONT> </P>
<DIV> </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.
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. 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>>>> "Steve Lime"
<Steve.Lime@dnr.state.mn.us> 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>>>> On 6/18/2009 at 8:54 AM, in
message<BR><9D58C43BDFE3F846ADF3A0F8100940B3137CA5@DBEXVS02.erau.edu>,
Steven Lehr<BR><lehrs@erau.edu> wrote:<BR>> I'd think so - should be a
simple fix, and would improve the overall MapServer<BR>>
product. If somebody needs some funds to make this happen, let me
know, I'd<BR>> gladly fund it getting fixed.<BR>><BR>> Thanks<BR>>
Steve<BR>><BR>><BR>> -----Original Message-----<BR>> From: Richard
Greenwood [mailto:richard.greenwood@gmail.com]<BR>> Sent: Wed 6/17/2009 10:45
PM<BR>> To: Lehr, Steven<BR>> Cc: mapserver-users@lists.osgeo.org<BR>>
Subject: Re: [mapserver-users] HTML Legend vs Transparency in
Layer<BR>> <BR>> I've run into exactly the same thing. I don't have
any workaround. Is<BR>> it a bug that warrants a report?<BR>><BR>>
Rich<BR>><BR>><BR>> On Wed, Jun 17, 2009 at 1:16 AM, Steven
Lehr<lehrs@erau.edu> wrote:<BR>>> Hello
all...<BR>>><BR>>> When categorizing layers like zoning, I
frequently use levels of<BR>>> transparency (obviously so people can see
through them). However, this<BR>>> alters the physical
color compared to the COLOR attribute of the item being<BR>>>
displayed. When I generate the Legend, the legend use the COLOR
attribute<BR>>> specified, but does not use the transparency setting from
the LAYER; thus<BR>>> causing the legend to look different from the
maps. Is there away to fix<BR>>> this? Can the
Legend generated from the LAYER also apply the TRANSPARENCY<BR>>> so that
the legend looks like the map.<BR>>><BR>>> Thanks for the
tips/help.<BR>>><BR>>> Steve Lehr<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>>><BR>>><BR>><BR>><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>