I am try to use a Python codeblock in the field Calc tool to compare two separate fields, and populate a third.
For Example:
def Reclass(Buffers):
if (SIZE = Large and Fishbearing = Yes):
return 200
elif (SIZE = Large and Fishbearing = No):
return 150
elif (SIZE = Medium and Fishbearing = Yes):
return 125
elif (SIZE = Medium and Fishbearing = No):
return 100
SIZE and Fishbearing are the comparison fields, Buffers is my new field.
Any tips?
Thanks, Kevin
For Example:
def Reclass(Buffers):
if (SIZE = Large and Fishbearing = Yes):
return 200
elif (SIZE = Large and Fishbearing = No):
return 150
elif (SIZE = Medium and Fishbearing = Yes):
return 125
elif (SIZE = Medium and Fishbearing = No):
return 100
SIZE and Fishbearing are the comparison fields, Buffers is my new field.
Any tips?
Thanks, Kevin