QGIS API Documentation 4.1.0-Master (31622b25bb0)
Loading...
Searching...
No Matches
qgswmsutils.cpp File Reference
#include "qgswmsutils.h"
#include "qgslayertree.h"
#include "qgsmediancut.h"
#include "qgsmodule.h"
#include "qgsproject.h"
#include "qgsserverprojectutils.h"
#include "qgswmsserviceexception.h"
#include <QRegularExpression>
#include <QString>
Include dependency graph for qgswmsutils.cpp:

Go to the source code of this file.

Namespaces

namespace  QgsWms
 Median cut implementation.

Functions

void QgsWms::_collectAcceptableLayersAndRequestNames (QHash< const QgsMapLayer *, QStringList > &acceptableLayersAndRequestNames, const QgsProject &project, const QStringList &requestedLayerNames, const QgsLayerTreeGroup *group, QStringList requestedParentNames=QStringList(), bool groupIsAnOpaqueChild=false)
 Collects the acceptableLayersAndRequestNames recursively, a hash of all the layers that can be rendered and for each a list of the layer names requesting it.
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.