Configuration reference¶
This section formally describes the GBD WebSuite configuration, which is nested key-value structure. The keys are always strings, the values should belong to one of the types listed below.
The top-level configuration is of type ApplicationConfig.
Basic types¶
Fundamental data types, as used in the Python language.
|
String, must be in the UTF-8 encoding |
|
Boolean true or false |
|
Integer number |
|
Floating-point number |
|
Generic key-value object |
[ |
List (array) of elements of type |
Special types¶
The values of these types are strings and numbers assoicated with a special semantics.
|
CRS code like “EPSG:3857” |
|
Valid readable directory path on the server |
|
String like “1w 2d 3h 4m 5s” or a number of seconds |
|
Valid readable file path on the server |
|
String with {attribute} placeholders |
|
Regular expression, as used in Python |
|
An http or https URL |
ApplicationConfig¶
Application configuration
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
default access mode |
no |
||
api |
system-wide server actions |
no |
||
auth |
authorization methods and options |
no |
||
client |
gws client configuration |
no |
||
csv |
csv format options |
no |
||
db |
database configuration |
no |
||
fonts |
fonts configuration |
no |
||
locales |
[ |
default locales for all projects |
no |
|
projectDirs |
[ |
directories with additional projects |
no |
|
projectPaths |
[ |
additional project paths |
no |
|
projects |
project configurations |
no |
||
seeding |
configuration for seeding jobs |
no |
||
server |
server engine options |
no |
||
storage |
storage configuration |
no |
||
timeZone |
|
timezone for this server |
no |
“UTC” |
web |
webserver configuration |
no |
AccessRuleConfig¶
Access rights definition for authorization roles
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
role |
|
a roles to which this rule applies |
yes |
|
type |
access type (deny or allow) |
yes |
ActionAlkisBuchungConfig¶
Access to the Grundbuch (register) information
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
yes |
ActionAlkisConfig¶
Flurstückssuche (cadaster parlcels search) action
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
alkisSchema |
|
schema where ALKIS tables are stored, must be readable |
no |
“public” |
buchung |
access to the Grundbuch (register) information |
no |
||
db |
|
database provider ID |
no |
|
disableApi |
|
disable external access to this extension |
no |
false |
eigentuemer |
access to the Eigentümer (owner) information |
no |
||
excludeGemarkung |
[ |
Gemarkung (AU) IDs to exclude from search |
no |
|
featureFormat |
template for on-screen Flurstueck details |
no |
||
indexSchema |
|
schema to store gws internal indexes, must be writable |
no |
“gws” |
limit |
|
search results limit |
no |
100 |
printTemplate |
template for printed Flurstueck details |
no |
||
type |
|
“alkis” |
yes |
|
ui |
ui options |
no |
ActionAlkisEigentuemerConfig¶
Access to the Eigentümer (owner) information
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
yes |
||
controlMode |
|
restricted mode enabled |
no |
false |
controlRules |
[ |
list of regular expression for the restricted input control |
no |
|
logTable |
|
data access protocol table name |
no |
ActionAlkisUiConfig¶
Flurstückssuche UI configuration.
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
autoSpatialSearch |
|
activate spatial search after submit |
no |
false |
gemarkungListMode |
|
plain = only “gemarkung”, combined = “gemarkung(gemeinde)”, tree = “gemeinde”, then “gemarkung” |
no |
“combined” |
searchSelection |
|
search in selection enabled |
no |
false |
searchSpatial |
|
spatial search enabled |
no |
false |
useExport |
|
export function enabled |
no |
false |
usePick |
|
pick mode enabled |
no |
false |
useSelect |
|
select mode enabled |
no |
false |
ActionAssetConfig¶
Asset generation action
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
type |
|
“asset” |
yes |
ActionAuthConfig¶
Authorization action
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
type |
|
“auth” |
yes |
ActionDimensionConfig¶
Dimension action
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
layers |
[ |
target layer uids |
no |
|
pixelTolerance |
|
pixel tolerance |
no |
10 |
type |
|
“dimension” |
yes |
ActionDproconConfig¶
D-Procon action
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
alkisSchema |
|
schema where ALKIS tables are stored, must be readable |
no |
“public” |
cacheTime |
|
no |
“24h” |
|
crs |
|
no |
||
dataTable |
table to store consolidated results |
yes |
||
dataTablePattern |
|
pattern for result tables to consolidate |
yes |
|
db |
|
no |
||
indexSchema |
|
schema to store gws internal indexes, must be writable |
no |
“gws” |
infoTitle |
|
no |
||
requestTable |
table to store outgoing requests |
yes |
||
requestUrl |
|
yes |
||
type |
|
“dprocon” |
yes |
ActionEditConfig¶
Feature edit action
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
type |
|
“edit” |
yes |
ActionGekosConfig¶
GekoS action
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
crs |
|
CRS for gekos data |
no |
|
db |
|
database provider uid |
no |
|
instances |
[ |
gek-online instances |
no |
|
params |
|
additional parameters for gek-online calls |
yes |
|
position |
position correction for points |
no |
||
table |
sql table configuration |
yes |
||
type |
|
“gekos” |
yes |
|
url |
|
gek-online base url |
yes |
ActionGekosPositionConfig¶
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
angle |
|
angle for points repelling |
no |
0 |
distance |
|
radius for points repelling |
no |
0 |
offsetX |
|
x-offset for points |
yes |
|
offsetY |
|
y-offset for points |
yes |
ActionGeorisksAarteLinkConfig¶
AarteLink system configuration
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
serviceLogin |
|
service login |
yes |
|
servicePassword |
|
service password |
yes |
|
serviceUrl |
|
service url |
yes |
|
systemKey |
|
systemKey for the aarteLink connector |
yes |
ActionGeorisksConfig¶
Georisks action
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
aarteLink |
AarteLink system configuration |
yes |
||
access |
access rights |
no |
||
db |
|
database provider uid |
no |
|
report |
report function config |
yes |
||
type |
|
“georisks” |
yes |
ActionGeorisksReportConfig¶
Configuration for the report function
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
imageQuality |
|
jpeg quality level |
no |
75 |
maxImageLength |
|
max image size in megabytes |
no |
5 |
maxImageSize |
|
max image size in pixels |
no |
1000 |
privacyPolicyLink |
|
url of the privacy policy document |
no |
ActionMapConfig¶
Map rendering action
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
type |
|
“map” |
yes |
ActionOwsConfig¶
OWS server action
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
templates |
no |
|||
type |
|
“ows” |
yes |
ActionOwsTemplatesConfig¶
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
wfsGetCapabilities |
no |
|||
wmsGetCapabilities |
no |
ActionPrinterConfig¶
Print action
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
type |
|
“printer” |
yes |
ActionProjectConfig¶
Project information action
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
type |
|
“project” |
yes |
ActionRemoteadminConfig¶
Remote administration action
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
passwordFile |
|
path to the password file |
no |
“/gws-var/.remoteadmin” |
type |
|
“remoteadmin” |
yes |
ActionSearchConfig¶
Search action
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
limit |
|
search results limit |
no |
1000 |
pixelTolerance |
|
pixel tolerance for geometry searches |
no |
5 |
type |
|
“search” |
yes |
ActionStorageConfig¶
Storage action
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
type |
|
“storage” |
yes |
ApiConfig¶
Server actions
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
default access mode |
no |
||
actions |
[ActionConfig…] |
available actions |
no |
ApplicationFontConfig¶
Fonts configuration.
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
dir |
|
directory with custom fonts |
yes |
ApplicationSSLConfig¶
SSL configuration
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
crt |
|
crt file location |
yes |
|
key |
|
key file location |
yes |
ApplicationSeedingConfig¶
Seeding options
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
concurrency |
|
number of concurrent seeding jobs |
no |
1 |
maxTime |
|
max. time for a seeding job |
no |
600 |
ApplicationWebConfig¶
Web server configuration
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
sites |
configured sites |
no |
||
ssl |
ssl configuration |
no |
AttributeConfig¶
Attribute configuration
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
name |
|
internal name |
no |
|
title |
|
title |
no |
|
type |
|
type |
no |
AuthConfig¶
Authentication and authorization options
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
cookie |
session cookie parameters |
no |
||
httpEnabled |
|
http authorization enabled |
no |
true |
httpsOnly |
|
http authorization via ssl only |
no |
false |
providers |
authorization providers |
yes |
||
session |
session configuration |
no |
AuthCookieConfig¶
Session cookie parameters
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
name |
|
name for the cookie |
no |
“auth” |
path |
|
cookie path |
no |
“/” |
AuthProviderFileConfig¶
File-based authorization provider
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
path |
|
path to the users json file |
yes |
|
type |
|
“file” |
yes |
AuthProviderLdapConfig¶
LDAP authorization provider
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
activeDirectory |
|
true if the LDAP server is ActiveDirectory |
no |
true |
bindDN |
|
bind DN |
yes |
|
bindPassword |
|
bind password |
yes |
|
displayNameFormat |
|
format for user’s display name |
no |
“{dn}” |
timeout |
|
LDAP server timeout |
no |
30 |
type |
|
“ldap” |
yes |
|
url |
|
LDAP server url “ldap://host:port/baseDN?searchAttribute” |
yes |
|
users |
map LDAP filters to gws roles |
yes |
AuthProviderLdapUserSpec¶
Map LDAP filters to authorization roles
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
matches |
|
LDAP filter the account has to match |
no |
|
memberOf |
|
LDAP group the account has to be a member of |
no |
|
roles |
[ |
gws role names |
yes |
AuthSessionConfig¶
Session configuration
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
heartBeat |
|
refresh sessions automatically |
no |
false |
lifeTime |
|
session life time |
no |
1200 |
storage |
|
session storage engine |
no |
“sqlite” |
ClientConfig¶
GWS client configuration
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
addElements |
add elements to the parent element list |
no |
||
elements |
client UI elements |
no |
||
options |
|
client options |
no |
|
removeElements |
remove elements from the parent element list |
no |
ClientElementConfig¶
GWS client UI element configuration
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
after |
|
insert after this tag |
no |
|
before |
|
insert before this tag |
no |
|
tag |
|
element tag |
yes |
CsvConfig¶
CSV export settings
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
decimal |
|
no |
“.” |
|
delimiter |
|
field delimiter |
no |
“,” |
encoding |
|
encoding for CSV files |
no |
“utf8” |
quote |
|
quote sign |
no |
“”” |
DbProviderPostgresConfig¶
Postgres/Postgis database provider
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
connectTimeout |
|
connection timeout |
no |
0 |
database |
|
database name |
no |
|
host |
|
database host |
no |
“localhost” |
password |
|
password |
yes |
|
port |
|
database port |
no |
5432 |
timeout |
|
query timeout |
no |
0 |
type |
|
“postgres” |
yes |
|
uid |
|
unique id |
yes |
|
user |
|
username |
yes |
DocumentRootConfig¶
Base directory for assets
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
allowMime |
[ |
allowed mime types |
no |
|
denyMime |
[ |
disallowed mime types (from the standard list) |
no |
|
dir |
|
directory path |
yes |
Extent¶
An array of 4 elements representing extent coordinates [minx, miny, maxx, maxy]
FormatConfig¶
Feature format
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
category |
feature category |
no |
||
dataModel |
attribute metadata |
no |
||
description |
template for feature descriptions |
no |
||
label |
feature label on the map |
no |
||
teaser |
template for feature teasers (short descriptions) |
no |
||
title |
feature title |
no |
LayerCacheConfig¶
Cache configuration
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
enabled |
|
cache is enabled |
no |
false |
maxAge |
|
cache max. age |
no |
“7d” |
maxLevel |
|
max. zoom level to cache |
no |
1 |
LayerClientOptions¶
Client options for a layer
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
exclusive |
|
only one of this layer’s children is visible at a time |
no |
false |
expanded |
|
the layer is expanded in the list view |
no |
false |
listed |
|
the layer is displayed in this list view |
no |
true |
selected |
|
the layer is intially selected |
no |
false |
unfolded |
|
the layer is not listed, but its children are |
no |
false |
visible |
|
the layer is intially visible |
no |
true |
LayerFlattenConfig¶
Flatten the layer hierarchy.
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
level |
|
flatten level |
yes |
|
useGroups |
|
use group names (true) or image layer names (false) |
no |
false |
LayerGridConfig¶
Grid configuration for caches and tiled data
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
metaBuffer |
|
pixel buffer |
no |
0 |
metaSize |
|
number of meta-tiles to fetch |
no |
0 |
origin |
|
position of the first tile (nw or sw) |
no |
“nw” |
tileSize |
|
tile size |
no |
256 |
LayerGroupConfig¶
Group layer
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
clientOptions |
options for the layer display in the client |
no |
||
description |
template for the layer description |
no |
||
edit |
editing permissions |
no |
||
extent |
layer extent |
no |
||
extentBuffer |
|
extent buffer |
no |
|
featureFormat |
feature formatting options |
no |
||
layers |
[LayerConfig…] |
layers in this group |
yes |
|
legend |
legend configuration |
no |
||
meta |
layer meta data |
no |
||
opacity |
|
layer opacity |
no |
1 |
search |
layer search configuration |
no |
||
services |
OWS services options |
no |
||
title |
|
layer title |
no |
|
type |
|
“group” |
yes |
|
uid |
|
layer unique id |
no |
|
zoom |
layer resolutions and scales |
no |
LayerOsmConfig¶
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
clientOptions |
options for the layer display in the client |
no |
||
description |
template for the layer description |
no |
||
edit |
editing permissions |
no |
||
extent |
layer extent |
no |
||
extentBuffer |
|
extent buffer |
no |
|
featureFormat |
feature formatting options |
no |
||
legend |
legend configuration |
no |
||
meta |
layer meta data |
no |
||
opacity |
|
layer opacity |
no |
1 |
search |
layer search configuration |
no |
||
services |
OWS services options |
no |
||
title |
|
layer title |
no |
|
type |
|
“osm” |
yes |
|
uid |
|
layer unique id |
no |
|
zoom |
layer resolutions and scales |
no |
LayerQgisConfig¶
Automatic QGIS layer
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
cache |
cache configuration |
no |
||
clientOptions |
options for the layer display in the client |
no |
||
description |
template for the layer description |
no |
||
directRender |
[ |
QGIS providers that should be rendered directly |
no |
|
directSearch |
[ |
QGIS providers that should be searched directly |
no |
|
display |
layer display mode |
no |
“box” |
|
edit |
editing permissions |
no |
||
extent |
layer extent |
no |
||
extentBuffer |
|
extent buffer |
no |
|
featureFormat |
feature formatting options |
no |
||
flatten |
flatten the layer hierarchy |
no |
||
grid |
grid configuration |
no |
||
imageFormat |
image format |
no |
“png8” |
|
legend |
legend configuration |
no |
||
meta |
layer meta data |
no |
||
opacity |
|
layer opacity |
no |
1 |
path |
|
path to a qgs project file |
yes |
|
search |
layer search configuration |
no |
||
services |
OWS services options |
no |
||
sourceLayers |
source layers to use as roots |
no |
||
title |
|
layer title |
no |
|
type |
|
“qgis” |
yes |
|
uid |
|
layer unique id |
no |
|
zoom |
layer resolutions and scales |
no |
LayerQgiswmsConfig¶
WMS layer from a Qgis project
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
cache |
cache configuration |
no |
||
clientOptions |
options for the layer display in the client |
no |
||
description |
template for the layer description |
no |
||
display |
|
no |
“box” |
|
edit |
editing permissions |
no |
||
extent |
layer extent |
no |
||
extentBuffer |
|
extent buffer |
no |
|
featureFormat |
feature formatting options |
no |
||
grid |
grid configuration |
no |
||
imageFormat |
image format |
no |
“png8” |
|
legend |
legend configuration |
no |
||
meta |
layer meta data |
no |
||
opacity |
|
layer opacity |
no |
1 |
path |
|
qgis project path |
yes |
|
search |
layer search configuration |
no |
||
services |
OWS services options |
no |
||
sourceLayers |
source layers to use |
no |
||
title |
|
layer title |
no |
|
type |
|
“qgiswms” |
yes |
|
uid |
|
layer unique id |
no |
|
zoom |
layer resolutions and scales |
no |
LayerServicesConfig¶
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
wmsEnabled |
|
enable this layer for the WMS service |
no |
true |
LayerSqlConfig¶
SQL-based layer
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
clientOptions |
options for the layer display in the client |
no |
||
dataModel |
no |
|||
db |
|
database provider uid |
no |
|
description |
template for the layer description |
no |
||
edit |
editing permissions |
no |
||
editStyle |
style for features being edited |
no |
||
extent |
layer extent |
no |
||
extentBuffer |
|
extent buffer |
no |
|
featureFormat |
feature formatting options |
no |
||
legend |
legend configuration |
no |
||
loadingStrategy |
|
loading strategy for features (‘all’, ‘bbox’) |
no |
“all” |
meta |
layer meta data |
no |
||
opacity |
|
layer opacity |
no |
1 |
search |
layer search configuration |
no |
||
services |
OWS services options |
no |
||
style |
style for features |
no |
||
table |
sql table configuration |
yes |
||
title |
|
layer title |
no |
|
type |
|
“sql” |
yes |
|
uid |
|
layer unique id |
no |
|
zoom |
layer resolutions and scales |
no |
LayerTileConfig¶
Tile layer
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
cache |
cache configuration |
no |
||
clientOptions |
options for the layer display in the client |
no |
||
description |
template for the layer description |
no |
||
display |
layer display mode |
no |
“tile” |
|
edit |
editing permissions |
no |
||
extent |
layer extent |
no |
||
extentBuffer |
|
extent buffer |
no |
|
featureFormat |
feature formatting options |
no |
||
grid |
grid configuration |
no |
||
imageFormat |
image format |
no |
“png8” |
|
legend |
legend configuration |
no |
||
maxRequests |
|
max concurrent requests to this source |
no |
0 |
meta |
layer meta data |
no |
||
opacity |
|
layer opacity |
no |
1 |
search |
layer search configuration |
no |
||
service |
service configuration |
no |
||
services |
OWS services options |
no |
||
title |
|
layer title |
no |
|
type |
|
“tile” |
yes |
|
uid |
|
layer unique id |
no |
|
url |
|
rest url with placeholders {x}, {y} and {z} |
yes |
|
zoom |
layer resolutions and scales |
no |
LayerTileServiceConfig¶
Tile service configuration
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
crs |
|
service CRS |
no |
“EPSG:3857” |
extent |
service extent |
no |
||
origin |
|
position of the first tile (nw or sw) |
no |
“nw” |
tileSize |
|
tile size |
no |
256 |
LayerWfsConfig¶
WFS layer
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
capsCacheMaxAge |
|
max cache age for capabilities documents |
no |
“1d” |
clientOptions |
options for the layer display in the client |
no |
||
dataModel |
no |
|||
description |
template for the layer description |
no |
||
edit |
editing permissions |
no |
||
editStyle |
style for features being edited |
no |
||
extent |
layer extent |
no |
||
extentBuffer |
|
extent buffer |
no |
|
featureFormat |
feature formatting options |
no |
||
invertAxis |
[ |
projections that have an inverted axis (yx) |
no |
|
legend |
legend configuration |
no |
||
loadingStrategy |
|
loading strategy for features (‘all’, ‘bbox’) |
no |
“all” |
maxRequests |
|
max concurrent requests to this source |
no |
0 |
meta |
layer meta data |
no |
||
opacity |
|
layer opacity |
no |
1 |
search |
layer search configuration |
no |
||
services |
OWS services options |
no |
||
sourceLayers |
source layers to use |
no |
||
style |
style for features |
no |
||
title |
|
layer title |
no |
|
type |
|
“wfs” |
yes |
|
uid |
|
layer unique id |
no |
|
url |
|
service url |
yes |
|
zoom |
layer resolutions and scales |
no |
LayerWmsConfig¶
WMS layer
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
cache |
cache configuration |
no |
||
capsCacheMaxAge |
|
max cache age for capabilities documents |
no |
“1d” |
capsLayersBottomUp |
|
layers are listed from bottom to top in the GetCapabilities document |
no |
false |
clientOptions |
options for the layer display in the client |
no |
||
description |
template for the layer description |
no |
||
display |
layer display mode |
no |
“box” |
|
edit |
editing permissions |
no |
||
extent |
layer extent |
no |
||
extentBuffer |
|
extent buffer |
no |
|
featureFormat |
feature formatting options |
no |
||
getMapParams |
|
additional parameters for GetMap requests |
no |
|
grid |
grid configuration |
no |
||
imageFormat |
image format |
no |
“png8” |
|
invertAxis |
[ |
projections that have an inverted axis (yx) |
no |
|
legend |
legend configuration |
no |
||
maxRequests |
|
max concurrent requests to this source |
no |
0 |
meta |
layer meta data |
no |
||
opacity |
|
layer opacity |
no |
1 |
search |
layer search configuration |
no |
||
services |
OWS services options |
no |
||
sourceLayers |
source layers to use |
no |
||
title |
|
layer title |
no |
|
type |
|
“wms” |
yes |
|
uid |
|
layer unique id |
no |
|
url |
|
service url |
yes |
|
zoom |
layer resolutions and scales |
no |
LayerWmtsConfig¶
WMTS layer
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
cache |
cache configuration |
no |
||
capsCacheMaxAge |
|
max cache age for capabilities documents |
no |
“1d” |
clientOptions |
options for the layer display in the client |
no |
||
description |
template for the layer description |
no |
||
display |
layer display mode |
no |
“tile” |
|
edit |
editing permissions |
no |
||
extent |
layer extent |
no |
||
extentBuffer |
|
extent buffer |
no |
|
featureFormat |
feature formatting options |
no |
||
grid |
grid configuration |
no |
||
imageFormat |
image format |
no |
“png8” |
|
legend |
legend configuration |
no |
||
maxRequests |
|
max concurrent requests to this source |
no |
0 |
meta |
layer meta data |
no |
||
opacity |
|
layer opacity |
no |
1 |
params |
|
query string parameters |
no |
|
search |
layer search configuration |
no |
||
services |
OWS services options |
no |
||
sourceLayer |
|
WMTS layer name |
no |
|
sourceStyle |
|
WMTS style name |
no |
“default” |
title |
|
layer title |
no |
|
type |
|
“wmts” |
yes |
|
uid |
|
layer unique id |
no |
|
url |
|
service url |
yes |
|
zoom |
layer resolutions and scales |
no |
MapConfig¶
Map configuration
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
center |
map center |
no |
||
coordinatePrecision |
|
precision for coordinates |
no |
|
crs |
|
crs for this map |
no |
“EPSG:3857” |
extent |
map extent |
yes |
||
extentBuffer |
|
extent buffer |
no |
|
layers |
[LayerConfig…] |
collection of layers for this map |
yes |
|
title |
|
map title |
no |
|
uid |
|
unique id |
no |
|
zoom |
map scales and resolutions |
no |
MetaConfig¶
Object metadata configuration
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
abstract |
|
object abstract description |
no |
|
attribution |
|
attribution (copyright) string |
no |
|
contact |
contact information |
no |
||
image |
|
image (logo) url |
no |
|
images |
|
further images |
no |
|
keywords |
[ |
keywords |
no |
[] |
name |
|
object internal name |
no |
|
title |
|
object title |
no |
|
url |
|
object metadata url |
no |
MetaContactConfig¶
Object metadata configuration
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
address |
|
no |
||
area |
|
no |
||
city |
|
no |
||
country |
|
no |
||
|
no |
|||
fax |
|
no |
||
organization |
|
no |
||
person |
|
no |
||
phone |
|
no |
||
position |
|
no |
||
zip |
|
no |
Point¶
Point coordinates [x, y]
ProjectConfig¶
Project configuration
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
api |
project-specific actions |
no |
||
assets |
project-specific assets options |
no |
||
client |
project-specific gws client configuration |
no |
||
description |
template for the project description |
no |
||
locales |
[ |
project locales |
no |
|
map |
Map configuration |
no |
||
meta |
project metadata |
no |
||
multi |
|
filename pattern for a multi-project template |
no |
|
overviewMap |
Overview map configuration |
no |
||
printer |
printer configuration |
no |
||
search |
project-wide search configuration |
no |
||
title |
|
project title |
no |
|
uid |
|
unique id |
no |
SearchConfig¶
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
enabled |
|
search is enabled |
no |
true |
providers |
list of search prodivers |
no |
SearchProviderNominatimConfig¶
Nominatim (OSM) search provider
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
country |
|
country to limit the search |
no |
|
defaultContext |
|
default spatial context (‘view’ or ‘map’) |
no |
|
featureFormat |
feature formatting options |
no |
||
language |
|
language to return the results in |
no |
|
title |
|
search results title |
no |
|
type |
|
“nominatim” |
yes |
|
uid |
|
unique ID |
no |
SearchProviderQgispostgresConfig¶
Qgis/Postgres automatic search provider
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
defaultContext |
|
default spatial context (‘view’ or ‘map’) |
no |
|
ds |
|
qgis data source |
yes |
|
featureFormat |
feature formatting options |
no |
||
title |
|
search results title |
no |
|
type |
|
“qgispostgres” |
yes |
|
uid |
|
unique ID |
no |
SearchProviderQgiswmsConfig¶
Qgis/WMS automatic search provider
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
defaultContext |
|
default spatial context (‘view’ or ‘map’) |
no |
|
featureFormat |
feature formatting options |
no |
||
path |
|
project path |
yes |
|
sourceLayers |
source layers to use |
no |
||
title |
|
search results title |
no |
|
type |
|
“qgiswms” |
yes |
|
uid |
|
unique ID |
no |
SearchProviderSqlConfig¶
Database-based search
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
db |
|
database provider uid |
no |
|
defaultContext |
|
default spatial context (‘view’ or ‘map’) |
no |
|
featureFormat |
feature formatting options |
no |
||
geometryRequired |
|
no |
false |
|
keywordRequired |
|
no |
false |
|
sort |
|
sort expression |
no |
|
table |
sql table configuration |
yes |
||
title |
|
search results title |
no |
|
type |
|
“sql” |
yes |
|
uid |
|
unique ID |
no |
SearchProviderWfsConfig¶
WMS search
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
capsCacheMaxAge |
|
max cache age for capabilities documents |
no |
“1d” |
defaultContext |
|
default spatial context (‘view’ or ‘map’) |
no |
|
featureFormat |
feature formatting options |
no |
||
invertAxis |
[ |
projections that have an inverted axis (yx) |
no |
|
maxRequests |
|
max concurrent requests to this source |
no |
0 |
sourceLayers |
source layers to use |
no |
||
title |
|
search results title |
no |
|
type |
|
“wfs” |
yes |
|
uid |
|
unique ID |
no |
|
url |
|
service url |
yes |
SearchProviderWmsConfig¶
WMS search
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
access |
access rights |
no |
||
capsCacheMaxAge |
|
max cache age for capabilities documents |
no |
“1d” |
capsLayersBottomUp |
|
layers are listed from bottom to top in the GetCapabilities document |
no |
false |
defaultContext |
|
default spatial context (‘view’ or ‘map’) |
no |
|
featureFormat |
feature formatting options |
no |
||
invertAxis |
[ |
projections that have an inverted axis (yx) |
no |
|
maxRequests |
|
max concurrent requests to this source |
no |
0 |
sourceLayers |
source layers to use |
no |
||
title |
|
search results title |
no |
|
type |
|
“wms” |
yes |
|
uid |
|
unique ID |
no |
|
url |
|
service url |
yes |
ServerConfig¶
Server module configuation
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
autoRun |
|
shell command to run before server start |
no |
|
logLevel |
logging level |
no |
“INFO” |
|
mapproxy |
bundled Mapproxy module |
no |
||
qgis |
bundled Qgis module |
no |
||
spool |
spool server module |
no |
||
timeout |
|
server timeout |
no |
60 |
web |
web server module |
no |
ServerMapproxyConfig¶
Mapproxy server module
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
enabled |
|
the module is enabled |
no |
true |
host |
|
no |
“localhost” |
|
port |
|
no |
5000 |
|
threads |
|
number of threads for this module |
no |
0 |
workers |
|
number of processes for this module |
no |
4 |
ServerQgisConfig¶
Bundled QGIS server module
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
debug |
|
QGIS_DEBUG (env. variable) |
no |
0 |
enabled |
|
the module is enabled |
no |
true |
host |
|
no |
“localhost” |
|
legend |
|
default legend settings |
no |
|
maxCacheLayers |
|
MAX_CACHE_LAYERS (env. variable) |
no |
4000 |
maxRequests |
|
max concurrent requests to this server |
no |
6 |
port |
|
no |
4000 |
|
searchPathsForSVG |
[ |
searchPathsForSVG (ini setting) |
no |
|
serverCacheSize |
|
QGIS_SERVER_CACHE_SIZE (env. variable) |
no |
10000000 |
serverLogLevel |
|
QGIS_SERVER_LOG_LEVEL (env. variable) |
no |
2 |
threads |
|
number of threads for this module |
no |
0 |
workers |
|
number of processes for this module |
no |
4 |
ServerSpoolConfig¶
Spool server module
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
enabled |
|
the module is enabled |
no |
true |
jobFrequency |
|
background jobs checking frequency |
no |
3 |
monitorFrequency |
|
filesystem changes check frequency |
no |
30 |
threads |
|
number of threads for this module |
no |
0 |
workers |
|
number of processes for this module |
no |
4 |
ServerWebConfig¶
Web server module
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
enabled |
|
the module is enabled |
no |
true |
maxRequestLength |
|
max request length in megabytes |
no |
10 |
threads |
|
number of threads for this module |
no |
0 |
workers |
|
number of processes for this module |
no |
4 |
SourceLayerFilterConfig¶
Layer filter
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
level |
|
use layers at this level |
no |
0 |
names |
[ |
use these layer names (top-to-bottom order) |
no |
|
pattern |
|
match a pattern against the layer full path |
no |
SqlTableConfig¶
SQL database table
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
geometryColumn |
|
geometry column name |
no |
|
keyColumn |
|
primary key column name |
no |
“id” |
name |
|
table name |
yes |
|
searchColumn |
|
column to be searched for |
no |
StorageSqliteConfig¶
Sqlite-based storage
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
path |
|
no |
||
type |
|
“sqlite” |
yes |
StyleProps¶
Feature style
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
content |
|
css rules |
no |
|
text |
|
raw style content |
no |
|
type |
|
style type (“css”) |
yes |
TemplateConfig¶
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
dataModel |
user-editable template attributes |
no |
||
path |
|
path to a template file |
no |
|
qualityLevels |
list of quality levels supported by the template |
no |
||
text |
|
template content |
no |
|
title |
|
template title |
no |
|
type |
|
template type |
yes |
|
uid |
|
unique id |
no |
TemplateHtmlConfig¶
HTML template
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
dataModel |
user-editable template attributes |
no |
||
path |
|
path to a template file |
no |
|
qualityLevels |
list of quality levels supported by the template |
no |
||
text |
|
template content |
no |
|
title |
|
template title |
no |
|
type |
|
“html” |
yes |
|
uid |
|
unique id |
no |
TemplateQgisConfig¶
Qgis print template
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
dataModel |
user-editable template attributes |
no |
||
path |
|
yes |
||
qualityLevels |
list of quality levels supported by the template |
no |
||
text |
|
template content |
no |
|
title |
|
template title |
no |
|
type |
|
“qgis” |
yes |
|
uid |
|
unique id |
no |
TemplateQualityLevel¶
Quality level for a template
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
dpi |
|
dpi value |
yes |
|
name |
|
level name |
no |
WebSiteConfig¶
Site (virtual host) configuration
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
assets |
assets location and options |
no |
||
cors |
cors configuration |
no |
||
errorPage |
error page template |
no |
||
host |
|
host name |
no |
“*” |
reversedRewrite |
reversed rewrite rules |
no |
||
reversedUrl |
|
base url for reversed addresses |
no |
|
rewrite |
rewrite rules |
no |
||
root |
document root location and options |
yes |
WebSiteCorsConfig¶
CORS options
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
allowCredentials |
|
no |
false |
|
allowHeaders |
[ |
no |
||
allowOrigin |
|
no |
“*” |
|
enabled |
|
no |
false |
WebSiteRewriteRule¶
Rewrite rule
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
match |
|
expression to match the url against |
yes |
|
options |
|
additional options |
no |
|
target |
|
target url with placeholders |
yes |
ZoomConfig¶
Zoom levels and resolutions
Properties:
name |
type |
required |
default |
|
---|---|---|---|---|
initResolution |
|
initial resolution |
no |
|
initScale |
|
initial scale |
no |
|
maxResolution |
|
maximal resolution |
no |
|
maxScale |
|
maximal scale |
no |
|
minResolution |
|
minimal resolution |
no |
|
minScale |
|
minimal scale |
no |
|
resolutions |
[ |
allowed resolutions |
no |
|
scales |
[ |
allowed scales |
no |
ActionConfig¶
One of:
LayerConfig¶
One of:
SearchProviderConfig¶
One of: