import arcpy arcpy.env.workspace = "\\\\mcflight01\\MCFlightData\\HGIS\\Data\\imagery.gdb" rasters = arcpy.ListRasters("*", "All") for raster in rasters: # Process: Get Raster Properties min = arcpy.GetRasterProperties_management(raster, "MINIMUM", "") # Process: Get Raster Properties (2) max = arcpy.GetRasterProperties_management(raster, "MAXIMUM", "") print "max for ",str(raster)," = ", max print "min for ",str(raster)," = ", min
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.