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
Add Comment
Please, Sign In to add comment