I am using ArcMap 10.5.1. The data I am looking for are zonal statistics from a raster using polygon-defined zones. I can use the Zonal tools to calculate summary statistics, but I am looking for the entire range of values. Surely, if it can calculate the summary stats, it must be able to create an output of some format with the entire range of individual values. Any ideas? (FYI: I am unacquainted with writing code for ArcGIS)

  • 1
    There's Range value option in statistics tool. Are you talking about something else? – FelixIP Oct 23 '18 at 20:45
  • What about Zonal Statistics as Table with a statistics type of ALL then join by attributes to your input polygon.. short of that iterate your geometries, extract by mask to a temp raster object then read the raster as numpy array resources.arcgis.com/en/help/main/10.2/index.html#//… and iterate over the values for each polygon to make your own statistical type. PS when using Zonal Statistics as Table I would recommend geodatabase features, not a shapefile, otherwise any edit will reorder the FID and destroy the relationship between the table and the polygons. – Michael Stimson Oct 23 '18 at 22:45
  • @FelixIP Yes, I'm not looking for the range (max minus min), but rather the entire set of values from which all of those summary stats are calculated. Basically, the non-summarized data. – Mike S. Oct 24 '18 at 15:29
  • @MichaelStimson I'll look into that. And thanks for the heads-up about the gdb vs. shp issue. – Mike S. Oct 24 '18 at 15:32
  • I'll add a little info about what I'm trying to do. I'm an archaeologist looking at ice patches in the high country. I have identified the ice patches on aerial imagery and trace polygon features over them. I also have rasters for elevation, slope, and aspect from which I am attempting to obtain data overlain by the polygons. I would like the entire dataset of non-summarized data for the individual polygons in each raster. I am attempting to look for a left or right skew or bimodality in the frequencies of values within each polygon. The summary stats are not great for this. – Mike S. Oct 24 '18 at 15:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.