SLD problem

Jacolin Yves yjacolin at FREE.FR
Fri Oct 5 00:25:05 PDT 2007


Hi list,

(don't see my message appear in the mailing list, so I send it again).

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