<div dir="ltr">Hi guys,<div>those SLD issues have been solved with latest GeoNode / GeoServer versions. Also with GeoServer 2.12.x SLDs are compatible with QGIs exported ones also.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Regards,</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Alessio Fabiani</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">GeoServer Professional Services from the experts! Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Ing. Alessio Fabiani</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">@alfa7691</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Founder/Technical Lead</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Via di Montramito 3/A</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">55054  Massarosa (LU)</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Italy</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">phone: +39 0584 962313</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">fax:     +39 0584 1660272</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">mob:   +39 331 6233686</span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">-------------------------------------------------------</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap"> </span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;vertical-align:baseline;white-space:pre-wrap">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</span></p></span></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Sat, Nov 25, 2017 at 3:13 PM, Ivan Marchesini <span dir="ltr"><<a href="mailto:ivan.marchesini@gmail.com" target="_blank">ivan.marchesini@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Thank you Ariel</p>
    <p>It is useful to know that some others have found the same problem
      and thank you for the workaround</p>
    <p>In case I do not find another solution I will try to write a
      python code to do this..</p>
    <p>thank you</p><span class="HOEnZb"><font color="#888888">
    <p>Ivan<br>
    </p></font></span><div><div class="h5">
    <br>
    <div class="m_3287297133064301967moz-cite-prefix">On 24/11/2017 19:31, Ariel Neri wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi, I had to adapt many complicated, hundred of
        clases simbology sld made in qgis to be used in Geoserver some
        time ago.  I tried some programs with no luck, so finally I
        changed a few things in the QGis sld file to make it work in
        Geoserver.
        <div><br>
        </div>
        <div>Basically it´s just 3 steps, using the "search and replace"
          tool:</div>
        <div><br>
        </div>
        <div>1-  i replaced the first line with one from an existing
          geoserver sld:</div>
        <div><?xml version="1.0"
          encoding="UTF-8"?><sld:<wbr>StyledLayerDescriptor xmlns="<a href="http://www.opengis.net/sld" target="_blank">http://www.opengis.net/<wbr>sld</a>"
          xmlns:sld="<a href="http://www.opengis.net/sld" target="_blank">http://www.opengis.<wbr>net/sld</a>"
          xmlns:ogc="<a href="http://www.opengis.net/ogc" target="_blank">http://www.opengis.<wbr>net/ogc</a>"
          xmlns:gml="<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.<wbr>net/gml</a>"
          version="1.0.0"><br>
        </div>
        <div><br>
        </div>
        <div>2- Also copy the first lines raplacing the "****" with your
          own</div>
        <div>
          <p class="m_3287297133064301967gmail-MsoNoSpacing"><span lang="EN-US"><sld:NamedLayer><span></span></span></p>
          <p class="m_3287297133064301967gmail-MsoNoSpacing"><span lang="EN-US">             
                            <sld:Name>******</span><span class="m_3287297133064301967gmail-MsoCommentReference"><span style="font-size:8pt"> </span></span><span lang="EN-US"></sld:Name><span></span></span></p>
          <p class="m_3287297133064301967gmail-MsoNoSpacing"><span lang="EN-US">             
                             <sld:UserStyle><span></span></span></p>
          <p class="m_3287297133064301967gmail-MsoNoSpacing"><span lang="EN-US">             
                                           
               <sld:Name>*****</sld:Name><span></span></span></p>
          <p class="m_3287297133064301967gmail-MsoNoSpacing">                               
                         <sld:Title>******</sld:Title><span></span></p>
          <p class="m_3287297133064301967gmail-MsoNoSpacing">                               
                         <sld:Abstract>******</sld:<wbr>Abstract><span></span></p>
          <p class="m_3287297133064301967gmail-MsoNoSpacing"><span lang="EN-US">             
                                           
               <sld:FeatureTypeStyle><span></span></span></p>
          <p class="m_3287297133064301967gmail-MsoNoSpacing"><span lang="EN-US">             
                                                           
              <sld:Name>name</sld:Name><span></span></span></p>
          <div>
            and do the same with the closings
            <div>
              <div id="m_3287297133064301967gmail-_com_2" class="m_3287297133064301967gmail-msocomtxt">
              </div>
            </div>
          </div>
        </div>
        <div>
          <p class="MsoNormal"><span> </span></p>
          <p class="m_3287297133064301967gmail-MsoNoSpacing">                              <wbr>                
            <span lang="EN-US"></sld:FeatureTypeStyle><span></span></span></p>
          <p class="m_3287297133064301967gmail-MsoNoSpacing"><span lang="EN-US">                              
              </sld:UserStyle><span></span></span></p>
          <p class="m_3287297133064301967gmail-MsoNoSpacing"><span lang="EN-US">               
              </sld:NamedLayer><span></span></span></p>
          <p class="m_3287297133064301967gmail-MsoNoSpacing"></sld:StyledLayerDescriptor><span></span></p>
        </div>
        <div><br>
        </div>
        <div>3- Use the search and replace tool: replace <span>   </span><span>“<se:”</span><span>  and</span><span> 
             </span><span>“</se:” with</span><span> </span><span>“<sld:
            (…)”</span><span>  and</span><span>  </span><span>“</sld:
            (…)” respectivly. And replace </span> “SvgParameter” with
          “CssParameter”</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Sorry if i don´t use correct vocabulary, i´m not so much
          into coding, neather into english language.</div>
        <div>A co-worker made a script to do the steps before
          automatically with RStudio and made it even simpler for me.</div>
        <div><br>
        </div>
        <div>This was a good enough work-around for me and solved my
          problem. Probably now there´s a better way (i hope so). I
          share anyway in case it helps you.</div>
        <p class="m_3287297133064301967gmail-MsoNoSpacing" style="margin-left:36pt"><span></span></p>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2017-11-24 14:43 GMT-03:00 Ivan
          Marchesini <span dir="ltr"><<a href="mailto:ivan.marchesini@gmail.com" target="_blank">ivan.marchesini@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear
            geonode users and developer<br>
            <br>
            I apologize if this is a well known problem but browsing on
            Internet (including the mailing list) I wasn't able to find
            a good solution<br>
            <br>
            I have recently installed geonode2.6 (ubuntu, ppa) for a
            project where multiple and not skilled users will be
            involved.<br>
            <br>
            I have tried to do a couple of things:<br>
            <br>
            1) I uploaded a shapefile (separate files) together with a
            sld file exported from qgis. It happened to me that (i) the
            corresponding sld file created in geoserver is very
            different from the  original one (tipicaly the colors are
            lost)  and (ii) since the <Title> tag is not present
            geonode is only able to show me a style called "none"<br>
            <br>
            2) I uploaded a shapefile (separate files) together with a
            sld file exported from udig. It happened to me that (ii)
            since the <Title> tag is not present geonode is only
            able to show me a style called "none"<br>
            <br>
            is there a way for creating a well formatted sld file for
            geoserver/geonode using some desktop GIS or some other tools
            with a GUI?<br>
            It is very important to me since I can't ask the other
            colleagues to edit directly the xml files..  they will be
            too much scared by that!!<br>
            <br>
            thank you for your answers<br>
            <br>
            Ivan<br>
            <br>
            ______________________________<wbr>_________________<br>
            geonode-users mailing list<br>
            <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
            <a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

<br>______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br></div>