[mapserver-users] HTML Legend vs Transparency in Layer

Steve Lime Steve.Lime at dnr.state.mn.us
Thu Jun 18 10:26:01 EDT 2009


Problem is that your transparency is occurring over other layers (e.g. aerial photos) so it will never
match unless you're drawing over the same background (typically defined by IMAGECOLOR) in
both cases. I'm not sure how easy a fix it is. Feel free to create a ticket though.

Steve

>>> On 6/18/2009 at 8:54 AM, in message
<9D58C43BDFE3F846ADF3A0F8100940B3137CA5 at DBEXVS02.erau.edu>, Steven Lehr
<lehrs at erau.edu> wrote:
> I'd think so - should be a simple fix, and would improve the overall MapServer 
> product.  If somebody needs some funds to make this happen, let me know, I'd 
> gladly fund it getting fixed.
> 
> Thanks
> Steve
> 
> 
> -----Original Message-----
> From: Richard Greenwood [mailto:richard.greenwood at gmail.com] 
> Sent: Wed 6/17/2009 10:45 PM
> To: Lehr, Steven
> Cc: mapserver-users at lists.osgeo.org 
> Subject: Re: [mapserver-users] HTML Legend vs Transparency in Layer
>  
> I've run into exactly the same thing. I don't have any workaround. Is
> it a bug that warrants a report?
> 
> Rich
> 
> 
> On Wed, Jun 17, 2009 at 1:16 AM, Steven Lehr<lehrs at erau.edu> wrote:
>> Hello all...
>>
>> When categorizing layers like zoning, I frequently use levels of
>> transparency (obviously so people can see through them).   However, this
>> alters the physical color compared to the COLOR attribute of the item being
>> displayed.  When I generate the Legend, the legend use the COLOR attribute
>> specified, but does not use the transparency setting from the LAYER; thus
>> causing the legend to look different from the maps.  Is there away to fix
>> this?  Can the Legend generated from the LAYER also apply the TRANSPARENCY
>> so that the legend looks like the map.
>>
>> Thanks for the tips/help.
>>
>> Steve Lehr
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org 
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users 
>>
>>
> 
> 



More information about the mapserver-users mailing list