QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
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.
 
SERVER_EXPORT double QgsServerProjectUtils::floorWithPrecision (double number, int places)
 Returns a double less than number to the specified number of places.
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceAbstract (const QgsProject &project)
 Returns the owsService abstract defined in project.
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceAccessConstraints (const QgsProject &project)
 Returns the owsService access constraints defined in project.
 
SERVER_EXPORT bool QgsServerProjectUtils::owsServiceCapabilities (const QgsProject &project)
 Returns if owsService capabilities are enabled.
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceContactMail (const QgsProject &project)
 Returns the owsService contact mail defined in project.
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceContactOrganization (const QgsProject &project)
 Returns the owsService contact organization defined in project.
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceContactPerson (const QgsProject &project)
 Returns the owsService contact person defined in project.
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceContactPhone (const QgsProject &project)
 Returns the owsService contact phone defined in project.
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceContactPosition (const QgsProject &project)
 Returns the owsService contact position defined in project.
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceFees (const QgsProject &project)
 Returns the owsService fees defined in project.
 
SERVER_EXPORT QStringList QgsServerProjectUtils::owsServiceKeywords (const QgsProject &project)
 Returns the owsService keywords defined in project.
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceOnlineResource (const QgsProject &project)
 Returns the owsService online resource defined in project.
 
SERVER_EXPORT QString QgsServerProjectUtils::owsServiceTitle (const QgsProject &project)
 Returns the owsService title defined in project.
 
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.
 
SERVER_EXPORT QStringList QgsServerProjectUtils::wcsLayerIds (const QgsProject &project)
 Returns the Layer ids list defined in a QGIS project as published in WCS.
 
SERVER_EXPORT QString QgsServerProjectUtils::wcsServiceUrl (const QgsProject &project, const QgsServerRequest &request=QgsServerRequest(), const QgsServerSettings &settings=QgsServerSettings())
 Returns the WCS service url.
 
SERVER_EXPORT QStringList QgsServerProjectUtils::wfsLayerIds (const QgsProject &project)
 Returns the Layer ids list defined in a QGIS project as published in WFS.
 
SERVER_EXPORT int QgsServerProjectUtils::wfsLayerPrecision (const QgsProject &project, const QString &layerId)
 Returns the Layer precision defined in a QGIS project for the WFS GetFeature.
 
SERVER_EXPORT QString QgsServerProjectUtils::wfsServiceUrl (const QgsProject &project, const QgsServerRequest &request=QgsServerRequest(), const QgsServerSettings &settings=QgsServerSettings())
 Returns the WFS service url.
 
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.
 
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.
 
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.
 
SERVER_EXPORT bool QgsServerProjectUtils::wmsAddLegendGroupsLegendGraphic (const QgsProject &project)
 Returns if legend groups should be in the legend graphic response if GetLegendGraphic is called on a layer group.
 
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.
 
SERVER_EXPORT QgsRectangle QgsServerProjectUtils::wmsExtent (const QgsProject &project)
 Returns the WMS Extent restriction.
 
SERVER_EXPORT bool QgsServerProjectUtils::wmsFeatureInfoAddWktGeometry (const QgsProject &project)
 Returns if the geometry is displayed as Well Known Text in GetFeatureInfo request.
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsFeatureInfoDocumentElement (const QgsProject &project)
 Returns the document element name for XML GetFeatureInfo request.
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsFeatureInfoDocumentElementNs (const QgsProject &project)
 Returns the document element namespace for XML GetFeatureInfo request.
 
SERVER_EXPORT QHash< QString, QString > QgsServerProjectUtils::wmsFeatureInfoLayerAliasMap (const QgsProject &project)
 Returns the mapping between layer name and wms layer name for GetFeatureInfo request.
 
SERVER_EXPORT int QgsServerProjectUtils::wmsFeatureInfoPrecision (const QgsProject &project)
 Returns the geometry precision for GetFeatureInfo request.
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsFeatureInfoSchema (const QgsProject &project)
 Returns the schema URL for XML GetFeatureInfo request.
 
SERVER_EXPORT bool QgsServerProjectUtils::wmsFeatureInfoSegmentizeWktGeometry (const QgsProject &project)
 Returns if the geometry has to be segmentize in GetFeatureInfo request.
 
SERVER_EXPORT bool QgsServerProjectUtils::wmsFeatureInfoUseAttributeFormSettings (const QgsProject &project)
 Returns if feature form settings should be considered for the format of the feature info response.
 
SERVER_EXPORT int QgsServerProjectUtils::wmsImageQuality (const QgsProject &project)
 Returns the quality for WMS images defined in a QGIS project.
 
SERVER_EXPORT bool QgsServerProjectUtils::wmsInfoFormatSia2045 (const QgsProject &project)
 Returns if the info format is SIA20145.
 
SERVER_EXPORT bool QgsServerProjectUtils::wmsInspireActivate (const QgsProject &project)
 Returns if Inspire is activated.
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsInspireLanguage (const QgsProject &project)
 Returns the Inspire language.
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsInspireMetadataDate (const QgsProject &project)
 Returns the Inspire metadata date.
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsInspireMetadataUrl (const QgsProject &project)
 Returns the Inspire metadata URL.
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsInspireMetadataUrlType (const QgsProject &project)
 Returns the Inspire metadata URL type.
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsInspireTemporalReference (const QgsProject &project)
 Returns the Inspire temporal reference.
 
SERVER_EXPORT int QgsServerProjectUtils::wmsMaxAtlasFeatures (const QgsProject &project)
 Returns the maximum number of atlas features which can be printed in a request.
 
SERVER_EXPORT int QgsServerProjectUtils::wmsMaxHeight (const QgsProject &project)
 Returns the maximum height for WMS images defined in a QGIS project.
 
SERVER_EXPORT int QgsServerProjectUtils::wmsMaxWidth (const QgsProject &project)
 Returns the maximum width for WMS images defined in a QGIS project.
 
SERVER_EXPORT QStringList QgsServerProjectUtils::wmsOutputCrsList (const QgsProject &project)
 Returns the WMS output CRS list.
 
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.
 
SERVER_EXPORT QStringList QgsServerProjectUtils::wmsRestrictedComposers (const QgsProject &project)
 Returns the restricted composer list.
 
SERVER_EXPORT QStringList QgsServerProjectUtils::wmsRestrictedLayers (const QgsProject &project)
 Returns the restricted layer name list.
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsRootName (const QgsProject &project)
 Returns the WMS root layer name defined in a QGIS project.
 
SERVER_EXPORT QString QgsServerProjectUtils::wmsServiceUrl (const QgsProject &project, const QgsServerRequest &request=QgsServerRequest(), const QgsServerSettings &settings=QgsServerSettings())
 Returns the WMS service url.
 
SERVER_EXPORT bool QgsServerProjectUtils::wmsSkipNameForGroup (const QgsProject &project)
 Returns if name attribute should be skipped for groups in WMS capabilities document.
 
SERVER_EXPORT int QgsServerProjectUtils::wmsTileBuffer (const QgsProject &project)
 Returns the tile buffer in pixels for WMS images defined in a QGIS project.
 
SERVER_EXPORT bool QgsServerProjectUtils::wmsUseLayerIds (const QgsProject &project)
 Returns if layer ids are used as name in WMS.
 
SERVER_EXPORT QString QgsServerProjectUtils::wmtsServiceUrl (const QgsProject &project, const QgsServerRequest &request=QgsServerRequest(), const QgsServerSettings &settings=QgsServerSettings())
 Returns the WMTS service url.