Skip to main content

gis-client-conf

Serverside Client Configuration

This document contains the list of global settings for the client which can be configured via the gis-client-config.js file. This file is considered to be accessed by the client from the path ./gis-client-config.js. A template containing all the default values can be found here.

NameDescriptionDefault
shogunBaseThe base URL of SHOGun, e.g. /api or https://my-shogun.org/. If set to false no requests to the backend API will be made by the application.'/'
keycloak.enabledWhether Keycloak is used for authentication or not. Usually this should only set to false in client only mode or if no authentication is needed to access any SHOGun endpoints at all.false
keycloak.hostThe Keycloak host, e.g. /auth or https://localhost/auth.null
keycloak.realmThe Keycloak realm that should be used for authentication, e.g. SHOGun.null
keycloak.clientIdThe Keycloak client that should be used for authentication, e.g. shogun-client.null
keycloak.onLoadActionSee here for details.'check-sso'
print.urlThe url of the MapFish Print servlet.'/print'
pluginsThe list of plugins to be loaded.[]
plugin.nameThe name of the plugin.undefined
plugin.exposedPathsThe list of exposed paths.undefined
plugin.resourcePathThe resource path.undefined
geoserver.baseThe base url of the GeoServer./geoserver
geoserver.upload.workspaceThe workspace the uploads should be placed in.'SHOGUN-UPLOADS'
geoserver.upload.limitThe upload size limit in bytes (note: this is the client evaluation only!).200000000 (~ 200MB)
geoserver.upload.authorizedRolesThe list of role names the upload should be allowed/visible to (note: this is the client evaluation only!).['admin']
search.nominatimUrlUrl to a nominatim instance.'https://nominatim.openstreetmap.org/search'
search.solrBasePathBase path to a solr instance.'/search/query'
search.coreNameSolr core name.'search'
search.defaultUseViewBoxWhether the search is restricted to the current view box.true
search.activateLayerOnClickMake the layer visible if a search result is selected.true
search.showSearchResultDrawerWhether the click on a search result entry should open a drawer with details on the search result or not.false
search.groupByCategoryGroups search results by 'category' text field. If disabled, the layer title will be used instead.true
search.useSolrHighlightingEnable/disable solr search result highlighting.true
search.delayDelay in milliseconds before search is triggered (debouncing).1000
search.minCharsMinimum search term length for the search to be triggered.3
search.solrQueryConfig.queryParserSolr query parser. Must be either 'lucene', 'dismax' or 'edismax'.'edismax'
search.solrQueryConfig.rowsPerQueryNumber of requested rows per solr query.100
search.solrQueryConfig.tagPreHTML tag applied before search highlight.<b>
search.solrQueryConfig.tagPostHTML tag applied after search highlight.</b>
search.solrQueryConfig.requireFieldMatchOnly query terms aligning with the field being highlighted will in turn be highlighted.true
featureEditRoles.authorizedRolesForCreateThe list of role names the feature editing tools including the create options should be allowed/visible to (note: this is the client evaluation only!). String and regular expressions are supported.[]
featureEditRoles.authorizedRolesForUpdateThe list of role names the feature editing tools including the update options should be allowed/visible to (note: this is the client evaluation only!). String and regular expressions are supported.[]
featureEditRoles.authorizedRolesForDeleteThe list of role names the feature editing tools including the delete options should be allowed/visible to (note: this is the client evaluation only!). String and regular expressions are supported.[]
wfsLockFeatureEnabledWhether WFS LockFeature is enabled during feature editing or not.false
documentationButtonVisibleWhether the button in the user menu to open the documentation is visible or not.true
enableFallbackConfigWhether the default application configuration should be loaded without any given application ID or not.true