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
wcslayer.h File Reference

OGC Web Coverage Service (WCS 1.0 / 1.1.x / 2.0) raster basemap layer. More...

#include "layers/openswmmvislayer.h"
#include "render/basemaprenderparams.h"
#include <QImage>
#include <QList>
#include <QMap>
#include <QMutex>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QString>
#include <QUrl>
Include dependency graph for wcslayer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  WCSFieldInfo
 One field (band / variable) advertised by a WCS DescribeCoverage response. More...
 
struct  WCSCoverageInfo
 Metadata for one coverage returned by GetCapabilities / DescribeCoverage. More...
 
struct  WCSServiceInfo
 Top-level metadata returned by a WCS GetCapabilities request. More...
 
class  WCSLayer
 Renders a selected coverage from an OGC Web Coverage Service as a raster basemap layer. More...
 

Detailed Description

OGC Web Coverage Service (WCS 1.0 / 1.1.x / 2.0) raster basemap layer.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026

Fetches a GetCapabilities document to enumerate available coverages, then issues a single GetCoverage request per canvas viewport (matching the WMSLayer single-image pattern). Responses are decoded with GDAL via an in-memory virtual filesystem (VSIMemFileFromBuffer) to avoid temporary file I/O.

Version negotiation: the layer first requests WCS 2.0.1. If the server returns an OGC ExceptionReport it retries with 1.1.2, then 1.0.0.