Bug report #6756

heatmap plugin is very slow

Added by Aren Cambre about 10 years ago. Updated over 9 years ago.

Category:C++ Plugins
Affected QGIS version:1.8.0 Regression?:No
Operating System:Windows 7 x64 Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:15912


Coming from #6691, the heatmap plugin is very slow. Running it on a layer with over 700,000 points crashed after 12 hours.

GRASS GIS recently improved its v.kernel for the exact same layer. That took 16 hours, and with recent improvements, it reduced the execution time to about 2.5% of the original time. Just mentioning this in case there are lessons that could be learned from GRASS.

Associated revisions

Revision b567a6d6
Added by Nyall Dawson almost 10 years ago

Refactor to avoid creating multiple QgsDistanceArea objects and recalculation of static or unused variables. Results in massive speed increase and fixes #6756, #6691 and #6692.

Revision 9a81fa76
Added by Nathan Woodrow over 9 years ago

Merge pull request #461 from nyalldawson/heatmap_fixes

Massive speedup to heatmap plugin (fix #6756, fix #6691 and fix #6692)


#1 Updated by Giovanni Manghi almost 10 years ago

  • Priority changed from Normal to High

#3 Updated by Nathan Woodrow over 9 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF