EarthObservation / rvt-qgis

Apache License 2.0
14 stars 5 forks source link

Multi core support #16

Open lieti opened 2 years ago

lieti commented 2 years ago

Hi, it is possible to have multi core support for this plugin? It seems, that no parallelization during computation of layers (COG tiff 10 000 x 8 000 px).

zm8597 commented 2 years ago

Hey 😃, I have tried to implement multi core processing with python multiprocessing module but then I realized that QGIS doesn't support this module (QGIS crashes when you try to import it). Some numpy functions already use multiple cores but most of them don't, currently RVT computes visualizations on larger images tile by tile. We still haven't figure out how to use multiple cores on each tile or how to process multiple tiles at the same time on different cores.