QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
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.
 
QDomDocument createGetCapabilitiesDocument (QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request)
 Create get capabilities document.
 
QDomElement getContentMetadataElement (QDomDocument &doc, QgsServerInterface *serverIface, const QgsProject *project)
 Create ContentMetadata element for get capabilities document.
 
QByteArray getCoverageData (QgsServerInterface *serverIface, const QgsProject *project, const QgsServerRequest &request)
 Compute coverage data.
 
QDomElement getCoverageOffering (QDomDocument &doc, const QgsRasterLayer *layer, const QgsProject *project, bool brief=false)
 CoverageOffering or CoverageOfferingBrief element.
 
QDomElement getServiceElement (QDomDocument &doc, const QgsProject *project)
 Create Service element for get capabilities document.
 
QString implementationVersion ()
 Returns the highest version supported by this implementation.
 
QgsRectangle parseBbox (const QString &bboxStr)
 Parse bounding box.
 
QString serviceUrl (const QgsServerRequest &request, const QgsProject *project, const QgsServerSettings &settings)
 Service URL string.
 
void writeDescribeCoverage (QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response)
 Output WCS DescribeCoverage response.
 
void writeGetCapabilities (QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response)
 Output WCS GetCapabilities response.
 
void writeGetCoverage (QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response)
 Output WCS DescribeCoverage response.
 

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 67 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 66 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 269 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 133 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 287 of file qgswcsutils.cpp.

◆ serviceUrl()

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

Service URL string.

Definition at line 254 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 64 of file qgswcsutils.h.

◆ OGC_NAMESPACE

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

Definition at line 65 of file qgswcsutils.h.

◆ WCS_NAMESPACE

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

Definition at line 63 of file qgswcsutils.h.