WFS created with geoserver not showing style in QGIS
In an earlier topic in this list there was a mentioning of SLD's being a
styling that is layer based in stead of feature based. In geoserver I
created a sld style for a layer that is inside my postgis database. The
layer contains information about projects concerning sewersystem, an
features are categorised accorcing to the value of some field. This style is
saved in the database. When I import my layer and style in geoserver it
shows a correct styling in the openlayers client. When I use the wfs url in
qgis 3.2 I get a notification that WFS version 1.2.0 is not supported. The
URL of the WFS mentions WFS version 1.0.0.
What is going on here?
I also tried to use the GMLAS plugin but this fails too:
I believe there's a misunderstanding of WFS going on here.
WFS is a Feature service - it only serves up raw vector data, and it
does so with no styling information. Styling is to be done at the
client's (QGIS) end, in the same way you'd style a shapefile.
When you look at the data in GeoServer's OpenLayers client, you're
looking at a WMS - the M stands for Map. It's a rendered map that's
created by GeoServer using the SLD file you created and then sent to the
client as an image. If you want to see that layer in QGIS, you'll need
to load the layer as a WMS.
There's also WCS - C = Coverage. That's basically raw raster data. And
there's WMTS - which is (simplified) a pre-rendered and cached WMS into
tiles which are super-fast to serve (the MT in WMTS = Map Tile).