<html>
<head>
<style type="text/css">
<!--
body { font-variant: normal; line-height: normal; margin-left: 4px; margin-top: 4px; margin-right: 4px; margin-bottom: 1px }
p { margin-top: 0; margin-bottom: 0 }
-->
</style>
</head>
<body style="margin-left: 4px; margin-top: 4px; margin-right: 4px; margin-bottom: 1px">
<p style="margin-top: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">All,</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<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: 0; margin-bottom: 0">
<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: 0; margin-bottom: 0">
<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: 0; margin-bottom: 0">
<font face="Comic Sans MS" size="3">bobb</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<br>
<br>
>>> "Steve Lime" <Steve.Lime@dnr.state.mn.us> wrote:<br> </p>
<div style="margin-left: 15px; background-color: #f3f3f3; margin-top: 0; border-left: solid 1px #050505; padding-left: 7px; margin-right: 0; margin-bottom: 0">
<p style="margin-top: 0; margin-bottom: 0">
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>