From: Andreas Kohlbecker Date: Fri, 3 Jul 2020 09:07:23 +0000 (+0200) Subject: proper SLD files created with uDig and styles for QGis X-Git-Url: https://dev.e-taxonomy.eu/gitweb/euromed-map.git/commitdiff_plain/5f5de9aea7ad159b570975abdb438848d670bfe4 proper SLD files created with uDig and styles for QGis --- diff --git a/STYLE-FILES.md b/STYLE-FILES.md new file mode 100644 index 0000000..161937b --- /dev/null +++ b/STYLE-FILES.md @@ -0,0 +1,16 @@ +# Style files + +**IMPORTANT!!!!** SLD files produced (exported) by QGis are not suitable for two reasons: + +1. These Styles are not compliant with Geoserver +2. Labels would be missing +3. No support for `` elements which are important for defining the render order of the styled features + +Therefore the SLD file must not be overwritten by the QGis Style exort, even imorting the sld file into QGis may fail. +The `euromed-layer-style.qml` file instread provides the more or less same style for QGis and can be imported if needed. + +For Editing the SLD files the following applications are recommended: + +* [uDig](http://udig.github.io/) - quite useful +* [scisys](https://robward-scisys.github.io/) - not yet tested +* [Atlas Styler](http://en.geopublishing.org/AtlasStyler) - the project no longer exists (Atlas Styler installer downloaded and archived) diff --git a/euromed-layer-style.qml b/euromed-layer-style.qml new file mode 100644 index 0000000..7fd4696 --- /dev/null +++ b/euromed-layer-style.qml @@ -0,0 +1,337 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "EMLEVEL" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 0 + 0 + EMAREA + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + . + + 0 + . + + 0 + generatedlayout + + + + + + + + + + + COALESCE( "EMAREA", '<NULL>' ) + 2 + diff --git a/euromed_2013.sld b/euromed_2013.sld new file mode 100644 index 0000000..b087e66 --- /dev/null +++ b/euromed_2013.sld @@ -0,0 +1,123 @@ + + + + + + + euromed 2013 + + group0 + Feature + + non em areas + + + EMAREA + o + + + + + #C8C8C8 + + + #C8C8C8 + 0.3 + + + + + water + + + EMAREA + water + + + + + #E0FAFF + + + #C8C8C8 + 0.3 + + + + + + group1 + Feature + + em areas level 1 + + + + + EMLEVEL + 1 + + + EMAREA + o + + + + EMAREA + water + + + + + + #FFFFFF + + + #C8C8C8 + 0.3 + + + + + + group2 + Feature + + em area level 2 + + + + + EMLEVEL + 2 + + + + EMAREA + o + + + + + + EMAREA + water + + + + + + + #FFFFFF + + + #C8C8C8 + 0.3 + + + + + + + +