QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
20 #ifndef QGSSERVERSETTINGS_H
21 #define QGSSERVERSETTINGS_H
27 #include "qgis_server.h"
70 QGIS_SERVER_API_WFS3_MAX_LIMIT
110 bool load(
const QString &envVarName );
115 void logSummary()
const;
121 QString iniFile()
const;
127 bool parallelRendering()
const;
133 int maxThreads()
const;
139 int maxCacheLayers()
const;
151 QString projectFile()
const;
157 QString logFile()
const;
164 bool logStderr()
const;
170 qint64 cacheSize()
const;
176 QString cacheDirectory()
const;
183 QString overrideSystemLocale()
const;
190 bool showGroupSeparator()
const;
214 QString apiResourcesDirectory()
const;
224 qlonglong apiWfs3MaxLimit()
const;
235 bool ignoreBadLayers()
const;
240 QMap<QgsServerSettingsEnv::EnvVar, QString> getEnv()
const;
241 void loadQSettings(
const QString &envOptPath )
const;
242 void prioritize(
const QMap<QgsServerSettingsEnv::EnvVar, QString> &env );
244 QMap< QgsServerSettingsEnv::EnvVar, Setting > mSettings;
@ QGIS_SERVER_CACHE_DIRECTORY
Source
Source of the parameter used in the configuration.
Provides some enum describing the environment currently supported for configuration.
Provides a way to retrieve settings by prioritizing according to environment variables,...
SERVER_EXPORT int wmsMaxHeight(const QgsProject &project)
Returns the maximum height for WMS images defined in a QGIS project.
@ QGIS_SERVER_PARALLEL_RENDERING
@ QGIS_SERVER_WMS_MAX_HEIGHT
Maximum height for a WMS request. The most conservative between this and the project one is used (sin...
@ QGIS_SERVER_API_RESOURCES_DIRECTORY
Base directory where HTML templates and static assets (e.g. images, js and css files) are searched fo...
SERVER_EXPORT int wmsMaxWidth(const QgsProject &project)
Returns the maximum width for WMS images defined in a QGIS project.
@ QGIS_SERVER_OVERRIDE_SYSTEM_LOCALE
Override system locale (since QGIS 3.8)
@ QGIS_SERVER_MAX_THREADS
MessageLevel
Level for messages This will be used both for message log and message bar in application.
@ QGIS_SERVER_WMS_MAX_WIDTH
Maximum width for a WMS request. The most conservative between this and the project one is used (sinc...
EnvVar
Environment variables to configure the server.
@ QGIS_SERVER_IGNORE_BAD_LAYERS
Do not consider the whole project unavailable if it contains bad layers.
QgsServerSettingsEnv::EnvVar envVar
@ QGIS_SERVER_SHOW_GROUP_SEPARATOR
Show group (thousands) separator when formatting numeric values, defaults to false (since QGIS 3....
QgsServerSettingsEnv::Source src