# Local variables: int_example1 = "C:\\DATA\\RASTER\\DEM\\int_example1" example = "C:\\temp\\python\\zones.tif" ZonalSt_int_1 = "C:\\temp\\python\\zonal_stats.tif" # Process: Zonal Statistics arcpy.gp.ZonalStatistics_sa(int_example1, "VALUE", example, ZonalSt_int_1, "MEAN", "DATA")
# Local variables: int_example1 = "C:\\DATA\\RASTER\\DEM\\int_example1" example = "C:\\temp\\python\\zones.tif" ZonalSt_int_1 = "C:\\temp\\python\\zonal_stats.tif" # Process: Zonal Statistics stats = arcpy.sa.ZonalStatistics(int_example1, "VALUE", example, "MEAN", "NODATA")
stats.save(r"C:\temp\python\Zonal_Stats.tif")
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und vieles mehr. Neu hier? Erstelle ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.