Konfigurace účtu služby Google¶
DHIS2 can connect to various Google service APIs. For instance, the DHIS2 Maps app can utilize the Google Earth Engine API to load Earth Engine map layers. There are 2 ways to obtain the Google API key.
Set it up yourself¶
Set up a Google service account and create a private key:
-
Vytvořte si účet služby Google. Nahlédněte prosím do Identifikátor Google platformy a její dokumentace.
-
Navštivte Google cloud console a přejděte na API Manager > Credentials > Create credentials > Service account key. Vyberte svůj účet služby a JSON jako klíč zadejte a klikněte na Create.
-
Přejmenujte klíč JSON na dhis-google-auth.json.
After downloading the key file, put the dhis-google-auth.json file in the DHIS2_HOME directory (the same location as the dhis.conf file). As an example this location could be:
/home/dhis/config/dhis-google-auth.json
Send an email to set up the Google Earth Engine API key¶
If you only intend to use the key for the Google Earth Engine map layers, you can simply send an email. See the Google Earth Engine API key documentation.
Bing Maps API key¶
To enable use of Bing Maps basemap layers, you need to set up the Bing Maps API key. See Bing Maps API key documentation for information on setting up the key.