QGIS API Documentation 3.39.0-Master (3783037d301)
Loading...
Searching...
No Matches
qgswcsgetcapabilities.h
Go to the documentation of this file.
1/***************************************************************************
2 qgswcsgecapabilities.h
3 -------------------------
4 begin : January 16 , 2017
5 copyright : (C) 2013 by René-Luc D'Hont ( parts from qgswcsserver )
6 (C) 2017 by David Marteau
7 email : rldhont at 3liz dot com
8 david dot marteau at 3liz dot com
9 ***************************************************************************/
10
11/***************************************************************************
12 * *
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or *
16 * (at your option) any later version. *
17 * *
18 ***************************************************************************/
19#ifndef QGSWCSGETCAPABILITIES_H
20#define QGSWCSGETCAPABILITIES_H
21
22#include <QDomDocument>
23
24namespace QgsWcs
25{
26
30 QDomElement getContentMetadataElement( QDomDocument &doc, QgsServerInterface *serverIface, const QgsProject *project );
31
35 QDomElement getServiceElement( QDomDocument &doc, const QgsProject *project );
36
40 QDomDocument createGetCapabilitiesDocument( QgsServerInterface *serverIface,
41 const QgsProject *project, const QString &version,
42 const QgsServerRequest &request );
43
47 void writeGetCapabilities( QgsServerInterface *serverIface, const QgsProject *project,
48 const QString &version, const QgsServerRequest &request,
49 QgsServerResponse &response );
50
51} // namespace QgsWcs
52
53#endif
54
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
Definition qgsproject.h:107
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins.
QgsServerRequest Class defining request interface passed to services QgsService::executeRequest() met...
QgsServerResponse Class defining response interface passed to services QgsService::executeRequest() m...
WCS implementation.
Definition qgswcs.cpp:30
QDomDocument createGetCapabilitiesDocument(QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request)
Create get capabilities document.
QDomElement getServiceElement(QDomDocument &doc, const QgsProject *project)
Create Service element for get capabilities document.
QDomElement getContentMetadataElement(QDomDocument &doc, QgsServerInterface *serverIface, const QgsProject *project)
Create ContentMetadata element for get capabilities document.
void writeGetCapabilities(QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response)
Output WCS GetCapabilities response.