SLD issues

Jacolin Yves yjacolin at FREE.FR
Thu Oct 4 11:17:00 EDT 2007


Hi list,

I am trying to setup a SLD file for a layer. I create a SLD file:
<StyledLayerDescriptor version="1.0.0">
	<NamedLayer>
		<Name>geosignal</Name>
		<NamedStyle>
			<Name>xxx</Name>
		</NamedStyle>
		<UserStyle>
			<FeatureTypeStyle>
				<Rule>
					<RasterSymbolizer>
						<Opacity>0.6</Opacity>
					</RasterSymbolizer>
				</Rule>
			</FeatureTypeStyle>
		</UserStyle>
	</NamedLayer>
</StyledLayerDescriptor>

Which the aims is to change the opacity.

My url is:
http://www2.xxxx.com/cgi-bin/mapserv_wms?
LAYERS=orthophoto,geosignal,sncf&
TRANSPARENT=true&
FORMAT=jpeg&SERVICE=WMS&VERSION=1.1.1&
REQUEST=GetMap&EXCEPTIONS=application-vnd.ogc.se_inimage&
STYLES=,,&SLD=http://www2.xxx.com/lpdi/sld/geosignal.xml&
SRS=EPSG:27582&
BBOX=579452.7126630786,2420705.106583846,608239.3637849536,2441871.7618205184&
WIDTH=680&HEIGHT=500

My geosignal layer is not transparent. Do I need to do something to mapserver 
side (build, configuration)? I didn't change anything in my mapfile. Am I 
right?

Regards,

Y.
-- 
Yves Jacolin
---
http://softlibre.gloobe.org



More information about the mapserver-users mailing list