[880] Calculate Field in ArcGIS Pro (with python code)

发布时间 2023-09-21 09:29:29作者: McDelfino

Firstly, we should define a function.

def IsFlood(join_count):
    if join_count > 0:
        return "Yes"
    else:
        return "No"

Secondly, we should call this function using the other fields like IsFlood(!Join_Count!)


Here is an example: