# Check out the ArcGIS Spatial Analyst extension license arcpy.CheckOutExtension("Spatial") # Execute Slope try: outSlope = Slope(raster_clip, "DEGREE", 3.2808333) dem_Slope = outSlope.save("dem_Slope") arcpy.AddMessage("Slope complete.") except: arcpy.AddError("Was not able to complete slope...") # Reclassify the slope raster remapTable = Reclassify (dem_Slope, Value, ...
Solved! Go to Solution.
The Jenks classification is a reasonably complex calculation.
I found this on the web some time ago.
Unfortunately I cannot remember where it came from, so cannot attribute the author.
Havn't tried to implement this code either, so cannot say if it actually works.
Good luck,
Neil