<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&#44;</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&#44; like an aerial photo&#63;</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Comic Sans MS" size="3">I&#39;ve wondered about this legend creation from time to time as well&#44; I just skip the whole process where a background &#40;raster&#41; is used in my layer configs currently&#44; 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&#44; and this may seem like a way left thinking thought&#44; what about using a regular layer definition for Legend output&#44; either by adding in some &#40;or all&#41; of the legend capabilities to a regular layer definition as an option. &nbsp;I haven&#39;t thought this through completely&#44; 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&#63;</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>
      &gt;&gt;&gt; &quot;Steve Lime&quot; &lt;Steve.Lime@dnr.state.mn.us&gt; 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 &#40;e.g. aerial photos&#41; so it will never<br>match unless you&#39;re drawing over the same background &#40;typically defined by IMAGECOLOR&#41; in<br>both cases. I&#39;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&#44; in message<br>&lt;9D58C43BDFE3F846ADF3A0F8100940B3137CA5@DBEXVS02.erau.edu&gt;&#44; Steven Lehr<br>&lt;lehrs@erau.edu&gt; wrote:<br>&gt; I&#39;d think so - should be a simple fix&#44; and would improve the overall MapServer<br>&gt; product.&#160;&nbsp;If somebody needs some funds to make this happen&#44; let me know&#44; I&#39;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 &#91;mailto:richard.greenwood@gmail.com&#93;<br>&gt; Sent: Wed 6/17/2009 10:45 PM<br>&gt; To: Lehr&#44; Steven<br>&gt; Cc: mapserver-users@lists.osgeo.org<br>&gt; Subject: Re: &#91;mapserver-users&#93; HTML Legend vs Transparency in Layer<br>&gt;&#160;<br>&gt; I&#39;ve run into exactly the same thing. I don&#39;t have any workaround. Is<br>&gt; it a bug that warrants a report&#63;<br>&gt;<br>&gt; Rich<br>&gt;<br>&gt;<br>&gt; On Wed&#44; Jun 17&#44; 2009 at 1:16 AM&#44; Steven Lehr&lt;lehrs@erau.edu&gt; wrote:<br>&gt;&gt; Hello all...<br>&gt;&gt;<br>&gt;&gt; When categorizing layers like zoning&#44; I frequently use levels of<br>&gt;&gt; transparency &#40;obviously so people can see through them&#41;.&#160;&#160;&nbsp;However&#44; this<br>&gt;&gt; alters the physical color compared to the COLOR attribute of the item being<br>&gt;&gt; displayed.&#160;&nbsp;When I generate the Legend&#44; the legend use the COLOR attribute<br>&gt;&gt; specified&#44; but does not use the transparency setting from the LAYER&#59; thus<br>&gt;&gt; causing the legend to look different from the maps.&#160;&nbsp;Is there away to fix<br>&gt;&gt; this&#63;&#160;&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>