<div dir="ltr"><div><div><div><div><div><div>Hi Robert,<br><br></div>This looks very promising. Well done!<br><br></div>I can see the need for this type of functionality within a range of open spatial apps, from Desktop GIS through to a range of server apps including MapServer and GeoServer. <br><br></div>Therefore your code may better sit within one of the existing libraries, rather than going through the effort of establishing and maintaining a project just for this product.<br><br></div>I suspect that this may be what you had in mind when you were looking at GeoTools.<br><br></div><br>@Jody,<br><br></div>Where does the GeoTools community sit in relation to cross language support so that GeoTools can be used by non-Java applications like QGIS and MapServer? Have Java bridging approaches proven very effective?  <br><div><div><div><div><div><div><div><div><div class="gmail_extra"><br></div><div class="gmail_extra">Bruce<br><br><br></div><div class="gmail_extra"><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-GB"><div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><span class=""><b>From:</b> Incubator <<a href="mailto:incubator-bounces@lists.osgeo.org" target="_blank">incubator-bounces@lists.osgeo.org</a>> on behalf of Robert Ward <<a href="mailto:Robert.Ward@scisys.co.uk" target="_blank">Robert.Ward@scisys.co.uk</a>><br>
</span><b>Sent:</b> Friday, 17 June 2016 5:01:51 PM<br>
<b>To:</b> <a href="mailto:incubator@lists.osgeo.org" target="_blank">incubator@lists.osgeo.org</a><br>
<b>Subject:</b> [Incubator] FW: SLD Editor</font>
<div> </div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d">A bit more background information about the SLD Editor.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d">I’ve been developing the application for about 18 months as a side project.  The idea started when we did some consultancy work and put together a proposal for
 an organisation to migrate from an Esri system to an OpenLayers/GeoServer stack. When it came to migrating ~1250 layers we didn’t know what number to put down for symbol conversion to SLD.  When you looked at the numbers this was a large percentage of the
 overall cost and something needed to be done to reduce it if we were going to be competitive in doing migrations to open source GIS systems.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d">One of our long standing large enterprise GIS systems required a change to an SLD symbol which we used QGIS to edit. It turned out there was a known bug that
 caused the change to be forgotten.  I looked to fix it, I’m very familiar with C++ and Qt but found it difficult to debug and realised the SLD styling data model was not completely implemented.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d">I looked at GeoTools because I knew it could parse SLD files and render them. Another big advantage is that it supports all the GeoServer vendor options, in particular
 the labelling.  I got something simple working quite quickly and it went from there.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d">Ideally all this functionality should be in QGIS but QGIS would have to be rewritten to use a C++ version of GeoTools to be able to render the GeoServer vendor
 options, which will not happen overnight.  We know of people that would love this capability and I understand some peoples reluctance for yet another application.  I think as long as GeoServer is so heavily used a Java desktop SLD Editor application is acceptable.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d">I’ve had discussions about developing a web-front end for the application, a possibility. However not all GIS systems we deliver are web based and certain projects
 I work on and locations I work at, do not allow web access or a web server to be deployed without going through a lot of hoops.  If I have a standalone desktop application I can do all my work without having to rely on any other infrastructure.  One of the
 aims of the application was to be able to work in a connected/disconnected environment, I don’t think all users/developers understand this scenario.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d">The architecture has evolved. I’ve rewritten parts of it several times, sometimes because it didn’t deliver the right functionality or sometimes because I thought
 it could be done better (either I had a better idea or trying to improve maintenance), sometimes because I was experimenting.  Some parts of the code definitely need to be cleaned up although some frameworks/interfaces I’ve put in-place I think are quite good.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d">There will be some work needed to understand why some symbols don’t display. I’m thinking windbarbs where I believe I’m passing the correct data but the symbol
 is not rendered.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d">I’m also quite keen to progress the GeoPackage standard supporting SLD files.  I’m not certain whether the standard supports this yet but GeoTools doesn’t let
 me store an SLD file with a vector dataset that I can pass round in one file.  The SLD Editor has partially implemented this functionality but it would be better if it was a standard and would probably help increase the adoption of the GeoPackage standard.<u></u><u></u></span></p><span class="">
<p class="MsoNormal" style="line-height:12.0pt;text-autospace:none">
<span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#7a2b2e">__________________________________________________________________<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:12.0pt;text-autospace:none">
<b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#7a2b2e"><br>
Robert Ward</span></b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#7a2b2e"><u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:12.0pt;text-autospace:none">
<span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#7a2b2e">Technical Architect – Enterprise Solutions & Defence<u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:12.0pt;text-autospace:none">
<b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#c72e2d">SCISYS UK Limited<u></u><u></u></span></b></p>
<p class="MsoNormal" style="line-height:10.0pt;text-autospace:none">
<span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#343434">T: <a href="tel:%2B44%20%280%291249%20466575" value="+441249466575" target="_blank">+44 (0)1249 466575</a><u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:10.0pt;text-autospace:none">
<span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#343434" lang="DE">E: <a href="mailto:robert.ward@scisys.co.uk" target="_blank">robert.ward@scisys.co.uk</a> |
<a href="http://www.scisys.co.uk" target="_blank">www.scisys.co.uk</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</span><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> Jody Garnett [<a href="mailto:jody.garnett@gmail.com" target="_blank">mailto:jody.garnett@gmail.com</a>]
<br>
<b>Sent:</b> 16 June 2016 01:01<br>
<b>To:</b> Robert Ward<br>
<b>Cc:</b> <a href="mailto:incubator@lists.osgeo.org" target="_blank">incubator@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [Incubator] SLD Editor<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Welcome Robert:<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">That is an impressive project, I was able to checkout, report an issue, and now build :)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">There are three ways for projects to get involved in OSGeo:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">1. Including your project in <a href="https://live.osgeo.org/en/index.html" target="_blank">
OSGeo Live</a> is a great way to reach a wider audience<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">2. We have set up <a href="https://wiki.osgeo.org/wiki/OSGeo_Community_Projects" target="_blank">
Community Projects</a> as an outreach effort for OSGeo providing an easy way for projects to join the foundation.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">3. OSGeo <a href="http://www.osgeo.org/incubator/process/project_graduation_checklist.html" target="_blank">
Incubation</a> which offers a much closer check into a project's health and wellbeing <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">aside: Your SLD Editor project is much larger project then your github history indicates, can you tell me anything about the background of the project?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">--<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Jody Garnett<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div><span class="">
<p class="MsoNormal">On 15 June 2016 at 05:30, Robert Ward <<a href="mailto:Robert.Ward@scisys.co.uk" target="_blank">Robert.Ward@scisys.co.uk</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">After presenting at FOSS4G UK, we have released as open source a Java SLD Editor based on GeoTools and think it needs help from the
 wider open source GIS community.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The source code, user guide and developer’s guide is available here:</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""><a href="https://github.com/robward-scisys/sldeditor" target="_blank">https://github.com/robward-scisys/sldeditor</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The application is based on the GeoTools library which underpins GeoServer and so has the advantage that all GeoServer vendor options
 can be dynamically rendered.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">Whilst not wanting to duplicate work, this feature is not available in QGIS, which is written in C++ and has a different rendering
 engine that does not support GeoServer vendor options.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">The application is not complete and some areas need to be refactored however I think the application in its current state more than
 demonstrates what is possible.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif""> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif"">There will certainly need to be collaboration with the GeoTools project but in the future with the GeoPackage and SLD standards groups.</span><u></u><u></u></p>
<p class="MsoNormal" style="line-height:12.0pt;text-autospace:none">
<span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#7a2b2e">__________________________________________________________________</span><u></u><u></u></p>
<p class="MsoNormal" style="line-height:12.0pt;text-autospace:none">
<b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#7a2b2e"><br>
Robert Ward</span></b><u></u><u></u></p>
<p class="MsoNormal" style="line-height:12.0pt;text-autospace:none">
<span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#7a2b2e">Technical Architect – Enterprise Solutions & Defence</span><u></u><u></u></p>
<p class="MsoNormal" style="line-height:12.0pt;text-autospace:none">
<b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#c72e2d">SCISYS UK Limited</span></b><u></u><u></u></p>
<p class="MsoNormal" style="line-height:10.0pt;text-autospace:none">
<span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#343434">T: <a href="tel:%2B44%20%280%291249%20466575" target="_blank">+44 (0)1249 466575</a></span><u></u><u></u></p>
<p class="MsoNormal" style="line-height:10.0pt;text-autospace:none">
<span style="font-size:8.0pt;font-family:"Arial","sans-serif";color:#343434" lang="DE">E: <a href="mailto:robert.ward@scisys.co.uk" target="_blank">robert.ward@scisys.co.uk</a> |
<a href="http://www.scisys.co.uk" target="_blank">www.scisys.co.uk</a></span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p><span style="font-family:"Tahoma","sans-serif";color:blue"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:gray">SCISYS UK Limited. Registered in England and Wales No. 4373530.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:"Arial","sans-serif";color:gray">Registered Office: Methuen Park, Chippenham, Wiltshire SN14 0GB, UK.</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:green">Before printing, please think about the environment.</span><u></u><u></u></p>
</div>
</span><p class="MsoNormal"><br>
_______________________________________________<br>
Incubator mailing list<br>
<a href="mailto:Incubator@lists.osgeo.org" target="_blank">Incubator@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/incubator" target="_blank">http://lists.osgeo.org/mailman/listinfo/incubator</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div><span class="">
<p>
</p>
<a title="gfidisc.scisys.co.uk" href="http://gfidisc.scisys.co.uk" style="text-decoration:none!important" target="_blank"></a><u></u>
<h1></h1>
<p><span style="color:#0000ff;font-family:Tahoma;font-size:small"> </span></p>
<div align="left"><span style="color:#808080;font-family:Arial;font-size:small">SCISYS UK Limited. Registered in England and Wales No. 4373530.</span></div>
<div align="left"><span style="color:#808080;font-family:Arial;font-size:small">Registered Office: Methuen Park, Chippenham, Wiltshire SN14 0GB, UK.</span></div>
<div align="left"> </div>
<div align="left"><span><span style="color:#000000"><span style="font-size:7pt;font-family:Tahoma"><span style="font-size:xx-small"><span style="color:#008000"><span style="font-family:Arial">Before printing, <span>please
</span>think about the environment<span>.</span></span></span></span></span></span></span></div>
<p>
</p>
<a title="gfidisc.scisys.co.uk" href="http://gfidisc.scisys.co.uk" style="text-decoration:none!important" target="_blank"></a><u></u>
<h1></h1>
</span></div>
</div>

</blockquote></div><br></div></div></div></div></div></div></div></div></div></div>