[Qgis-user] Textual representation of styles ?

Lars I. Nielsen, LIFA A/S lin at LIFA.DK
Tue Aug 7 23:11:45 PDT 2018


Thanks all,

No, SLD is layer based, and I'm looking into something that's feature based.

As I wrote, I'm aware of SLD (and QGIS' own QML), but that's not what I'm looking for.


Med venlig hilsen

Lars I. Nielsen, LIFA A/S
GIS konsulent, FME Certified Professional

T

6313 6800

@

lin at lifa.dk

D

6313 6849

W

www.lifa.dk

M

2492 4866









[Beskrivelse: C:\Users\lin\AppData\Roaming\Microsoft\signatures\21x21-Images-Get-L749-l8.png]<https://www.linkedin.com/company/lifa-a-s/>
Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S Landinspektører

Fra: Ville Koivisto [mailto:ville.koivisto at kuntotekniikka.fi]
Sendt: 8. august 2018 07:28
Til: 'Richard McDonnell'; Lars I. Nielsen, LIFA A/S; qgis-user at lists.osgeo.org
Emne: RE: [Qgis-user] Textual representation of styles ?

Good morning,

Wait, so I can't straight away use an SLD file generated in QGIS for styling my layers in Geoserver? Is there any more info about his somewhere?

Thanking you in advance,

Ville Koivisto
+35840 701 4283
GIS Expert
Suomen kuntotekniikka Oy


From: Qgis-user <qgis-user-bounces at lists.osgeo.org> On Behalf Of Richard McDonnell
Sent: Tuesday, August 7, 2018 5:24 PM
To: Lars I. Nielsen, LIFA A/S <lin at LIFA.DK>; 'qgis-user at lists.osgeo.org' <qgis-user at lists.osgeo.org>
Subject: Re: [Qgis-user] Textual representation of styles ?

Hi Lars,
Would SLD be what you ar looking for?

http://www.opengeospatial.org/standards/sld

QGIS can save its styles to this format, be aware, its not a full implementation of SLD, so it takes a little tweaking to make it work with other SLD compliant software line GeoServer.
Hope it helps,

Richard.



From: Qgis-user [mailto:qgis-user-bounces at lists.osgeo.org] On Behalf Of Lars I. Nielsen, LIFA A/S
Sent: 07 August 2018 14:50
To: 'qgis-user at lists.osgeo.org' <qgis-user at lists.osgeo.org<mailto:qgis-user at lists.osgeo.org>>
Subject: [Qgis-user] Textual representation of styles ?

Hi list.

Does QGIS utilize and support textual styles, e.g. as read from data ?

OGR has a feature style specification (https://www.gdal.org/ogr_feature_style.html ), with some examples shown below.

Has anyone used QGIS to facilitate such style representation ?

--

Here are some example style definition strings:

  *   A 5 pixels wide red line:
PEN(c:#FF0000,w:5px)
  *   A polygon filled in blue, with a black outline:
BRUSH(fc:#0000FF);PEN(c:#000000)
  *   A point symbol:
SYMBOL(c:#00FF00,id:"points.sym-45,ogr-sym-7")
  *   A text label, taking the text string from the "text_attribute" attribute field:
LABEL(f:"Times New Roman",s:12pt,t:{text_attribute})"
Here is what a style table that contains all the above styles could look like:
    road:      PEN(c:#FF0000,w:5px)
    lake:      BRUSH(fc:#0000FF);PEN(c:#000000)
    campsite:  SYMBOL(c:#00FF00,id:"points.sym-45,ogr-sym-7")
    label:     LABEL(f:"Times New Roman",s:12pt,t:{text_attribute})

--

I know that QGIS supports its own XML style format, and supports some form of SLD. Both are layer based, though, not feature based.

Med venlig hilsen
Lars I. Nielsen, LIFA A/S
GIS konsulent, FME Certified Professional

[Beskrivelse: Beskrivelse: http://website.lifa.dk/docs/LIFA_GIS·IT_logo.png]
T

6313 6800

@

lin at lifa.dk<mailto:lin at lifa.dk>

D

6313 6849

W

www.lifa.dk<http://www.lifa.dk>

M

2492 4866






Vi tilbyder interne og eksterne kurser. Du kan finde mere information i vores kursuskalender<https://www.lifa.dk/kursuskalender>

[Beskrivelse: Beskrivelse: C:\Users\lin\AppData\Roaming\Microsoft\signatures\21x21-Images-Get-L749-l8.png]<https://www.linkedin.com/company/lifa-a-s/>
Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S Landinspektører

[Beskrivelse: Billede fjernet af afsender.]<http://www.opw.ie/>


Email Disclaimer: http://www.opw.ie/en/disclaimer/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180808/ec90fb24/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 1204 bytes
Desc: image002.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180808/ec90fb24/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 8192 bytes
Desc: image003.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180808/ec90fb24/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 1441 bytes
Desc: image004.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180808/ec90fb24/attachment.jpg>


More information about the Qgis-user mailing list