I am using QGIS 1.8.0 on a Windows Home Premium 7 machine. I have a single band TIFF that is 187 MB in size. My vector polygon shapefile represents a regular grid of a 147x112 36kmx36km grid cells. Both files have the same map projection parameters. I installed the NextGIS ZonalStats plugin, and tried running it. I have also tried the embedded zonal stats plugin. Finally, I have tried the following commands in the Python command window:
rasterfile = qgis.utils.iface.mapCanvas().currentLayer().source() vectorlayer = qgis.utils.iface.mapCanvas().currentLayer() zonalstats = qgis.analysis.QgsZonalStatistics(vectorlayer,rasterfile) zonalstats.calculateStatistics(None)
In each case, the system fails to run to completion. Instead, I get the "Not Responding" error.
Sometimes Windows will ask me to kill the program. Other times, I have to kill it in the Task Manager.
Any help with this will be greatly appreciated as I am trying to move away from ArcGIS.