SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
wfslayer.h File Reference

WFSLayer — features fetched from an OGC Web Feature Service. More...

#include "layers/gisvectorlayer.h"
#include <QByteArray>
#include <QString>
Include dependency graph for wfslayer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  WFSLayer
 A vector layer whose features came from a web feature service. More...
 

Detailed Description

WFSLayer — features fetched from an OGC Web Feature Service.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

The feature half of the OGC family, which this GUI has never had: WMS, WMTS and WCS all answer with pictures, and a WFS answers with the data. That makes it the one of the four whose result can be queried, classified and labelled like any other vector layer — so it is one, deriving from GISVectorLayer rather than repeating it.

GDAL does not fetch it. This build compiles GDAL without curl, so RegisterOGRWFS is absent entirely and CPLHTTPFetch is a stub; the bytes come over Qt Network through HydroCoupleOgc, and GDAL is handed them afterwards. Everything about parsing the service — its capabilities, the version-dependent request spelling, the axis order of a bounding box — lives in that shared library and is tested there, against saved responses from real servers.