alex_bn_lee

导航

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

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:

posted on 2023-09-21 09:21  McDelfino  阅读(8)  评论(0编辑  收藏  举报