docker-qgis3-model
Docker image for running QGIS 3 model.
Is it working? Yes. Proof of concept with calculating NDVI as example.
How to run it locally:
- Clone the repo locally
git clone https://github.com/ismailsunni/docker-qgis3-model.git
- Build the docker image:
make build-qgis3-model
- Run example:
make run-qgis3-model
Notes
- I can't load QGIS 3 processing model directly from the file. So, I need to convert the model to python script (you can do it in one click from QGIS 3), then add it to the
provider
class. - My ideal plan would be: making it very dynamic so that it can take QGIS processing model files, data, and the parameter (to run the model) as an input then give the result in the output directory
References
Here are some source that I use for reference and inspiration:
- Run QGIS Desktop with Docker - Kartoza
- Run QGIS model with Docker, but it is QGIS 2 - Daniel Nuest
- Another run QGIS model with Docker, but it is using QGIS 2 - Sebastian Holtkamp
"Similar" Works
@ismailsunni - 2019