import arcpy from arcpy import sa from arcpy.sa import * arcpy.CheckOutExtension("spatial") forest = r"c:\test.gdb\forest" forest_slope = arcpy.sa.Slope(forest, "DEGREE", "1") sin = arcpy.sa.Sin(forest_slope) divide = arcpy.sa.Divide(sin, 57.2958) multiply = arcpy.sa.Times(divide, 200) multiply.save(r"c:\test.gdb\forest_slope_cost")
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.