HydroCoupleOgc  0.1.0
OGC web service clients (WMS, WMTS, WCS, WFS) over Qt Network (0.1.0)
Loading...
Searching...
No Matches
servicediscovery.h File Reference

Working out what a service is from its address alone. More...

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

Go to the source code of this file.

Namespaces

namespace  HydroCouple
 
namespace  HydroCouple::Ogc
 

Enumerations

enum class  HydroCouple::Ogc::ServiceKind {
  HydroCouple::Ogc::Unknown ,
  HydroCouple::Ogc::Wms ,
  HydroCouple::Ogc::Wmts ,
  HydroCouple::Ogc::Wfs ,
  HydroCouple::Ogc::Wcs
}
 The kinds of service this library speaks. More...
 

Functions

HYDROCOUPLEOGC_EXPORT QString HydroCouple::Ogc::buildCapabilitiesUrl (const QString &serviceUrl, ServiceKind kind)
 Where to ask serviceUrl what it can do.
 
HYDROCOUPLEOGC_EXPORT ServiceKind HydroCouple::Ogc::detectServiceKind (const QByteArray &xml)
 What kind of service answered.
 

Detailed Description

Working out what a service is from its address alone.

Author
Caleb Buahin

A user pastes a URL. Which of the OGC services it is, and which version of it, is something the server can be asked — but only in the service's own dialect, so a client has to guess before it can ask. Guessing wrong is cheap: the request comes back as an exception report and the next dialect is tried.