Kristya

Get field description from metadata

Discussion created by Kristya on Nov 8, 2012
Greetings!

I need help with accessing field description in feature classes using Python. So far, I've made a Python script that does the following (see attached):

gets a list of feature classes from a workspace,
gets a list of fields in each of those fcs
outputs field names and their info to a csv file

Now I'd like to add fields description to each field as it is displayed in the metadata. Is there an easy way to do this? I was thinking of exporting metadata to an xml file and reading the field description from there... but seems like there may be an easier way.

Thank you,

Outcomes