<!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 Martin,<br>
    <br>
    &nbsp;Can you try to check the map file after the sld has been applied:
    you can do that by setting your map file in debug and checking the
    log file&nbsp; look for something like "...Map file after SLD was
    applied"&nbsp; (ex: something like this):<br>
    CONFIG&nbsp; "MS_ERRORFILE" "f:/msapps/gmap-ms40/htdocs/gmap.log"<br>
    DEBUG 5<br>
    <br>
    We can then check why the same style setting is not drawing the same
    way with the 2 drivers.&nbsp; Please also indicate which version of
    MapServer you are using.<br>
    <br>
    regards,<br>
    <br>
    <br>
    <br>
    On 23/11/2010 9:15 AM, Martin Ouellet wrote:
    <blockquote
      cite="mid:AANLkTi=LPNNBLaNdWzkmHm_iJR2fQJL6k22matuywzus@mail.gmail.com"
      type="cite">Hi all,
      <div><br>
      </div>
      <div>I have 2 two differents settings for symbolize my lines
        (refer to SLD settings below):</div>
      <div><br>
      </div>
      <div>1) a dashed line which is working <b><u>only when I specify
            the outputformat:</u>&nbsp;&nbsp;</b>DRIVER "<b>GD</b>/PNG"</div>
      <div>**Note that with the driver GD/PNG, the external graphic
        below is not working but the symbol (ico-ulaval-flag.gif) is
        copied locally in the /ms_tmp directory.</div>
      <div>It seem to be ignored by mapserver (but raising no error)...</div>
      <div><br>
      </div>
      <div>2) a external graphic which is working&nbsp;<b><u>only when I
            specify the outputformat:</u>&nbsp;&nbsp;</b>DRIVER "<b>AGG</b>/PNG"</div>
      <div><br>
      </div>
      <div>Q: Is there a way/config to support both at the same time?</div>
      <div><br>
      </div>
      <div>any advice?</div>
      <div><br>
      </div>
      <div>Thanks you in advance!</div>
      <div><br>
      </div>
      <div>MartinOuellet</div>
      <div><br>
      </div>
      <div>SLD settings:</div>
      <div>______________________________________________________________________________________</div>
      <div><br>
      </div>
      <div>&lt;!--line with a dashed pattern-&gt;</div>
      <div>
        <div>&lt;se:LineSymbolizer&gt;</div>
        <div>&nbsp;&nbsp;&lt;se:Stroke&gt;</div>
        <div>&nbsp;&nbsp; &nbsp;&lt;sld:CssParameter
          name="stroke"&gt;#000A99&lt;/sld:CssParameter&gt;</div>
        <div>&nbsp;&nbsp; &nbsp;&lt;sld:CssParameter name="stroke-dasharray"&gt;6.0 2.0
          1.0 2.0 1.0 2.0 1.0 2.0 4.0&lt;/sld:CssParameter&gt;</div>
        <div>&nbsp;&nbsp; &nbsp;&lt;sld:CssParameter
          name="stroke-width"&gt;1.0&lt;/sld:CssParameter&gt;</div>
        <div>&nbsp;&nbsp;&lt;/se:Stroke&gt;</div>
        <div>&lt;/se:LineSymbolizer&gt;</div>
      </div>
      <div><br>
      </div>
      <div>&lt;!--line with a external graphic symbol-&gt;</div>
      <div>
        <div>&lt;se:LineSymbolizer&gt;</div>
        <div>&nbsp;&nbsp;&lt;se:Stroke&gt;</div>
        <div>
          &nbsp;&nbsp; &nbsp;&lt;se:GraphicStroke&gt;</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp;&lt;se:Graphic&gt;</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;ExternalGraphic&gt;</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>&nbsp;&nbsp;&lt;OnlineResource
          xlink:type="simple" xlink:href="<a moz-do-not-send="true"
href="http://www.fsi.ulaval.ca/typo3conf/ext/Annuaire_facultaire/images/ico-ulaval-flag.gif">http://www.fsi.ulaval.ca/typo3conf/ext/Annuaire_facultaire/images/ico-ulaval-flag.gif</a>"/&gt;</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>&nbsp;&nbsp;&lt;Format&gt;image/gif&lt;/Format&gt;</div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>&lt;/ExternalGraphic&gt;</div>
        <div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;Size&gt;10.0&lt;/Size&gt;</div>
        <div>&nbsp;&nbsp; &nbsp;&lt;/se:Graphic&gt;</div>
        <div>&nbsp;&nbsp;&lt;/se:GraphicStroke&gt;</div>
        <div>&nbsp;&nbsp;&lt;/se:Stroke&gt;</div>
        <div>&lt;/se:LineSymbolizer&gt;</div>
      </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>