As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [taskmanager]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
31 views

QGIS - Connect to DB using Task Manager (problem)

As I have a lot of layers, I am writing a plugin that will import layers through TaskManager. Script imports layers successfully into the project with some minor problems. When layers are loaded I can ...
MatijaG's user avatar
  • 11
2 votes
0 answers
161 views

PyQGIS task manager not working

I'm trying to do simple thing as running plugin that load layers and show loading bar at the same time as the loading process takes awhile. I'm trying to use QGIS task manager with no success.. This ...
Micha's user avatar
  • 163
0 votes
1 answer
473 views

Is there a way to see how far a task has gotten?

The current task (creating a density map of buildings in urban areas in Africa) has been running for nearly 5 days, is there a way of working out how long it might take? var buildings = ee....
Emma's user avatar
  • 61
4 votes
1 answer
152 views

Batch loading QgsRasterLayer within a QgsTask

When I try to load many huge rasterlayer into QGIS it blocks the UI. So I try to implement a QGIS-batch-raster-loading task in order to keep QGIS responsive. Calling the task itself from within my ...
Thomas B's user avatar
  • 7,759
2 votes
0 answers
25 views

Is there a plugin for autocreating code from actions like in SPSS?

I want to be able to change an edit I did 4 steps ago without having to redo all those 4 steps. Is this possible in a more accessible format than PyQGIS maybe through a plugin?
Victor Nielsen's user avatar
5 votes
1 answer
936 views

Progress reporting in QGIS 3.0

I would like to provide the user of a plugin with progress status using messages and a progress bar. My plugin processes several files using memory files, processing, writing to disk etc. It all ...
D Greenewalt's user avatar
4 votes
4 answers
2k views

Issues with QgsTask and task manager

I am trying to use the task manager to run a long operation (uploading layer to a GeoServer instance, for the Geoserver Explorer plugin), but I am finding some issues. Here is the code that I am ...
Victor Olaya's user avatar
1 vote
0 answers
381 views

What happens when you press cancel on a QgsTask?

I'm trying to get the "cancel" to work for my QgsTask, I have created a simple example to illustrate, When I press the "x" i want it to print reslut: None values: False, hence it just finishes without ...
axel_ande's user avatar
  • 1,914