<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 16px; "><span title="">You're absolutely right Assefa, adding the parameter WMS_SLD_SYMBOL_URL solve the problem. </span><span title="" style="color: rgb(0, 0, 0); ">You're also right in saying that the information is somehow hidden BUT it is there so my mistake, I'll try to read more carefully next time</span></span></div>
<div><br></div><div>MartinO</div><div><br><div class="gmail_quote">2010/12/1 Yewondwossen Assefa <span dir="ltr"><<a href="mailto:yassefa@dmsolutions.ca">yassefa@dmsolutions.ca</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


  
    
  
  <div text="#000000" bgcolor="#ffffff">
    Hi Martin,<br>
     <br>
     I think you need to define WMS_SLD_SYMBOL_URL  to be able to
    generate an External graphic. This is documented (almost hidden :)
    in <a href="http://mapserver.org/ogc/sld.html#client-side-support" target="_blank">http://mapserver.org/ogc/sld.html#client-side-support</a><br>
    <br>
    best regards,<div><div></div><div class="h5"><br>
    <br>
    On 30/11/2010 5:01 PM, Martin Ouellet wrote:
    </div></div><blockquote type="cite"><div><div></div><div class="h5">Hi,
      <div><br>
      </div>
      <div>When I used a external graphic element in a SLD like this:</div>
      <div>
        <div>
          <div><Name>test</Name></div>
          <div><ogc:Filter><ogc:PropertyIsEqualTo><ogc:PropertyName>indicatif</ogc:PropertyName><ogc:Literal>1030050000</ogc:Literal></ogc:PropertyIsEqualTo></ogc:Filter></div>

          <div><MaxScaleDenominator>40000.000000</MaxScaleDenominator></div>
        </div>
        <div><Graphic></div>
        <div><ExternalGraphic></div>
        <div><OnlineResource  xmlns:xlink="<a href="http://www.w3.org/1999/xlink" target="_blank">http://www.w3.org/1999/xlink</a>"
          xlink:type="simple" xlink:href="<a href="http://www2.dmsolutions.ca/msapps/world_testdata/map/etc/target-1.gif" target="_blank">http://www2.dmsolutions.ca/msapps/world_testdata/map/etc/target-1.gif</a>"/></div>

        <div><Format>GIF</Format></div>
        <div></ExternalGraphic></div>
      </div>
      <div><br>
      </div>
      <div>Then I used the temporary mapfile generated by the call to
        define the same symbology but in my mapfile.</div>
      <div>
        <div>
          SYMBOL</div>
        <div>    NAME "<a href="http://www2.dmsolutions.ca/msapps/world_testdata/map/etc/target-1.gif" target="_blank">http://www2.dmsolutions.ca/msapps/world_testdata/map/etc/target-1.gif</a>"</div>
        <div>    TYPE PIXMAP</div>
        <div>    IMAGE "/srv/mapfile/ms_tmp/4cf56a54_49f8_1.gif"</div>
        <div>    GAP -11</div>
        <div>    TRANSPARENT 0</div>
        <div>  END</div>
      </div>
      <div><br>
      </div>
      <div>
        <div>CLASS</div>
        <div>      NAME "test"</div>
        <div>
                EXPRESSION ([indicatif] = 1030050000)</div>
        <div>      MAXSCALEDENOM 40000</div>
        <div>      STYLE</div>
        <div>        ANGLE 360</div>
        <div>        COLOR 0 0 0</div>
        <div>        SIZE 5.5</div>
        <div>        SYMBOL "<a href="http://www2.dmsolutions.ca/msapps/world_testdata/map/etc/target-1.gif" target="_blank">http://www2.dmsolutions.ca/msapps/world_testdata/map/etc/target-1.gif</a>"</div>
        <div>        WIDTH 1</div>
        <div>      END</div>
        <div>    END</div>
      </div>
      <div><br>
      </div>
      <div>Question: Finally, I would like to expose this symbology
        through the GetStyles() method but it seem to be completely
        ignored?</div>
      <div><Name>test</Name></div>
      <div>
        <div><ogc:Filter><ogc:PropertyIsEqualTo><ogc:PropertyName>indicatif</ogc:PropertyName><ogc:Literal>1030050000</ogc:Literal></ogc:PropertyIsEqualTo></ogc:Filter></div>

        <div><MaxScaleDenominator>40000.000000</MaxScaleDenominator></div>
        <div><PointSymbolizer></div>
        <div></PointSymbolizer></div>
      </div>
      <div><br>
      </div>
      <div>Is it normal? Thank you in advance!</div>
      <div>MartinO</div>
      </div></div><pre><fieldset></fieldset>
_______________________________________________
mapserver-users mailing list
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre cols="72">-- 
----------------------------------------------------------------
Assefa Yewondwossen           
Software Analyst   

Email: <a href="mailto:yassefa@dmsolutions.ca" target="_blank">yassefa@dmsolutions.ca</a>    
<a href="http://www.dmsolutions.ca/" target="_blank">http://www.dmsolutions.ca/</a>

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

</pre>
  </div>

</blockquote></div><br></div>