Closed venka-foss4g closed 6 months ago
Line 2563 of raster.py need be edited
From: # pixel_indices = np.zeros(0, dtype=np.int) To: pixelindices = np.zeros(0, dtype=np.int)
As numpy.int was has been removed in NumPy >= 1.24
https://stackoverflow.com/questions/74946845/attributeerror-module-numpy-has-no-attribute-int
Thank you, @venka-foss4g, I just changed mine too. I think it is good to create a pull request for these changes. I can take it up.
Line 2563 of raster.py need be edited
From: # pixel_indices = np.zeros(0, dtype=np.int) To: pixelindices = np.zeros(0, dtype=np.int)
As numpy.int was has been removed in NumPy >= 1.24
https://stackoverflow.com/questions/74946845/attributeerror-module-numpy-has-no-attribute-int