AnsweredAssumed Answered

Trying to write a python script to access data from attribute tables

Question asked by Carusot42 on Jul 22, 2014
Latest reply on Jul 23, 2014 by gannebamm

Hi folks. I'm new to both GIS and programming and am attempting to combine the two. I need a python script that will read down a particular column of the attribute table of a particular layer, then check it against a column in the attribute table of another layer. Both of these columns will contain strings. If the two match, then the script should input "YES" into another field in the first layer.

 

I honestly have no idea how to even start this. I've read through esri's help section and have a very basic grasp of python but I'm unsure of how to get the script to actually access the attribute tables. Any help would be very greatly appreciated.

 

Thanks in advance! If there's a better place to post this, please let me know.

Outcomes