stevenpawley / Pyspatialml

Machine learning modelling for spatial data
GNU General Public License v3.0
145 stars 29 forks source link

Error/Problem extracting raster values with polygon : UnboundLocalError: local variable 'rows' referenced before assignment #12

Closed masolele closed 4 years ago

masolele commented 5 years ago

I have a shapefile with multiple polygons and time series of NDVI images, I wanted to extract the pixel values from each polygon for training and testing using Pyspatialml, but i am getting an error. Not sure if it is a bug. Thank you.

stevenpawley commented 5 years ago

Thanks for reporting this, I'll have a look this in the next day or so.