Open-EO / openeo-qgis-plugin

QGIS Plugin to connect and use openEO compliant backends.
Apache License 2.0
17 stars 1 forks source link

openeo-qgis-plugin

QGIS Plugin to connect and use openEO compliant backends.

Compatible with backends compialnt wit openeo API version 0.4.0 and above. Full functionality is only provided for version 1.0.0-rc2.

Tested with QGIS 3.4.8-Madeira, but works with QGIS >= 3.0.0.

About

The openEO QGIS Plugin "OpenEO" allows connecting to an openEO backend, managing the user (batch) jobs and load the resulting images into a new QGIS Layer. It is also possible to adapt jobs by changing and adding processes. Even though it is generally possible to create own process graphs from scretch it is recommended to use the openEO web editor.

Features

Need some additional features? Leave an issue at this repository!

Install

There are two options on installing the plugin to your local QGIS Desktop application:

Install via Plugin Manager

This is the recommended way if you want to get the most recent stable version of the plugin.

  1. Start QGIS Desktop application
  2. Go to "Plugins" and then "Manage and Install Plugins"
  3. Go to "Settings" and make sure that "Show also experimental plugins" is activated
  4. Go to "Not Installed" and search for "OpenEO"
  5. Click on "OpenEO" and click "Install"
  6. The openEO logo should be visible in the toolbar

Install from GitHub repository

This is the recommended way if you want to get the most recent version of the plugin.

  1. Download this repository as zip file
  2. Start QGIS Desktop application
  3. Go to "Plugins" and then "Manage and Install Plugins"
  4. Click on "Install from ZIP" and choose the downloaded zip file
  5. Press "Install Plugin"
  6. You may have to activate it in the plugin manager (in "Installed")
  7. The openEO logo should be visible in the toolbar

Usage

First you have to connect to the server with your user credentials in the upper part of the Window. Then all existing jobs are displayed at the "Jobs" tab. There the jobs can be executed and displayed in QGIS. Pressing the "pencil" button on an job entry, a job adaption window will be displayed and the job can be edited and sent as a new job to the backend.

The following Screenshots show how it looks like:

create-processgraph job-list

Building

To build the plugin and deploy to your plugin directory you will need the pb_tool CLI tool.

To compile the plugin run the following command in the root directory of this repository:

pb_tool compile

Compiling is needed any time the resources.py file needs to be rebuilt.

To deploy the application to your QGIS plugins directory run the following command and reload the plugin within QGIS:

pb_tool deploy 

It's recommended to use the Plugin Reloader plugin within QGIS to easily reload the plugin during development.

Troubleshooting

QGIS cannot find plugin

Change pb_tool.cfg settings:

Mac

plugin_path: /Users/{USER}/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/

Linux

plugin_path: /home/{USER}/.local/share/QGIS/QGIS3/profiles/default/python/plugins

Windows

plugin_path: C:\Users\{USER}\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins