564 reputation
414
bio website
location Perth
age
visits member for 2 years, 2 months
seen Oct 9 at 13:55

Sep
16
comment How do I maintain a resposive GUI using QThread with PyQGIS
It can be tricky to debug errors occurring in the worker thread. My development process was to refine the code to achieve the task on small sets of test data while running in the primary thread. Then once it was stable I could shift it over to a worker thread and apply it to the complete data set.
Sep
16
awarded  Commentator
Sep
16
comment How do I maintain a resposive GUI using QThread with PyQGIS
The CounterThread implementation above a) initializes the job, b) initializes the dialog, c) performs a core loop, d) returns true on successful completion. Any task that can be implemented with a loop should just drop in place. One warning I will offer is that emitting the signals to communicate with the manager comes with some overhead i.e. if called with every iteration of rapid loop it may cause more latency than the actual job.
Sep
16
comment How do I maintain a resposive GUI using QThread with PyQGIS
Yeah, CounterThread is just a bare bones example child class of WorkerThread. If you create your own child class with a more meaningful implementation of doWork then you should be fine.
Aug
22
awarded  Constituent
Aug
18
awarded  Yearling
Aug
15
awarded  Self-Learner
Aug
11
awarded  Caucus
Mar
24
awarded  Custodian
Mar
24
reviewed Reviewed How can I conduct Geographically Weighted Analysis using an exponential decay function?
Feb
24
awarded  Informed
Feb
21
awarded  Popular Question
Dec
3
accepted How to style virtual vertices when using the ModifyFeature control with OpenLayers?
Dec
3
comment How to style virtual vertices when using the ModifyFeature control with OpenLayers?
Very helpful advice, thank you for a detailed explanation. My ModifyFeature constructor was not exhibiting this behaviour, then after looking closer I found my OpenLayers.js was version Release 2.14 dev. After rolling back to 2.13.1 I am receiving the expected behaviour. Odd that I was running a dev version without realising it but I'm happy to have learnt about the virtualStyle property. Most of the style functionality seems to be attached to the layers; It is good to know that checking the controls may offer more further customisation.
Dec
2
revised How to style virtual vertices when using the ModifyFeature control with OpenLayers?
typo
Dec
2
answered OpenLayers: Modify features without virtual vertices?
Dec
2
asked How to style virtual vertices when using the ModifyFeature control with OpenLayers?
Nov
1
comment qgis delaunay circumcircles
I think that the image has been borrowed from wikipedia to illustrate the method i.e. it was not created with QGIS.
Aug
18
awarded  Yearling
Aug
2
revised How to use ArcObjects to limit classes visible in legend?
added 29 characters in body