#
Layer Styling
#
Styled Layer Descriptor (SLD)
#
Generating SLDs
- open your source dataset in QGIS
- style the layer using the QGIS styling controls
- export the style to an SLD file
- include the SLD file with the GeoJSON file that you upload or sync
#
Styling Options
Refer to our QGIS styling guide for vector layers:
Additional tips:
- opacity must be defined in the colour - the layer's global opacity slider has no effect
- for polygon features to be selectable, the fill opacity must be greater than
0
- it can be as little as 1% - for rule-based styles, field names are case-sensitive (even though in QGIS they are case-insensitive)
- depending on the thickness of a line, the SLD file may need to be manually altered for dashed and dotted lines otherwise the gaps may disappear - eg. a 4 pixel thick line should be updated from
<se:SvgParameter name="stroke-dasharray">1 2</se:SvgParameter>
to<se:SvgParameter name="stroke-dasharray">4 8</se:SvgParameter>
#
Bubble Symbols
In addition to standard map styles, Pozi supports user-friendly "bubble" symbols.
Pick your symbol and colour, and email support@pozi.com to organise the setup on the style. The symbol can be referenced by URL or name, and the colour must be provided as a colour hex code (eg #CD5C5C
).
#
Symbols
Symbols can be chosen from any of the following:
Obtain the URL or icon name for the desired icon.
#
Colours
Bubble symbols can be styled with any of the standard HTML colours listed at:
https://html-color-codes.info/color-names/.