Hello i have a slope layer and i want to reclass it in to classes with python in arcpy window. I used this code:
from arcpy import env
from arcpy.sa import *
# Set environment settings
env.workspace = "c:/suit/Sik"
# Set local variables
inRaster = "outSlope"
reclassField = "VALUE"
RclSlope = Reclassify("outSlope", "VALUE", RemapRange([[0,45,1],[45,87,2]]))
but finally i get 3 classes[0-45 1st class, 45-87 2nd class, 87 3rd class] due to the reason that in the second class. 87 is not the maximum value of slope but 87,7 is. How can i write the code so as to take the maximum value of slope at the second class?
note: Slope is countable to degrees
Thanks a lot