Skip to content

Filling the config.json file

This section only concerns users of the QGIS Isogeo plugin in an On-Premises context.

The first time the plugin is launched, a config.json file is generated in the plugin installation directory.

Location of config.json file
C:\Users\%userprofile%\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\isogeo_search_engine\config.json
/home/%userprofile%/.local/share/QGIS/QGIS3/profiles/default/python/plugins/isogeo_search_engine\config.json

This file contains the following 5 parameters:

When it is created, this file contains a default setting corresponding to the SaaS mode:

{
    "add_metadata_url_portal": 0,
    "api_base_url": "https://v1.api.isogeo.com",
    "api_auth_url": "https://id.api.isogeo.com",
    "app_base_url": "https://app.isogeo.com",
    "help_base_url": "https://help.isogeo.com",
    "background_map_url": "type=xyz&format=image/png&styles=default&tileMatrixSet=250m&url=http://tile.openstreetmap.org/{z}/{x}/{y}.png",
    "portal_base_url": ""
}

To use the QGIS Isogeo plugin in an On-Premises environment, these settings must be adapted to your organization's environment:

  • api_base_url: Base URL of the Isogeo API hosted in your environment
  • api_auth_url: Authentication URL of the Isogeo API hosted in your environment
  • app_base_url: Base URL of the Isogeo administration platform hosted in your environment
  • help_base_url: default value to be retained if the Plugin user's machine has an Internet connection
  • background_map_url: default value to be retained if the Plugin user's machine has an Internet connection