I am new to python programming with QGIS.

I'm looking for a solution to start in QGIS a socket client to receive continuously data from a server which sends telegrams with point data if an event occurs. The points should be then visualized and updated on a temporary layer. In a standalone python script the socket client runs in an endless loop and processes the data until it's interrupted with + or the sever stops. If I start the script in the QGIS python console, it blocks the application until the server connection breaks.

How do I run such a script in QGIS, which doesn't block the program itself?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.