A QGIS 3 processing plugin to query and return data in GeoTIFF format from an Open Data Cube.
Contents
Documentation datacube-qgis.readthedocs.io
The Data Cube plugin is a processing plugin as opposed to a docked or panel type plugin. This was done to reduce PyQt UI development, but it is a little restrictive for future development (of user interface features).
There is scope to add more tools (processing algorithms) to the toolbox (provider). This can be done by
writing a datacube_query.algs
class that subclasses datacube_query.algs.__base__.BaseAlgorithm
,
importing that class in datacube_query.provider
and appending the class to
datacube_query.provider.DataCubeQueryProvider.algs
.
There are some make files (win and *nix) to run tests and build a zipped plugin and/or static docs.
make # default target, will run make clean, make doc and make build make build # build the plugin from the current source tree make doc # build the static docs make clean # explicitly clean up the source tree make test # run the tests
There's no API documentation as such. The plugin code is only meant to be used from a GUI, but the code is fairly well commented. The user docs are static HTML included with the zipped plugin file, and also are automatically built at datacube-qgis.readthedocs.io from a commit hook to the github repo.
- There isn't a great deal of QGIS 3 plugin development documentation yet. Some links below:
- QGIS Python API
- QGIS Plugin Builder plugin (qgis3 source version, not released on QGIS Plugins repo)
- QGIS processing algorithm porting guide
- Plugin migration to QGIS 3
- Core QGIS Processing source