<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Hi,<br>
    <br>
    &nbsp;It is not yet possible to use directly sld styles in a map file. We
    have discussed that a couple of times but It is still in the wish
    list for future versions. If you are interested to see that sooner
    than later and might be possible for you to contribute toward it's
    development, let&nbsp; me know.<br>
    <br>
    best regards,<br>
    <br>
    <br>
    On 31/05/2011 12:18 PM, luis peinado wrote:
    <blockquote
      cite="mid:BANLkTikw7AcQZRCWTjEnYb2MGWWSO6wQPg@mail.gmail.com"
      type="cite">Hi list,&nbsp;
      <div>I'm using mapserver as a WMS server and I try to use an SLD
        file to render my map, instead of the usual CLASS and STYLE
        labels.</div>
      <div>I've succeded using an SLD parameter on my querystring but I
        can not get the same result removing the sld url from the
        querystring and writing it into&nbsp;wms_sld_url paramenter (into
        LAYER metadata tag).</div>
      <div><br>
      </div>
      <div>I have done that as told here:<a moz-do-not-send="true"
          href="http://mapserver.org/ogc/sld.html">http://mapserver.org/ogc/sld.html</a></div>
      <div>But it seems that&nbsp;wms_sld_url is only useful when using
        mapserver as a WMS client.</div>
      <div>I would like to render my maps using SLD files instead of the
        STYLE label to avoid programming on my client application.</div>
      <div><br>
      </div>
      <div>Have you got any idea?</div>
      <div><br>
      </div>
      <div>Best regards.<br clear="all">
        <br>
        <br>
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
----------------------------------------------------------------
Assefa Yewondwossen           
Software Analyst   

Email: <a class="moz-txt-link-abbreviated" href="mailto:yassefa@dmsolutions.ca">yassefa@dmsolutions.ca</a>    
<a class="moz-txt-link-freetext" href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</a>

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------

</pre>
  </body>
</html>