QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
Namespaces | Functions
qgsserverprojectutils.h File Reference
#include <QString>
#include <QHash>
#include <cmath>
#include "qgis_server.h"
#include "qgis_sip.h"
#include "qgsserverrequest.h"
#include "qgsserversettings.h"
Include dependency graph for qgsserverprojectutils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  QgsServerProjectUtils
 The QgsServerProjectUtils namespace provides a way to retrieve specific entries from a QgsProject.
 

Functions

SERVER_EXPORT double QgsServerProjectUtils::ceilWithPrecision (double number, int places)
 Returns a double greater than number to the specified number of places. More...
 
SERVER_EXPORT double QgsServerProjectUtils::floorWithPrecision (double number, int places)
 Returns a double less than number to the specified number of places. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceAbstract (const QgsProject &project)
 Returns the owsService abstract defined in project. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceAccessConstraints (const QgsProject &project)
 Returns the owsService access constraints defined in project. More...
 
SERVER_EXPORT bool QgsServerProjectUtils::owsServiceCapabilities (const QgsProject &project)
 Returns if owsService capabilities are enabled. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceContactMail (const QgsProject &project)
 Returns the owsService contact mail defined in project. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceContactOrganization (const QgsProject &project)
 Returns the owsService contact organization defined in project. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceContactPerson (const QgsProject &project)
 Returns the owsService contact person defined in project. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceContactPhone (const QgsProject &project)
 Returns the owsService contact phone defined in project. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceContactPosition (const QgsProject &project)
 Returns the owsService contact position defined in project. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceFees (const QgsProject &project)
 Returns the owsService fees defined in project. More...
 
SERVER_EXPORT QStringList QgsServerProjectUtils::owsServiceKeywords (const QgsProject &project)
 Returns the owsService keywords defined in project. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceOnlineResource (const QgsProject &project)
 Returns the owsService online resource defined in project. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceTitle (const QgsProject &project)
 Returns the owsService title defined in project. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::serviceUrl (const QString &service, const QgsServerRequest &request, const QgsServerSettings &settings)
 Returns the service url defined in the environment variable or with HTTP header. More...
 
SERVER_EXPORT QStringList QgsServerProjectUtils::wcsLayerIds (const QgsProject &project)
 Returns the Layer ids list defined in a QGIS project as published in WCS. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::wcsServiceUrl (const QgsProject &project, const QgsServerRequest &request=QgsServerRequest(), const QgsServerSettings &settings=QgsServerSettings())
 Returns the WCS service url. More...
 
SERVER_EXPORT QStringList QgsServerProjectUtils::wfsLayerIds (const QgsProject &project)
 Returns the Layer ids list defined in a QGIS project as published in WFS. More...
 
SERVER_EXPORT int QgsServerProjectUtils::wfsLayerPrecision (const QgsProject &project, const QString &layerId)
 Returns the Layer precision defined in a QGIS project for the WFS GetFeature. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::wfsServiceUrl (const QgsProject &project, const QgsServerRequest &request=QgsServerRequest(), const QgsServerSettings &settings=QgsServerSettings())
 Returns the WFS service url. More...
 
SERVER_EXPORT QStringList QgsServerProjectUtils::wfstDeleteLayerIds (const QgsProject &project)
 Returns the Layer ids list defined in a QGIS project as published as WFS-T with delete capabilities. More...
 
SERVER_EXPORT QStringList QgsServerProjectUtils::wfstInsertLayerIds (const QgsProject &project)
 Returns the Layer ids list defined in a QGIS project as published as WFS-T with insert capabilities. More...
 
SERVER_EXPORT QStringList QgsServerProjectUtils::wfstUpdateLayerIds (const QgsProject &project)
 Returns the Layer ids list defined in a QGIS project as published as WFS-T with update capabilities. More...
 
SERVER_EXPORT double QgsServerProjectUtils::wmsDefaultMapUnitsPerMm (const QgsProject &project)
 Returns the default number of map units per millimeters in case of the scale is not given. More...
 
SERVER_EXPORT QgsRectangle QgsServerProjectUtils::wmsExtent (const QgsProject &project)
 Returns the WMS Extent restriction. More...
 
SERVER_EXPORT bool QgsServerProjectUtils::wmsFeatureInfoAddWktGeometry (const QgsProject &project)
 Returns if the geometry is displayed as Well Known Text in GetFeatureInfo request. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsFeatureInfoDocumentElement (const QgsProject &project)
 Returns the document element name for XML GetFeatureInfo request. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsFeatureInfoDocumentElementNs (const QgsProject &project)
 Returns the document element namespace for XML GetFeatureInfo request. More...
 
SERVER_EXPORT QHash< QString, QString > QgsServerProjectUtils::wmsFeatureInfoLayerAliasMap (const QgsProject &project)
 Returns the mapping between layer name and wms layer name for GetFeatureInfo request. More...
 
SERVER_EXPORT int QgsServerProjectUtils::wmsFeatureInfoPrecision (const QgsProject &project)
 Returns the geometry precision for GetFeatureInfo request. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsFeatureInfoSchema (const QgsProject &project)
 Returns the schema URL for XML GetFeatureInfo request. More...
 
SERVER_EXPORT bool QgsServerProjectUtils::wmsFeatureInfoSegmentizeWktGeometry (const QgsProject &project)
 Returns if the geometry has to be segmentize in GetFeatureInfo request. More...
 
SERVER_EXPORT bool QgsServerProjectUtils::wmsFeatureInfoUseAttributeFormSettings (const QgsProject &project)
 Returns if feature form settings should be considered for the format of the feature info response. More...
 
SERVER_EXPORT int QgsServerProjectUtils::wmsImageQuality (const QgsProject &project)
 Returns the quality for WMS images defined in a QGIS project. More...
 
SERVER_EXPORT bool QgsServerProjectUtils::wmsInfoFormatSia2045 (const QgsProject &project)
 Returns if the info format is SIA20145. More...
 
SERVER_EXPORT bool QgsServerProjectUtils::wmsInspireActivate (const QgsProject &project)
 Returns if Inspire is activated. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsInspireLanguage (const QgsProject &project)
 Returns the Inspire language. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsInspireMetadataDate (const QgsProject &project)
 Returns the Inspire metadata date. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsInspireMetadataUrl (const QgsProject &project)
 Returns the Inspire metadata URL. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsInspireMetadataUrlType (const QgsProject &project)
 Returns the Inspire metadata URL type. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsInspireTemporalReference (const QgsProject &project)
 Returns the Inspire temporal reference. More...
 
SERVER_EXPORT int QgsServerProjectUtils::wmsMaxAtlasFeatures (const QgsProject &project)
 Returns the maximum number of atlas features which can be printed in a request. More...
 
SERVER_EXPORT int QgsServerProjectUtils::wmsMaxHeight (const QgsProject &project)
 Returns the maximum height for WMS images defined in a QGIS project. More...
 
SERVER_EXPORT int QgsServerProjectUtils::wmsMaxWidth (const QgsProject &project)
 Returns the maximum width for WMS images defined in a QGIS project. More...
 
SERVER_EXPORT QStringList QgsServerProjectUtils::wmsOutputCrsList (const QgsProject &project)
 Returns the WMS output CRS list. More...
 
SERVER_EXPORT bool QgsServerProjectUtils::wmsRenderMapTiles (const QgsProject &project)
 Returns true if WMS requests should use the QgsMapSettings::RenderMapTile flag, so that no visible artifacts are visible between adjacent tiles. More...
 
SERVER_EXPORT QStringList QgsServerProjectUtils::wmsRestrictedComposers (const QgsProject &project)
 Returns the restricted composer list. More...
 
SERVER_EXPORT QStringList QgsServerProjectUtils::wmsRestrictedLayers (const QgsProject &project)
 Returns the restricted layer name list. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsRootName (const QgsProject &project)
 Returns the WMS root layer name defined in a QGIS project. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsServiceUrl (const QgsProject &project, const QgsServerRequest &request=QgsServerRequest(), const QgsServerSettings &settings=QgsServerSettings())
 Returns the WMS service url. More...
 
SERVER_EXPORT int QgsServerProjectUtils::wmsTileBuffer (const QgsProject &project)
 Returns the tile buffer in pixels for WMS images defined in a QGIS project. More...
 
SERVER_EXPORT bool QgsServerProjectUtils::wmsUseLayerIds (const QgsProject &project)
 Returns if layer ids are used as name in WMS. More...
 
SERVER_EXPORT QString QgsServerProjectUtils::wmtsServiceUrl (const QgsProject &project, const QgsServerRequest &request=QgsServerRequest(), const QgsServerSettings &settings=QgsServerSettings())
 Returns the WMTS service url. More...