QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Types | List of all members
QgsServerSettingsEnv Class Reference

Provides some enum describing the environment currently supported for configuration. More...

#include <qgsserversettings.h>

Inheritance diagram for QgsServerSettingsEnv:
Inheritance graph
[legend]

Public Types

enum  EnvVar {
  QGIS_OPTIONS_PATH, QGIS_SERVER_PARALLEL_RENDERING, QGIS_SERVER_MAX_THREADS, QGIS_SERVER_LOG_LEVEL,
  QGIS_SERVER_LOG_FILE, QGIS_SERVER_LOG_STDERR, QGIS_PROJECT_FILE, MAX_CACHE_LAYERS,
  QGIS_SERVER_IGNORE_BAD_LAYERS, QGIS_SERVER_CACHE_DIRECTORY, QGIS_SERVER_CACHE_SIZE, QGIS_SERVER_SHOW_GROUP_SEPARATOR,
  QGIS_SERVER_OVERRIDE_SYSTEM_LOCALE, QGIS_SERVER_WMS_MAX_HEIGHT, QGIS_SERVER_WMS_MAX_WIDTH, QGIS_SERVER_API_RESOURCES_DIRECTORY,
  QGIS_SERVER_API_WFS3_MAX_LIMIT
}
 Environment variables to configure the server. More...
 
enum  Source { DEFAULT_VALUE, ENVIRONMENT_VARIABLE, INI_FILE }
 Source of the parameter used in the configuration. More...
 

Detailed Description

Provides some enum describing the environment currently supported for configuration.

Since
QGIS 3.0

Definition at line 37 of file qgsserversettings.h.

Member Enumeration Documentation

◆ EnvVar

Environment variables to configure the server.

Enumerator
QGIS_OPTIONS_PATH 
QGIS_SERVER_PARALLEL_RENDERING 
QGIS_SERVER_MAX_THREADS 
QGIS_SERVER_LOG_LEVEL 
QGIS_SERVER_LOG_FILE 
QGIS_SERVER_LOG_STDERR 
QGIS_PROJECT_FILE 
MAX_CACHE_LAYERS 
QGIS_SERVER_IGNORE_BAD_LAYERS 

Do not consider the whole project unavailable if it contains bad layers.

QGIS_SERVER_CACHE_DIRECTORY 
QGIS_SERVER_CACHE_SIZE 
QGIS_SERVER_SHOW_GROUP_SEPARATOR 

Show group (thousands) separator when formatting numeric values, defaults to false (since QGIS 3.8)

QGIS_SERVER_OVERRIDE_SYSTEM_LOCALE 

Override system locale (since QGIS 3.8)

QGIS_SERVER_WMS_MAX_HEIGHT 

Maximum height for a WMS request. The most conservative between this and the project one is used (since QGIS 3.6.2)

QGIS_SERVER_WMS_MAX_WIDTH 

Maximum width for a WMS request. The most conservative between this and the project one is used (since QGIS 3.6.2)

QGIS_SERVER_API_RESOURCES_DIRECTORY 

Base directory where HTML templates and static assets (e.g. images, js and css files) are searched for (since QGIS 3.10).

QGIS_SERVER_API_WFS3_MAX_LIMIT 

Maximum value for "limit" in a features request, defaults to 10000 (since QGIS 3.10).

Definition at line 52 of file qgsserversettings.h.

◆ Source

Source of the parameter used in the configuration.

Enumerator
DEFAULT_VALUE 
ENVIRONMENT_VARIABLE 
INI_FILE 

Definition at line 43 of file qgsserversettings.h.


The documentation for this class was generated from the following file: