I'm trying to reclass 3000, 2000, 1000 and 0.5 into 1, 2, 3 and 4 respectively in a new field using field calculator. However it keeps returning an error message and I can't figure out why, any ideas?
def Reclass( !BUFF_DIST! ):
if !BUFF_DIST! = 3000:
return 1
else if (!BUFF_DIST!) = 2000:
return 2
else if (!BUFF_DIST!) = 2000:
return 3
else:
return 4