3 ms·
I'm quite late to the thread, but has anyone found out a way to use QGIS programmatically? For research you often want to write routines that you can re-run in
by zzleeper 4y ago
I'm quite late to the thread, but has anyone found out a way to use QGIS programmatically?
For research you often want to write routines that you can re-run in the future (replicability, reproductibility, etc.) and it's very easy to do so with statistical software (Stata, R, even Py) but with QGIS I just have a README saying "click here, click there, etc.". Tried to wrap everything in a QGIS Python script once, but it was impossible as there was not a one-to-one translation between clicks and code.
- ungawatkt 4y agoIt wasn't 1-1 with clicks, and it took a ton of trial and error, but I managed to get there eventually with a project. Here's the passable write up I made for it, theres a link to the final script towards the end, hopefully theres enough to be helpful. https://www.odinseye.cloud/musings/qgis_scripting/ https://www.odinseye.cloud/musings/qgis_scripting/