QGIS API Documentation 4.1.0-Master (31622b25bb0)
Loading...
Searching...
No Matches
qgswmsutils.h File Reference
#include "qgslayertreegroup.h"
#include "qgsmodule.h"
#include "qgsserversettings.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

namespace  QgsWms
 Median cut implementation.

Enumerations

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

Functions

void QgsWms::collectAcceptableLayersAndRequestNames (QHash< const QgsMapLayer *, QStringList > &acceptableLayersAndRequestNames, const QgsProject &project, const QStringList &requestedLayerNames=QStringList())
 Collects the acceptableLayersAndRequestNames, a hash of all the layers that can be rendered and for each a list of the layer names requesting it.
QString QgsWms::implementationVersion ()
 Returns the highest version supported by this implementation.
ImageOutputFormat QgsWms::parseImageFormat (const QString &format)
 Parse image format parameter.
QUrl QgsWms::serviceUrl (const QgsServerRequest &request, const QgsProject *project, const QgsServerSettings &settings)
 Returns WMS service URL.
void QgsWms::writeImage (QgsServerResponse &response, QImage &img, const QString &formatStr, int imageQuality=-1)
 Write image response.