Solved! Go to Solution.
it removes the 'median' option from the 'Statistics type' field.
import arcpy from arcpy import env from arcpy.sa import * YourOutputRaster = Divide(Float(ZonalStatistics("YourZoneRaster","Value",Int(Times("YourFloatingDataRaster",100)),"MEDIAN","DATA")),100)
it removes the 'median' option from the 'Statistics type' field.
import arcpy from arcpy import env from arcpy.sa import * YourOutputRaster = Divide(Float(ZonalStatistics("YourZoneRaster","Value",Int(Times("YourFloatingDataRaster",100)),"MEDIAN","DATA")),100)
I'm sorry, but I don't undestrand something.. how do you calculate the mean with one raster and one polygon layer? I want to do something alike but I can't. When I click in "cell statistics", it only allows me to add raster layers...
The experts can correct me if I'm wrong, but another approach is to use Zonal Statistics as Table. This creates a table with all the stats in it.
Process: