[Qgis-user] SLD export problems using Qgis master

Yewondwossen Assefa assefay at gmail.com
Wed Aug 28 21:24:03 PDT 2013


Hi all,

  I was playing with the SLD export using the latest nightly builds and 
come across a couple of issues.
My layer is a polygon layer styled using 2  fills (simple solid fill and 
a simple fill with the Diagonal X fill style). The layer also display 
label based on one of the attribute.

Exporting the style to SLD I run into this items  (full sld export is 
attached, as well as the equivalent qgis style):

  1) The GraphicFill section seems to be wrong:
         ...
         <se:GraphicFill>
                 <se:Graphic/>
                 <se:Mark>
                   <se:WellKnownName>x</se:WellKnownName>
                   <se:Stroke>
                     <se:SvgParameter 
name="stroke">#0000ff</se:SvgParameter>
                   </se:Stroke>
                 </se:Mark>
              </se:GraphicFill>
       ...

  Looking at the SLD specs, I think the Mark element should be a child 
of the Graphic element. Is this a correct assumption?


2) No TextSymbolizer exported

   The SLD does not contain a TextSymbolizer. I believe this is part of 
the feature request lists ( http://hub.qgis.org/issues/6414, but wanted 
to make sure that the latest version of QGIS does not yet support 
TextSymbolizers.


Thanks

regards,

Y. Assefa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130829/12fc76d3/attachment.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130829/12fc76d3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sld_export_qgis.sld
Type: text/xml
Size: 1807 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130829/12fc76d3/attachment.xml>


More information about the Qgis-user mailing list