|
QGIS API Documentation 4.3.0-Master (16eddb2670e)
|
#include "qgswmsutils.h"#include "qgslayertree.h"#include "qgsmaplayertemporalproperties.h"#include "qgsmediancut.h"#include "qgsmodule.h"#include "qgsproject.h"#include "qgsserverprojectutils.h"#include "qgswmsserviceexception.h"#include <QRegularExpression>#include <QString>
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. | |
| void | QgsWms::getChildRanges (const QgsLayerTreeGroup *layerTreeGroup, const QMap< QString, QgsWmsLayerInfos > &wmsLayerInfos, const QStringList &restrictedLayers, QList< QgsDateTimeRange > &dateRanges) |
| Update recursively dateRanges with all layerTreeGroup children date ranges. | |
| 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. | |