Hi Assafa, thanks for your quick reply<div><br></div><div>I&#39;am working with mapserver 5.6.5 (installed form elgis RPM - <a href="http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS">http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS</a>)</div>
<div><br></div><div>Here the requested files:</div><div><br></div><div>I&#39;ve prefix the files with &quot;aggpng_working&quot; of identify the working example</div><div>1) aggpng_working_mapserv.log (log of mapserver for this case only)</div>
<div>2) the working scenario generate 2 mapfile: </div><div>aggpng_working_4cebdca9_13c_2._sld.map</div><div>aggpng_working_4cebdca9_13f_2._sld.map</div><div><br></div><div>I&#39;ve prefix the files with &quot;gdpng_notworking&quot; to identify the case who&#39;s not working<br>
3) gdpng_notworking_mapserv.log (log of mapserver for this case only)</div><div>4) gdpng_notworking_4cebdbff_7fc0_2._sld.map</div><div><br></div><div>Thanks again...</div><div><br></div><div>MartinO</div><div><br></div><div>
2010/11/23 Yewondwossen Assefa <span dir="ltr">&lt;<a href="mailto:yassefa@dmsolutions.ca">yassefa@dmsolutions.ca</a>&gt;</span><br><div class="gmail_quote"><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>
     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 &quot;...Map file after SLD was
    applied&quot;  (ex: something like this):<br>
    CONFIG  &quot;MS_ERRORFILE&quot; &quot;f:/msapps/gmap-ms40/htdocs/gmap.log&quot;<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,<div><div></div><div class="h5"><br>
    <br>
    <br>
    <br>
    On 23/11/2010 9:15 AM, Martin Ouellet wrote:
    </div></div><blockquote type="cite"><div><div></div><div class="h5">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 &quot;<b>GD</b>/PNG&quot;</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 &quot;<b>AGG</b>/PNG&quot;</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>  &lt;se:Stroke&gt;</div>
        <div>    &lt;sld:CssParameter
          name=&quot;stroke&quot;&gt;#000A99&lt;/sld:CssParameter&gt;</div>
        <div>    &lt;sld:CssParameter name=&quot;stroke-dasharray&quot;&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>    &lt;sld:CssParameter
          name=&quot;stroke-width&quot;&gt;1.0&lt;/sld:CssParameter&gt;</div>
        <div>  &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>  &lt;se:Stroke&gt;</div>
        <div>
              &lt;se:GraphicStroke&gt;</div>
        <div>      &lt;se:Graphic&gt;</div>
        <div>        &lt;ExternalGraphic&gt;</div>
        <div><span style="white-space:pre-wrap"> </span>  &lt;OnlineResource
          xlink:type=&quot;simple&quot; xlink:href=&quot;<a href="http://www.fsi.ulaval.ca/typo3conf/ext/Annuaire_facultaire/images/ico-ulaval-flag.gif" target="_blank">http://www.fsi.ulaval.ca/typo3conf/ext/Annuaire_facultaire/images/ico-ulaval-flag.gif</a>&quot;/&gt;</div>

        <div><span style="white-space:pre-wrap"> </span>  &lt;Format&gt;image/gif&lt;/Format&gt;</div>
        <div><span style="white-space:pre-wrap"> </span>&lt;/ExternalGraphic&gt;</div>
        <div>        &lt;Size&gt;10.0&lt;/Size&gt;</div>
        <div>    &lt;/se:Graphic&gt;</div>
        <div>  &lt;/se:GraphicStroke&gt;</div>
        <div>  &lt;/se:Stroke&gt;</div>
        <div>&lt;/se:LineSymbolizer&gt;</div>
      </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>