|
static QString | appendMapParameter (const QString &path, const QUrl &requestUrl) |
| Appends MAP query string parameter from current requestUrl to the given path. More...
|
|
static QString | crsToOgcUri (const QgsCoordinateReferenceSystem &crs) |
| Returns a crs as OGC URI (format: http://www.opengis.net/def/crs/OGC/1.3/CRS84) Returns an empty string on failure. More...
|
|
static QString | fieldName (const QString &name, const QgsVectorLayer *layer) SIP_THROW(QgsServerApiBadRequestException) |
| Given a field name (or display name) and a layer returns the actual name of the field. More...
|
|
static json | layerExtent (const QgsVectorLayer *layer) |
| layerExtent returns json array with [xMin,yMin,xMax,yMax] CRS84 extent for the given layer More...
|
|
static QgsRectangle | parseBbox (const QString &bbox) |
| Parses a comma separated bbox into a (possibly empty) QgsRectangle. More...
|
|
static QgsCoordinateReferenceSystem | parseCrs (const QString &bboxCrs) |
| Parses the CRS URI bboxCrs (example: "http://www.opengis.net/def/crs/OGC/1.3/CRS84") into a QGIS CRS object. More...
|
|
static QgsDateRange | parseTemporalDateInterval (const QString &interval) SIP_THROW(QgsServerApiBadRequestException) |
| Parses a date interval and returns a QgsDateRange. More...
|
|
static QgsDateTimeRange | parseTemporalDateTimeInterval (const QString &interval) SIP_THROW(QgsServerApiBadRequestException) |
| Parses a datetime interval and returns a QgsDateTimeRange. More...
|
|
static QStringList | publishedCrsList (const QgsProject *project) |
| Returns the list of CRSs (format: http://www.opengis.net/def/crs/OGC/1.3/CRS84) available for this project. More...
|
|
static const QVector< QgsVectorLayer * > | publishedWfsLayers (const QgsServerApiContext &context) |
| Returns the list of layers accessible to the service for a given context. More...
|
|
template<typename T > |
static const QVector< T > | publishedWfsLayers (const QgsServerApiContext &context) |
| Returns the list of layers of type T accessible to the WFS service for a given project. More...
|
|
static QString | sanitizedFieldValue (const QString &value) |
| Sanitizes the input value by removing URL encoding. More...
|
|
static QList< QgsServerWmsDimensionProperties::WmsDimensionInfo > | temporalDimensions (const QgsVectorLayer *layer) |
| Returns a list of temporal dimensions information for the given layer (either configured in wmsDimensions or the first date/datetime field) More...
|
|
static json | temporalExtent (const QgsVectorLayer *layer) |
| temporalExtent returns a json array with an array of [min, max] temporal extent for the given layer. More...
|
|
static QVariantList | temporalExtentList (const QgsVectorLayer *layer) |
| temporalExtent returns a json array with an array of [min, max] temporal extent for the given layer. More...
|
|
static QgsExpression | temporalFilterExpression (const QgsVectorLayer *layer, const QString &interval) |
| Parses the interval and constructs a (possibly invalid) temporal filter expression for the given layer. More...
|
|