QGIS API Documentation
3.6.0-Noosa (5873452)
|
WMS implementation. More...
Namespaces | |
v1_0_0 | |
Classes | |
struct | getFeatureQuery |
struct | getFeatureRequest |
class | QgsBadRequestException |
Exception thrown in case of malformed request. More... | |
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 service exceptions. More... | |
class | QgsWfsParameter |
WFS parameter received from the client. More... | |
class | QgsWfsParameters |
Provides an interface to retrieve and manipulate WFS parameters received from the client. More... | |
class | Service |
OGC web service specialized for WFS. More... | |
struct | transactionDelete |
struct | transactionInsert |
struct | transactionRequest |
struct | transactionUpdate |
Functions | |
const QRegExp | cleanTagNameRegExp ("(?![\\\-]).") |
QDomDocument | createDescribeFeatureTypeDocument (QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request) |
Create get capabilities document. More... | |
QDomDocument | createGetCapabilitiesDocument (QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request) |
Create get capabilities document. More... | |
QDomDocument | createTransactionDocument (QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request) |
Create a wfs transaction document. More... | |
QgsFeatureList | featuresFromGML (QDomNodeList featureNodeList, QgsVectorDataProvider *provider) |
Transform GML feature nodes to features. More... | |
QDomElement | getFeatureTypeListElement (QDomDocument &doc, QgsServerInterface *serverIface, const QgsProject *project) |
Create FeatureTypeList element for get capabilities document. More... | |
QDomElement | getOperationsMetadataElement (QDomDocument &doc, const QgsProject *project, const QgsServerRequest &request) |
Create OperationsMetadata element for get capabilities document. More... | |
QDomElement | getParameterElement (QDomDocument &doc, const QString &name, const QStringList &values) |
Create a parameter element. More... | |
QDomElement | getServiceIdentificationElement (QDomDocument &doc, const QgsProject *project) |
Create Service Identification element for get capabilities document. More... | |
QDomElement | getServiceProviderElement (QDomDocument &doc, const QgsProject *project) |
Create Service Provider element for get capabilities document. More... | |
QString | implementationVersion () |
Returns the highest version supported by this implementation. More... | |
QgsVectorLayer * | layerByTypeName (const QgsProject *project, const QString &typeName) |
Retrieve a layer by typename. More... | |
QString | layerTypeName (const QgsMapLayer *layer) |
Returns typename from vector layer. More... | |
transactionDelete | parseDeleteActionElement (QDomElement &actionElem) |
Transform Delete element to transactionDelete. More... | |
QgsFeatureRequest | parseFilterElement (const QString &typeName, QDomElement &filterElem, const QgsProject *project=nullptr) |
Transform a Filter element to a feature request. More... | |
getFeatureRequest | parseGetFeatureParameters (const QgsProject *project=nullptr) |
Transform parameters to getFeatureRequest. More... | |
getFeatureRequest | parseGetFeatureRequestBody (QDomElement &docElem, const QgsProject *project=nullptr) |
Transform RequestBody root element to getFeatureRequest. More... | |
transactionInsert | parseInsertActionElement (QDomElement &actionElem) |
Transform Insert element to transactionInsert. More... | |
getFeatureQuery | parseQueryElement (QDomElement &queryElem, const QgsProject *project=nullptr) |
Transform Query element to getFeatureQuery. More... | |
void | parseSortByElement (QDomElement &sortByElem, QgsFeatureRequest &featureRequest, const QString &typeName) |
Add SortBy element to featureRequest. More... | |
transactionRequest | parseTransactionParameters (QgsServerRequest::Parameters parameters) |
transactionRequest | parseTransactionRequestBody (QDomElement &docElem) |
Transform RequestBody root element to getFeatureRequest. More... | |
transactionUpdate | parseUpdateActionElement (QDomElement &actionElem) |
Transform Update element to transactionUpdate. More... | |
void | performTransaction (transactionRequest &aRequest, QgsServerInterface *serverIface, const QgsProject *project) |
Perform the transaction. More... | |
QString | serviceUrl (const QgsServerRequest &request, const QgsProject *project) |
Service URL string. More... | |
void | setSchemaLayer (QDomElement &parentElement, QDomDocument &doc, const QgsVectorLayer *layer) |
void | writeDescribeFeatureType (QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response) |
Output WFS GetCapabilities response. More... | |
void | writeGetCapabilities (QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response) |
Output WFS GetCapabilities response. More... | |
void | writeGetFeature (QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response) |
Output WFS GetFeature response. More... | |
void | writeTransaction (QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response) |
Output WFS transaction 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 | QGS_NAMESPACE = QStringLiteral( "http://www.qgis.org/gml" ) |
const QString | WFS_NAMESPACE = QStringLiteral( "http://www.opengis.net/wfs" ) |
WMS implementation.
WMS implementation
const QRegExp QgsWfs::cleanTagNameRegExp | ( | "(?![\])." | ) |
QDomDocument QgsWfs::createDescribeFeatureTypeDocument | ( | QgsServerInterface * | serverIface, |
const QgsProject * | project, | ||
const QString & | version, | ||
const QgsServerRequest & | request | ||
) |
Create get capabilities document.
Definition at line 68 of file qgswfsdescribefeaturetype.cpp.
QDomDocument QgsWfs::createGetCapabilitiesDocument | ( | QgsServerInterface * | serverIface, |
const QgsProject * | project, | ||
const QString & | version, | ||
const QgsServerRequest & | request | ||
) |
Create get capabilities document.
Definition at line 72 of file qgswfsgetcapabilities.cpp.
QDomDocument QgsWfs::createTransactionDocument | ( | QgsServerInterface * | serverIface, |
const QgsProject * | project, | ||
const QString & | version, | ||
const QgsServerRequest & | request | ||
) |
Create a wfs transaction document.
Definition at line 60 of file qgswfstransaction.cpp.
QgsFeatureList QgsWfs::featuresFromGML | ( | QDomNodeList | featureNodeList, |
QgsVectorDataProvider * | provider | ||
) |
Transform GML feature nodes to features.
Definition at line 733 of file qgswfstransaction.cpp.
QDomElement QgsWfs::getFeatureTypeListElement | ( | QDomDocument & | doc, |
QgsServerInterface * | serverIface, | ||
const QgsProject * | project | ||
) |
Create FeatureTypeList element for get capabilities document.
Definition at line 431 of file qgswfsgetcapabilities.cpp.
QDomElement QgsWfs::getOperationsMetadataElement | ( | QDomDocument & | doc, |
const QgsProject * | project, | ||
const QgsServerRequest & | request | ||
) |
Create OperationsMetadata element for get capabilities document.
Definition at line 348 of file qgswfsgetcapabilities.cpp.
QDomElement QgsWfs::getParameterElement | ( | QDomDocument & | doc, |
const QString & | name, | ||
const QStringList & | values | ||
) |
Create a parameter element.
Definition at line 332 of file qgswfsgetcapabilities.cpp.
QDomElement QgsWfs::getServiceIdentificationElement | ( | QDomDocument & | doc, |
const QgsProject * | project | ||
) |
Create Service Identification element for get capabilities document.
Definition at line 167 of file qgswfsgetcapabilities.cpp.
QDomElement QgsWfs::getServiceProviderElement | ( | QDomDocument & | doc, |
const QgsProject * | project | ||
) |
Create Service Provider element for get capabilities document.
Definition at line 243 of file qgswfsgetcapabilities.cpp.
QString QgsWfs::implementationVersion | ( | ) |
Returns the highest version supported by this implementation.
Definition at line 32 of file qgswfsutils.cpp.
QgsVectorLayer * QgsWfs::layerByTypeName | ( | const QgsProject * | project, |
const QString & | typeName | ||
) |
Retrieve a layer by typename.
Definition at line 80 of file qgswfsutils.cpp.
QString QgsWfs::layerTypeName | ( | const QgsMapLayer * | layer | ) |
Returns typename from vector layer.
Definition at line 71 of file qgswfsutils.cpp.
transactionDelete QgsWfs::parseDeleteActionElement | ( | QDomElement & | actionElem | ) |
Transform Delete element to transactionDelete.
Definition at line 1087 of file qgswfstransaction.cpp.
QgsFeatureRequest QgsWfs::parseFilterElement | ( | const QString & | typeName, |
QDomElement & | filterElem, | ||
const QgsProject * | project | ||
) |
Transform a Filter element to a feature request.
Definition at line 103 of file qgswfsutils.cpp.
getFeatureRequest QgsWfs::parseGetFeatureParameters | ( | const QgsProject * | project | ) |
Transform parameters to getFeatureRequest.
Definition at line 432 of file qgswfsgetfeature.cpp.
getFeatureRequest QgsWfs::parseGetFeatureRequestBody | ( | QDomElement & | docElem, |
const QgsProject * | project | ||
) |
Transform RequestBody root element to getFeatureRequest.
Definition at line 817 of file qgswfsgetfeature.cpp.
transactionInsert QgsWfs::parseInsertActionElement | ( | QDomElement & | actionElem | ) |
Transform Insert element to transactionInsert.
Definition at line 1170 of file qgswfstransaction.cpp.
getFeatureQuery QgsWfs::parseQueryElement | ( | QDomElement & | queryElem, |
const QgsProject * | project | ||
) |
Transform Query element to getFeatureQuery.
Definition at line 883 of file qgswfsgetfeature.cpp.
void QgsWfs::parseSortByElement | ( | QDomElement & | sortByElem, |
QgsFeatureRequest & | featureRequest, | ||
const QString & | typeName | ||
) |
Add SortBy element to featureRequest.
Definition at line 835 of file qgswfsgetfeature.cpp.
transactionRequest QgsWfs::parseTransactionParameters | ( | QgsServerRequest::Parameters | parameters | ) |
Definition at line 802 of file qgswfstransaction.cpp.
transactionRequest QgsWfs::parseTransactionRequestBody | ( | QDomElement & | docElem | ) |
Transform RequestBody root element to getFeatureRequest.
Definition at line 1053 of file qgswfstransaction.cpp.
transactionUpdate QgsWfs::parseUpdateActionElement | ( | QDomElement & | actionElem | ) |
Transform Update element to transactionUpdate.
Definition at line 1114 of file qgswfstransaction.cpp.
void QgsWfs::performTransaction | ( | transactionRequest & | aRequest, |
QgsServerInterface * | serverIface, | ||
const QgsProject * | project | ||
) |
Perform the transaction.
Definition at line 215 of file qgswfstransaction.cpp.
QString QgsWfs::serviceUrl | ( | const QgsServerRequest & | request, |
const QgsProject * | project | ||
) |
Service URL string.
Definition at line 37 of file qgswfsutils.cpp.
void QgsWfs::setSchemaLayer | ( | QDomElement & | parentElement, |
QDomDocument & | doc, | ||
const QgsVectorLayer * | layer | ||
) |
Definition at line 179 of file qgswfsdescribefeaturetype.cpp.
void QgsWfs::writeDescribeFeatureType | ( | QgsServerInterface * | serverIface, |
const QgsProject * | project, | ||
const QString & | version, | ||
const QgsServerRequest & | request, | ||
QgsServerResponse & | response | ||
) |
Output WFS GetCapabilities response.
Definition at line 34 of file qgswfsdescribefeaturetype.cpp.
void QgsWfs::writeGetCapabilities | ( | QgsServerInterface * | serverIface, |
const QgsProject * | project, | ||
const QString & | version, | ||
const QgsServerRequest & | request, | ||
QgsServerResponse & | response | ||
) |
Output WFS GetCapabilities response.
Definition at line 38 of file qgswfsgetcapabilities.cpp.
void QgsWfs::writeGetFeature | ( | QgsServerInterface * | serverIface, |
const QgsProject * | project, | ||
const QString & | version, | ||
const QgsServerRequest & | request, | ||
QgsServerResponse & | response | ||
) |
Output WFS GetFeature response.
Definition at line 88 of file qgswfsgetfeature.cpp.
void QgsWfs::writeTransaction | ( | QgsServerInterface * | serverIface, |
const QgsProject * | project, | ||
const QString & | version, | ||
const QgsServerRequest & | request, | ||
QgsServerResponse & | response | ||
) |
Output WFS transaction response.
Definition at line 49 of file qgswfstransaction.cpp.
const QString QgsWfs::GML_NAMESPACE = QStringLiteral( "http://www.opengis.net/gml" ) |
Definition at line 67 of file qgswfsutils.h.
const QString QgsWfs::OGC_NAMESPACE = QStringLiteral( "http://www.opengis.net/ogc" ) |
Definition at line 68 of file qgswfsutils.h.
const QString QgsWfs::QGS_NAMESPACE = QStringLiteral( "http://www.qgis.org/gml" ) |
Definition at line 69 of file qgswfsutils.h.
const QString QgsWfs::WFS_NAMESPACE = QStringLiteral( "http://www.opengis.net/wfs" ) |
Definition at line 66 of file qgswfsutils.h.