[Mapserver-users] Opacity parameter in raster sld

Bart van den Eijnden bartvde at xs4all.nl
Tue Jun 15 08:23:44 EDT 2004


Hi Assefa,

thanks for the quick action taken. Another question next to Tom's question:

Will this work if I use this on an existing raster layer without a 
ColorMap in the SLD? I just want to change the opacity, not classify the 
raster.

Best regards,
Bart

On Mon, 14 Jun 2004 14:07:31 -0400, Kralidis,Tom [Burlington] 
<Tom.Kralidis at ec.gc.ca> wrote:

>
>
>> -----Original Message-----
>> From: mapserver-users-admin at lists.gis.umn.edu
>> [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of
>> Yewondwossen Assefa
>> Sent: Monday, June 14, 2004 1:36 PM
>> To: Bart van den Eijnden
>> Cc: Mapserver-users
>> Subject: [Mapserver-users] Opacity parameter in raster sld
>>
>>
>> Hi There,
>>
>>   I just added the support for the opacity parameter in sld
>> raster that
>> we discussed last week.   Here is an example sld :
>>
>> <RasterSymbolizer>
>> <Opacity>1.0</Opacity>
>> <ColorMap>
>> <ColorMapEntry color="#00ff00" quantity="22"/>
>> ...
>>
>
> So this means that if someone provides their own SLD with the Opacity
> element, MapServer will work with this accordingly?
>
> Will this work the other way around, i.e. responding to a GetStyles?
>
> Thanks
>
> ..Tom
>
>
>> Values in the sld go from 0.0 (for transparent) to 1.0 (for opaque).
>>
>> Later,
>>
>> --
>> ----------------------------------------------------------------
>> Assefa Yewondwossen
>> Software Analyst
>>
>> Email: assefa at dmsolutions.ca
>> http://www.dmsolutions.ca/
>>
>> Phone: (613) 565-5056 (ext 14)
>> Fax:   (613) 565-0925
>> ----------------------------------------------------------------
>>
>>
>>
>> _______________________________________________
>> Mapserver-users mailing list
>> Mapserver-users at lists.gis.umn.edu
>> http://lists.gis.umn.edu/mailman/listinfo/maps> erver-users
>>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>



-- 
  



More information about the mapserver-users mailing list