[mapserver-users] SLD and OUTPUTFORMAT compatibility?

Martin Ouellet geomartino at gmail.com
Tue Nov 23 09:15:12 EST 2010


Hi all,

I have 2 two differents settings for symbolize my lines (refer to SLD
settings below):

1) a dashed line which is working *only when I specify the
outputformat:  *DRIVER
"*GD*/PNG"
**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.
It seem to be ignored by mapserver (but raising no error)...

2) a external graphic which is working *only when I specify the
outputformat:  *DRIVER "*AGG*/PNG"

Q: Is there a way/config to support both at the same time?

any advice?

Thanks you in advance!

MartinOuellet

SLD settings:
______________________________________________________________________________________

<!--line with a dashed pattern->
<se:LineSymbolizer>
  <se:Stroke>
    <sld:CssParameter name="stroke">#000A99</sld:CssParameter>
    <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>
    <sld:CssParameter name="stroke-width">1.0</sld:CssParameter>
  </se:Stroke>
</se:LineSymbolizer>

<!--line with a external graphic symbol->
<se:LineSymbolizer>
  <se:Stroke>
    <se:GraphicStroke>
      <se:Graphic>
        <ExternalGraphic>
  <OnlineResource xlink:type="simple" xlink:href="
http://www.fsi.ulaval.ca/typo3conf/ext/Annuaire_facultaire/images/ico-ulaval-flag.gif
"/>
  <Format>image/gif</Format>
</ExternalGraphic>
        <Size>10.0</Size>
    </se:Graphic>
  </se:GraphicStroke>
  </se:Stroke>
</se:LineSymbolizer>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101123/ebbcb1b2/attachment.html


More information about the mapserver-users mailing list