Your URL should have &amp;SLD= before the sld URL.<br><br>Best regards,<br>Bart<br><br><div class="gmail_quote">On Feb 6, 2008 11:36 AM, Gregorio Muņoz &lt;<a href="mailto:gregoavila@gmail.com">gregoavila@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello!<br><br>I am working with SLD but can not make it work.<br><br>This my url:<br><a href="http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/urbanismo/maps/mymap.map&amp;REQUEST=GetMap&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;LAYERS=Recintos&amp;SRS=EPSG:23030&amp;BBOX=235455.57724245856,4140286.563575713,240403.0990635437,4144581.824219214&amp;WIDTH=500&amp;HEIGHT=400&amp;FORMAT=image/png&amp;STYLES=default&amp;TRANSPARENT=TRUE&amp;http://127.0.0.1/ms4w/apps/urbanismo/sld/recintos.sld" target="_blank">http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/urbanismo/maps/mymap.map&amp;REQUEST=GetMap&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;LAYERS=Recintos&amp;SRS=EPSG:23030&amp;BBOX=235455.57724245856,4140286.563575713,240403.0990635437,4144581.824219214&amp;WIDTH=500&amp;HEIGHT=400&amp;FORMAT=image/png&amp;STYLES=default&amp;TRANSPARENT=TRUE&amp;http://127.0.0.1/ms4w/apps/urbanismo/sld/recintos.sld</a><br>

<br>And this is my SLD document &quot;recintos.sld&quot;:<br><br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; standalone=&quot;no&quot;?&gt;<br>&lt;!-- $Id: recintos.sld,v 1.2 2006/10/05 19:20:48 tkralidi Exp $ --&gt;<br>

&lt;StyledLayerDescriptor&nbsp; version=&quot;1.0.0&quot;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;xmlns=&quot;<a href="http://www.opengis.net/sld" target="_blank">http://www.opengis.net/sld</a>&quot;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;xmlns:ogc=&quot;<a href="http://www.opengis.net/ogc" target="_blank">http://www.opengis.net/ogc</a>&quot;<br>

&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;xmlns:xlink=&quot;<a href="http://www.w3.org/1999/xlink" target="_blank">http://www.w3.org/1999/xlink</a>&quot;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>&quot;<br>

&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;xsi:schemaLocation=&quot;<a href="http://www.opengis.net/sld" target="_blank">http://www.opengis.net/sld</a> <a href="http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd" target="_blank">http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd</a>&quot;&gt;<br>

&nbsp;&nbsp; &nbsp;&lt;Name&gt;urbanismo&lt;/Name&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&lt;Title&gt;SLD for MapServer OGC Web Services Workshop&lt;/Title&gt;<br>&nbsp;&nbsp; &nbsp;&lt;Abstract&gt;This is an SLD to show how one can make a custom style without having to change the data style at the server-side&lt;/Abstract&gt;<br>

&nbsp;&nbsp; &nbsp;&lt;NamedLayer&gt;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;Name&gt;Recintos&lt;/Name&gt;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;UserStyle&gt;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;Name&gt;sld_01&lt;/Name&gt;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;Title&gt;sld_01&lt;/Title&gt;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;IsDefault&gt;1&lt;/IsDefault&gt;<br>

&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;FeatureTypeStyle&gt;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;Rule&gt;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;LineSymbolizer&gt;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;Stroke&gt;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;CssParameter name=&quot;stroke&quot;&gt;#FF00FF&lt;/CssParameter&gt;<br>

&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;CssParameter name=&quot;stroke-width&quot;&gt;3&lt;/CssParameter&gt;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;/Stroke&gt;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;/LineSymbolizer&gt;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;/Rule&gt;<br>

&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;/FeatureTypeStyle&gt;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&lt;/UserStyle&gt;<br>&nbsp;&nbsp; &nbsp;&lt;/NamedLayer&gt;<br>&lt;/StyledLayerDescriptor&gt;<br><br>In my map file &quot;mymap.map&quot; there is a layer called &quot;Recintos&quot; (TYPE LINE).<br>

<br>&nbsp;&nbsp; &nbsp;<br>Does anyone know why it does not work?<br><br>Any idea please?<br><br>Thanks!
</blockquote></div><br>