HydroCoupleOgc  0.1.0
OGC web service clients (WMS, WMTS, WCS, WFS) over Qt Network (0.1.0)
Loading...
Searching...
No Matches
HydroCouple::Ogc::WmsLayerInfo Struct Reference

One layer a WMS offers. More...

#include <wmscapabilities.h>

Collaboration diagram for HydroCouple::Ogc::WmsLayerInfo:

Public Member Functions

bool isRequestable () const
 Whether a GetMap can name this layer.
 

Public Attributes

QString name
 The identifier a GetMap asks for; empty for a group layer.
 
QString title
 
QString abstractText
 
QStringList crsIdentifiers
 The coordinate systems this layer can be drawn in.
 
QStringList styles
 Style names, inherited ones included.
 
QRectF geographicBounds
 The ground the layer covers, in longitude/latitude degrees.
 
bool queryable = false
 Whether GetFeatureInfo may be asked about this layer.
 

Detailed Description

One layer a WMS offers.

Flattened out of the capabilities tree, but after inheritance has been applied — see parseWmsCapabilities() for why that distinction is the whole job.

Member Function Documentation

◆ isRequestable()

bool HydroCouple::Ogc::WmsLayerInfo::isRequestable ( ) const
inlinenodiscard

Whether a GetMap can name this layer.

A layer with no name is a heading in the server's own tree — a grouping, not something that can be drawn. They are kept rather than dropped, because a tree with its headings removed is a different shape from the one the server published.

Member Data Documentation

◆ abstractText

QString HydroCouple::Ogc::WmsLayerInfo::abstractText

◆ crsIdentifiers

QStringList HydroCouple::Ogc::WmsLayerInfo::crsIdentifiers

The coordinate systems this layer can be drawn in.

Includes everything inherited from the layers it sits inside, which is usually where they are actually declared.

◆ geographicBounds

QRectF HydroCouple::Ogc::WmsLayerInfo::geographicBounds

The ground the layer covers, in longitude/latitude degrees.

From EX_GeographicBoundingBox (1.3.0) or LatLonBoundingBox (1.1.1), inherited when the layer does not give its own. Always lon/lat here whatever the document's axis order, so a caller never has to ask.

◆ name

QString HydroCouple::Ogc::WmsLayerInfo::name

The identifier a GetMap asks for; empty for a group layer.

◆ queryable

bool HydroCouple::Ogc::WmsLayerInfo::queryable = false

Whether GetFeatureInfo may be asked about this layer.

◆ styles

QStringList HydroCouple::Ogc::WmsLayerInfo::styles

Style names, inherited ones included.

◆ title

QString HydroCouple::Ogc::WmsLayerInfo::title

The documentation for this struct was generated from the following file: