<!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>
     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  look for something like "...Map file after SLD was
    applied"  (ex: something like this):<br>
    CONFIG  "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.  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>  </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 <b><u>only when I
            specify the outputformat:</u>  </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><!--line with a dashed pattern-></div>
      <div>
        <div><se:LineSymbolizer></div>
        <div>  <se:Stroke></div>
        <div>    <sld:CssParameter
          name="stroke">#000A99</sld:CssParameter></div>
        <div>    <sld:CssParameter name="stroke-dasharray">6.0 2.0
          1.0 2.0 1.0 2.0 1.0 2.0 4.0</sld:CssParameter></div>
        <div>    <sld:CssParameter
          name="stroke-width">1.0</sld:CssParameter></div>
        <div>  </se:Stroke></div>
        <div></se:LineSymbolizer></div>
      </div>
      <div><br>
      </div>
      <div><!--line with a external graphic symbol-></div>
      <div>
        <div><se:LineSymbolizer></div>
        <div>  <se:Stroke></div>
        <div>
              <se:GraphicStroke></div>
        <div>      <se:Graphic></div>
        <div>        <ExternalGraphic></div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>  <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>"/></div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span>  <Format>image/gif</Format></div>
        <div><span class="Apple-tab-span" style="white-space: pre;"> </span></ExternalGraphic></div>
        <div>        <Size>10.0</Size></div>
        <div>    </se:Graphic></div>
        <div>  </se:GraphicStroke></div>
        <div>  </se:Stroke></div>
        <div></se:LineSymbolizer></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>