[QGIS-Developer] Using QgsProfilePlotRenderer in processing algorithm
simon at sgroe.at
simon at sgroe.at
Mon Dec 5 08:22:30 PST 2022
Hi all,
I have created a simple python script that generates and renders a
series of profile plots. It works fine. Now I would like to transform
the script into a processing algorithm in order to create a better UX
and to allow users to set some parameters (e.g. plot distance in
exported image).
Unfortunately, the generation process (in the background thread) never
finishes within the processing algorithm. It works fine in the simple
python script (without processing algorithm).
You can find the code here:
https://mega.nz/folder/Kn51yY7K#5HYICPUaqOIQf-oQykSx7w
Is there an issue with the background threads (algorithm thread vs. plot
generation thread)?
Best regards
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20221205/06e92865/attachment.htm>
More information about the QGIS-Developer
mailing list