I'm calculating partial TIN volumes using Polygon Volume
in ArcMap 10.7. I've done this hundreds of times using arcpy
and for the most part, it works fine (Height Field = MAX; Reference Plane = BELOW). However, sometimes the routine calculates a volume and a surface area of zero, respectively, without any error messages.
My data can be downloaded here. I have provided one example of a TIN and a shapefile that works, and one example of a combination that doesn't. I cannot figure out the difference between the two.
EDIT:
Following @Vince, I've used Check Geometry
on the shapefile (as it does not work with TINs), which gave me the error notification:
Could not find spatial index
.
When Repair Geometry
did nothing to fix this, I simply ran Add spatial index
.
After that, the Check Geometry
routine gave me no further errors - however, I still get an area and volume of zero when I use Polygon Volume
.
When I use other shapefiles (that overlap with the TIN to a larger or smaller extent) the volume/area calculation runs fine. So, I suspect the error has to lie within the shapefile - but I have no idea what caused it.