AmigoCloud integration is included in QGIS starting from version 2.18.3 and up.
Installation
The easiest way to install QGIS is by using the standalone installer from QGIS.ORG.
API Access Token
Before connecting to the AmigoCloud backend, we need to setup an AmigoCloud API token. A token with proper access permissions can be generated using the AmigoCloud dashboard as described here: Generate API tokens. Make sure to create a User token type. Then create a new User Environment Variable AMIGOCLOUD_API_KEY with the value of the token.
Also add the environment variable AMIGOCLOUD_PAGE_SIZE=100
and GDAL_HTTP_UNSAFESSL=YES
To connect QGIS plugin to a custom AmigoCloud server, please add another environment variable with a URL to a server
AMIGOCLOUD_API_URL=https://www.amigocloud.com/api/v1
AmigoCloud Plugin
The QGIS AmigoCloud plugin can be installed from the QGIS Plugin Manager.
On Mac OS platform the plugin may fail with this error:
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
In this case MacOS users can resolve it by opening Finder and double clicking
/Applications/Python 3.6/Install Certificates.command
After successful installation, use the AmigoCloud plugin to add a vector layer:
AmigoCloud API token can be set as an environment variable, or pasted in Connection Settings view.
Select your project and dataset to create a QGIS vector layer
Comments
0 comments
Please sign in to leave a comment.