<div dir="ltr">Hi Richard <div><br></div><div>can you prepare a test case that have to be solved pusching somewhere? I mean</div><div>a</div><div>1) base layer</div><div>2) a workflow to have it in geoserver and qgis (a qgs project)<br></div><div>3) the expected rendering in QGIS and/or Geoserver (images)</div><div>4) specify versions for geoserver and qgis</div><div>5) any additional data (e.g sld or qml) with workflow to replicate your experience</div><div><br></div><div>in this way you can help to target punctual problems if a general solution can't be found.</div><div><br></div><div>As Richard said, please feel free to join to the "hackaton" in Bonn, remotely or live.</div><div><br></div><div>cheers</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">Luigi Pirelli<br><br>**************************************************************************************************<br>* Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com<br>* LinkedIn: <a href="https://www.linkedin.com/in/luigipirelli" target="_blank">https://www.linkedin.com/in/luigipirelli</a><br>* Stackexchange: <a href="http://gis.stackexchange.com/users/19667/luigi-pirelli" target="_blank">http://gis.stackexchange.com/users/19667/luigi-pirelli</a><br>* GitHub: <a href="https://github.com/luipir" target="_blank">https://github.com/luipir</a><br>* Mastering QGIS: <a href="https://www.packtpub.com/application-development/mastering-qgis" target="_blank">https://www.packtpub.com/application-development/mastering-qgis</a><br>**************************************************************************************************</div></div>
<br><div class="gmail_quote">On 19 July 2016 at 13:48, Richard McDonnell <span dir="ltr"><<a href="mailto:richard.mcdonnell@opw.ie" target="_blank">richard.mcdonnell@opw.ie</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    
    <p class="MsoNormal"><big>Hello all,</big></p>
    <p class="MsoNormal"><big>Ok, I have been looking at this for a
        while, and I think I have it nailed down pretty well.<br>
        There has been some issues with using QGIS SLD's in Geoserver. <br>
        The following should enable you to utilise the styling power of
        QGIS and make it compatible with Geoserver<br>
      </big></p>
    <p class="MsoNormal"><big>In the main, this process only works for
        geometry, and will not work for
        styling text it may require some additional tweaking here and
        there also.<u></u><u></u></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big>Firstly, style your layer the way you
        want.<u></u><u></u></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big>Next save your style as a SLD.<u></u><u></u></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big>Open the SLD in Notepad++ or other text
        editor<u></u><u></u></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big>Create a new blank text document and use
        the following as a template:<u></u><u></u></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><?xml version="1.0"
              encoding="ISO-8859-1"?><u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><StyledLayerDescriptor
              version="1.0.0" <u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><span> </span>xsi:schemaLocation=<a href="http://www.opengis.net/sldStyledLayerDescriptor.xsd" target="_blank">"http://www.opengis.net/sld
StyledLayerDescriptor.xsd"</a>
              <u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><span> </span>xmlns=<a href="http://www.opengis.net/sld" target="_blank">"http://www.opengis.net/sld"</a>
              <u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><span> </span>xmlns:ogc=<a href="http://www.opengis.net/ogc" target="_blank">"http://www.opengis.net/ogc"</a>
              <u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><span> </span>xmlns:xlink=<a href="http://www.w3.org/1999/xlink" target="_blank">"http://www.w3.org/1999/xlink"</a>
              <u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><span> </span>xmlns:xsi=<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">"http://www.w3.org/2001/XMLSchema-instance"</a>><u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><NamedLayer><u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><Name>YourLayerName</Name><u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><UserStyle><u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><Title>YourLayerTitle</Title><u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><FeatureTypeStyle><span>    </span><u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><span>      </span><!--
              Start
              --><u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><!-- COPY AND PASTE QGIS SLD CODE
              BETWEEN <FeatureTypeStyle>
              and </FeatureTypeStyle> IN HERE--><u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><span>      </span><!--
              End
              --> <span>             </span><span>   </span><u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><span>     
              </span></FeatureTypeStyle><u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><span>   
              </span></UserStyle><u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><span>  </span></NamedLayer><u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big><b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"></StyledLayerDescriptor><u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big>Copy the code between but excluding
        <FeatureTypeStyle>
        and </FeatureTypeStyle> and paste it into the new document
        overwriting <b><i><span style="font-size:8.0pt;line-height:107%;color:#0070c0"><!--
COPY
              AND PASTE QGIS SLD CODE BETWEEN <FeatureTypeStyle>
              and </FeatureTypeStyle>
              IN HERE--> <u></u><u></u></span></i></b></big></p>
    <big>
    </big>
    <p class="MsoNormal"><big>Find and replace the following:<u></u><u></u></big></p>
    <big>
    </big>
    <p><big><span style="font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman"">       
            </span></span></span><b><i>se:</i></b> with nothing
        (effectively deleting
        it) so for example where you have <se:Rule> it becomes
        <Rule> <u></u><u></u></big></p>
    <big>
    </big>
    <p><big><span style="font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman"">       
            </span></span></span><b><i><ogc:Filter
            xmlns:ogc=<a href="http://www.opengis.net/ogc" target="_blank">"http://www.opengis.net/ogc"</a>>
          </i></b>with <b><i><ogc:Filter><u></u><u></u></i></b></big></p>
    <big>
    </big>
    <p><big><span style="font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman"">       
            </span></span></span>Delete all instances of <b><i><Description>…..</Description></i></b>
        inclusive of everything in between (usually a Title)<u></u><u></u></big></p>
    <big>
    </big>
    <p><big><span style="font-family:Symbol"><span>·<span style="font:7.0pt "Times New Roman"">       
            </span></span></span><b>SvgParameter
        </b>with </big><b><big>CssParameter</big><br>
        <br>
      </b></p>
    One other thing where you utilise Map units (meters, feet or pixel)
    in your styling you will have to use the following examples shown in
    the link below<br>
    <br>
<a href="http://docs.geoserver.org/latest/en/user/styling/sld-extensions/uom.html" target="_blank">http://docs.geoserver.org/latest/en/user/styling/sld-extensions/uom.html</a><br>
    <br>
    I would ask the question, would it be possible to create a simple
    Geoserver Style using what I have found above?? adding an option to
    save the QGIS style using the above rules?<br>
    <br>
    If anyone has any questions or needs any clarification let me know,
    If I can help I will.<br>
    <br>
    Regards,<br>
    <br>
    Richard McDonnell<br>
    <br>
    <br>
    <br>
    
    
    
    
    
    
    
    
    
  
<div style="font-family:Arial;font-size:8pt">
OPW - Ag féachaint don am atá le teacht - Ag caomhnú ón am atá thart<br>
OPW - Looking to the future - Caring for the past<br>
<a href="http://www.opw.ie/" target="_blank"><img height="76" width="494"></a><br>
Email Disclaimer: <a href="http://www.opw.ie/en/disclaimer/" target="_blank">http://www.opw.ie/en/disclaimer/</a>
</div>

</div>

<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote></div><br></div>