QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
qgswfsdescribefeaturetype.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgswfsdescribefeaturetype.h
3  -------------------------
4  begin : December 20 , 2016
5  copyright : (C) 2007 by Marco Hugentobler (original code)
6  (C) 2012 by RenĂ©-Luc D'Hont (original code)
7  (C) 2014 by Alessandro Pasotti (original code)
8  (C) 2017 by David Marteau
9  email : marco dot hugentobler at karto dot baug dot ethz dot ch
10  a dot pasotti at itopen dot it
11  david dot marteau at 3liz dot com
12  ***************************************************************************/
13 
14 /***************************************************************************
15  * *
16  * This program is free software; you can redistribute it and/or modify *
17  * it under the terms of the GNU General Public License as published by *
18  * the Free Software Foundation; either version 2 of the License, or *
19  * (at your option) any later version. *
20  * *
21  ***************************************************************************/
22 #ifndef QGSWFSDESCRIBEFEATURETYPE_H
23 #define QGSWFSDESCRIBEFEATURETYPE_H
24 
25 
26 #include <QDomDocument>
27 #include <QDomElement>
28 
29 #include "qgsserverinterface.h"
30 #include "qgswfsparameters.h"
31 
32 namespace QgsWfs
33 {
34 
38  QString getGmlGeometryType( const QgsVectorLayer *layer, QgsWfsParameters::Format format );
39 
40  void setSchemaLayer( QDomElement &parentElement, QDomDocument &doc, const QgsVectorLayer *layer, QgsWfsParameters::Format format );
41 
45  QDomDocument createDescribeFeatureTypeDocument( QgsServerInterface *serverIface, const QgsProject *project, const QString &version,
46  const QgsServerRequest &request );
47 
51  void writeDescribeFeatureType( QgsServerInterface *serverIface, const QgsProject *project, const QString &version,
52  const QgsServerRequest &request, QgsServerResponse &response );
53 
54 } // namespace QgsWfs
55 
56 #endif
QgsWfs::writeDescribeFeatureType
void writeDescribeFeatureType(QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request, QgsServerResponse &response)
Output WFS GetCapabilities response.
Definition: qgswfsdescribefeaturetype.cpp:52
QgsWfs::getGmlGeometryType
QString getGmlGeometryType(const QgsVectorLayer *layer, QgsWfsParameters::Format format)
Returns the GML geometry type.
Definition: qgswfsdescribefeaturetype.cpp:349
QgsServerRequest
QgsServerRequest Class defining request interface passed to services QgsService::executeRequest() met...
Definition: qgsserverrequest.h:38
QgsWfs::QgsWfsParameters::Format
Format
Output format for the response.
Definition: qgswfsparameters.h:145
QgsProject
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
Definition: qgsproject.h:103
QgsWfs
WMS implementation.
Definition: qgswfs.cpp:35
QgsWfs::setSchemaLayer
void setSchemaLayer(QDomElement &parentElement, QDomDocument &doc, const QgsVectorLayer *layer, QgsWfsParameters::Format format)
Definition: qgswfsdescribefeaturetype.cpp:196
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition: qgsvectorlayer.h:391
qgswfsparameters.h
QgsWfs::createDescribeFeatureTypeDocument
QDomDocument createDescribeFeatureTypeDocument(QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request)
Create get capabilities document.
Definition: qgswfsdescribefeaturetype.cpp:86
QgsServerInterface
QgsServerInterface Class defining interfaces exposed by QGIS Server and made available to plugins.
Definition: qgsserverinterface.h:60
QgsServerResponse
QgsServerResponse Class defining response interface passed to services QgsService::executeRequest() m...
Definition: qgsserverresponse.h:43
qgsserverinterface.h