AnsweredAssumed Answered

HELP!!How to write the python script?

Question asked by workload on May 17, 2015
Latest reply on May 17, 2015 by workload

Here is the question:

There are two geodatabases (Village.gdb and Town.gdb). Village.gdb contains 277 feature classes, and every feature class has 10 fields (only Shape_area will be used) and many records. Town.gdb has only one feature class called town277, which has 6 fields (only town_name and Sum_area will be used) and 277 records.

 

Now, I want to sum the Shape_area of every feature class in village.gdb, and then assign the values to Sum_area, which the values of town_name equal to the name of 277 feature class in village.gdb.

 

So, how to write the python script?

 

TKS!!!

Outcomes