QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
26 #define QSTR_COMPARE( str, lit )\
27 (str.compare( QLatin1String( lit ), Qt::CaseInsensitive ) == 0)
47 : mServerIface( serverIface )
50 QString
name()
const override {
return QStringLiteral(
"WCS" ); }
59 QString versionString = params.value(
"VERSION" );
62 if ( versionString.isEmpty() )
68 const QString req = params.value( QStringLiteral(
"REQUEST" ) );
72 QStringLiteral(
"Please add or check the value of the REQUEST parameter" ), 501 );
91 QStringLiteral(
"Request %1 is not supported" ).arg( req ), 501 );
113 QgsDebugMsg( QStringLiteral(
"WCSModule::registerSelf called" ) );
QgsServerRequest::Parameters parameters() const
Returns a map of query parameters with keys converted to uppercase.
Class defining the service module interface for QGIS server services.
#define QSTR_COMPARE(str, lit)
void executeRequest(const QgsServerRequest &request, QgsServerResponse &response, const QgsProject *project) override
Execute the requests and set result in QgsServerRequest.
QGISEXTERN void QGS_ServiceModule_Exit(QgsServiceModule *)
OGC web service specialized for WCS.
QGISEXTERN QgsServiceModule * QGS_ServiceModule_Init()
QString name() const override
QString version() const override
QgsService Class defining interfaces for QGIS server services.
void registerService(QgsService *service)
Register a service by its name and version.
QgsServerRequest Class defining request interface passed to services QgsService::executeRequest() met...
void writeDescribeCoverage(QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response)
Output WCS DescribeCoverage response.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
QMap< QString, QString > Parameters
void registerSelf(QgsServiceRegistry ®istry, QgsServerInterface *serverIface) override
Asks the module to register all provided services.
Service module specialized for WCS.
Exception class for WFS services.
QString implementationVersion()
Returns the highest version supported by this implementation.
void writeGetCoverage(QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response)
Output WCS DescribeCoverage response.
QgsServiceRegistry Class defining the registry manager for QGIS server services.
void writeGetCapabilities(QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response)
Output WCS GetCapabilities response.
Service(QgsServerInterface *serverIface)
Constructor for WCS service.
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins.
QgsServerResponse Class defining response interface passed to services QgsService::executeRequest() m...