Thursday, 5 February 2015

QGIS Zonal Statistics returns empty?



Does anyone familiar with the QGIS Zonal Statistics tool know why stats calculations might return empty?


Inputs



  1. DEM for South Carolina: http://dnr.sc.gov/GIS/descdem.html

  2. A vector shapefile: https://s3.amazonaws.com/www.improvz.com/gis/Archive.zip


Desired result: Zonal Statistics calculates elevation on all shapes.


Actual result: Zonal Statistics plugin returns empty values for all fields


Parcels and DEM loaded Zonal Stats plugin prompt Zonal Stats calculating No elevation stats are calculated


QGIS 2.8 on MacOSX.




Answer



Your file "CAD_PARCEL_MP have some topology error (check with menu Vector >"topology checker).


I fix it with the processing tool "fix geometry" in QGIS 3.2, and than it seems working


enter image description here enter image description here


No comments:

Post a Comment