-
Notifications
You must be signed in to change notification settings - Fork 14
Description
When I run the plugin using a few point for test,it works,but when I run this plugin with around 130000 latitude and longitude points,it report an error:
Traceback (most recent call last):
File "C:\Users/10784/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\HotspotAnalysis\hotspot_analysis.py", line 610, in run
w = DistanceBand(t, threshold1, p=2, binary=False)
File "C:\Users\10784\AppData\Roaming\Python\Python39\site-packages\pysal\lib\weights\distance.py", line 781, in init
self._band()
File "C:\Users\10784\AppData\Roaming\Python\Python39\site-packages\pysal\lib\weights\distance.py", line 848, in _band
self.dmat = self.kdtree.sparse_distance_matrix(
File "D:\PROGRA~1\apps\Python39\lib\site-packages\scipy\spatial_kdtree.py", line 865, in sparse_distance_matrix
return super().sparse_distance_matrix(
File "_ckdtree.pyx", line 1528, in scipy.spatial._ckdtree.cKDTree.sparse_distance_matrix
MemoryError: std::bad_alloc
Windows 11
QGIS:3.34.2
python:3.9.5
Looking forward to your reply!