a guest Dec 10th, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- "VALUE" = (SELECT MAX("VALUE") FROM in_raster)
- "VALUE" = some_number
- whereclause = "VALUE = " + str(arcpy.GetRasterProperties_management("C:/path_to_rasters/in_raster", "MAXIMUM"))
- out_raster = arcpy.sa.ExtractByAttributes("C:/path_to_rasters/in_raster", whereclause)
- [zonal_out] = in_raster
RAW Paste Data