QGIS API Documentation  3.8.0-Zanzibar (11aff65)
Classes | Functions | Variables
QgsWcs Namespace Reference

WCS implementation. More...

Classes

class  QgsRequestNotWellFormedException
 Exception thrown in case of malformed request. More...
 
class  QgsSecurityAccessException
 Exception thrown when data access violates access controls. More...
 
class  QgsServiceException
 Exception class for WFS services. More...
 
class  Service
 OGC web service specialized for WCS. More...
 

Functions

QDomDocument createDescribeCoverageDocument (QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request)
 Create describe coverage document. More...
 
QDomDocument createGetCapabilitiesDocument (QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request)
 Create get capabilities document. More...
 
QDomElement getContentMetadataElement (QDomDocument &doc, QgsServerInterface *serverIface, const QgsProject *project)
 Create ContentMetadata element for get capabilities document. More...
 
QByteArray getCoverageData (QgsServerInterface *serverIface, const QgsProject *project, const QgsServerRequest &request)
 Compute coverage data. More...
 
QDomElement getCoverageOffering (QDomDocument &doc, const QgsRasterLayer *layer, const QgsProject *project, bool brief=false)
 CoverageOffering or CoverageOfferingBrief element. More...
 
QDomElement getServiceElement (QDomDocument &doc, const QgsProject *project)
 Create Service element for get capabilities document. More...
 
QString implementationVersion ()
 Returns the highest version supported by this implementation. More...
 
QgsRectangle parseBbox (const QString &bboxStr)
 Parse bounding box. More...
 
QString serviceUrl (const QgsServerRequest &request, const QgsProject *project)
 Service URL string. More...
 
void writeDescribeCoverage (QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response)
 Output WCS DescribeCoverage response. More...
 
void writeGetCapabilities (QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response)
 Output WCS GetCapabilities response. More...
 
void writeGetCoverage (QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response)
 Output WCS DescribeCoverage response. More...
 

Variables

const QString GML_NAMESPACE = QStringLiteral( "http://www.opengis.net/gml" )
 
const QString OGC_NAMESPACE = QStringLiteral( "http://www.opengis.net/ogc" )
 
const QString WCS_NAMESPACE = QStringLiteral( "http://www.opengis.net/wcs" )
 

Detailed Description

WCS implementation.

WCS implementation

Function Documentation

◆ createDescribeCoverageDocument()

QDomDocument QgsWcs::createDescribeCoverageDocument ( QgsServerInterface serverIface,
const QgsProject project,
const QString &  version,
const QgsServerRequest request 
)

Create describe coverage document.

Definition at line 66 of file qgswcsdescribecoverage.cpp.

◆ createGetCapabilitiesDocument()

QDomDocument QgsWcs::createGetCapabilitiesDocument ( QgsServerInterface serverIface,
const QgsProject project,
const QString &  version,
const QgsServerRequest request 
)

Create get capabilities document.

Definition at line 65 of file qgswcsgetcapabilities.cpp.

◆ getContentMetadataElement()

QDomElement QgsWcs::getContentMetadataElement ( QDomDocument &  doc,
QgsServerInterface serverIface,
const QgsProject project 
)

Create ContentMetadata element for get capabilities document.

Definition at line 271 of file qgswcsgetcapabilities.cpp.

◆ getCoverageData()

QByteArray QgsWcs::getCoverageData ( QgsServerInterface serverIface,
const QgsProject project,
const QgsServerRequest request 
)

Compute coverage data.

Definition at line 49 of file qgswcsgetcoverage.cpp.

◆ getCoverageOffering()

QDomElement QgsWcs::getCoverageOffering ( QDomDocument &  doc,
const QgsRasterLayer layer,
const QgsProject project,
bool  brief 
)

CoverageOffering or CoverageOfferingBrief element.

Definition at line 35 of file qgswcsutils.cpp.

◆ getServiceElement()

QDomElement QgsWcs::getServiceElement ( QDomDocument &  doc,
const QgsProject project 
)

Create Service element for get capabilities document.

Definition at line 132 of file qgswcsgetcapabilities.cpp.

◆ implementationVersion()

QString QgsWcs::implementationVersion ( )

Returns the highest version supported by this implementation.

Definition at line 30 of file qgswcsutils.cpp.

◆ parseBbox()

QgsRectangle QgsWcs::parseBbox ( const QString &  bboxStr)

Parse bounding box.

Definition at line 270 of file qgswcsutils.cpp.

◆ serviceUrl()

QString QgsWcs::serviceUrl ( const QgsServerRequest request,
const QgsProject project 
)

Service URL string.

Definition at line 234 of file qgswcsutils.cpp.

◆ writeDescribeCoverage()

void QgsWcs::writeDescribeCoverage ( QgsServerInterface serverIface,
const QgsProject project,
const QString &  version,
const QgsServerRequest request,
QgsServerResponse response 
)

Output WCS DescribeCoverage response.

Definition at line 33 of file qgswcsdescribecoverage.cpp.

◆ writeGetCapabilities()

void QgsWcs::writeGetCapabilities ( QgsServerInterface serverIface,
const QgsProject project,
const QString &  version,
const QgsServerRequest request,
QgsServerResponse response 
)

Output WCS GetCapabilities response.

Definition at line 32 of file qgswcsgetcapabilities.cpp.

◆ writeGetCoverage()

void QgsWcs::writeGetCoverage ( QgsServerInterface serverIface,
const QgsProject project,
const QString &  version,
const QgsServerRequest request,
QgsServerResponse response 
)

Output WCS DescribeCoverage response.

Output WCS GetCoverage response.

Definition at line 40 of file qgswcsgetcoverage.cpp.

Variable Documentation

◆ GML_NAMESPACE

const QString QgsWcs::GML_NAMESPACE = QStringLiteral( "http://www.opengis.net/gml" )

Definition at line 63 of file qgswcsutils.h.

◆ OGC_NAMESPACE

const QString QgsWcs::OGC_NAMESPACE = QStringLiteral( "http://www.opengis.net/ogc" )

Definition at line 64 of file qgswcsutils.h.

◆ WCS_NAMESPACE

const QString QgsWcs::WCS_NAMESPACE = QStringLiteral( "http://www.opengis.net/wcs" )

Definition at line 62 of file qgswcsutils.h.