Using ArcGIS Desktop 10.5 I am looking to find the minimum elevation in x number of polygons using a DEM. Using Zonal Statistics method:
import arcpy from arcpy import env from arcpy.sa import * env.workspace = "Path/Default.gdb" outZSaT = ZonalStatisticsAsTable("Tests", "FID", "dem.img", "output_table","DATA","MIN")
In another approach, I convert the polygon to a raster, convert the raster to points, and then extract values to the points from the DEM. When I do this I see elevation values that are lower than the absolute minimum that Zonal Statistics as Table returns. (RASTER VALUE is the elevation). These are the pt values in my polygon with FID sorted by RASTERVALU in ascending order. Note the min values found by Zonal Statistics are somewhat far down this list.
I would expect the MIN for FID 0 here to be 5.380977
What may account for this discrepancy and how can I fix it?