QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Namespaces | Enumerations | Functions
qgswmsutils.h File Reference
#include "qgsmodule.h"
#include "qgswmsserviceexception.h"
Include dependency graph for qgswmsutils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 QgsWms
 Median cut implementation.
 

Enumerations

enum  QgsWms::ImageOutputFormat {
  QgsWms::UNKN, QgsWms::PNG, QgsWms::PNG8, QgsWms::PNG16,
  QgsWms::PNG1, QgsWms::JPEG
}
 Supported image output format. More...
 

Functions

QString QgsWms::ImplementationVersion ()
 Returns the highest version supported by this implementation. More...
 
QgsRectangle QgsWms::parseBbox (const QString &bboxstr)
 Parse bbox parameter. More...
 
ImageOutputFormat QgsWms::parseImageFormat (const QString &format)
 Parse image format parameter. More...
 
void QgsWms::readLayersAndStyles (const QgsServerRequest::Parameters &parameters, QStringList &layersList, QStringList &stylesList)
 Reads the layers and style lists from the parameters LAYERS and STYLES. More...
 
QUrl QgsWms::serviceUrl (const QgsServerRequest &request, const QgsProject *project)
 Returns WMS service URL. More...
 
void QgsWms::writeImage (QgsServerResponse &response, QImage &img, const QString &formatStr, int imageQuality=-1)
 Write image response. More...