4

Is it possible to access the metadata of a feature class in a ArcSDE-data, using arcpy / python (on Arcgis 10.0).

I suppose I could export the metadata to xml and parse the xml, but is there a more direct approach? I need to make a summary table of all the data in our database, with several elements from the metadata (author, last update etc. ). We always enter metadata for each new dataset in our DB.

4

I suppose I could export the metadata to xml and parse the xml

This is the approach that I have used successfully in the past.

I posted a script in this answer that does exactly what it sounds like you are talking about (creating an inventory of a geodatabase including certain metadata elements):

  • Great I am changing it to suit my needs right now. – warrieka Jan 23 '13 at 13:59
  • Sorry for accidental downvote. I edited answer so I could upvote instead as my vote was locked. – user2856 Jan 23 '13 at 23:06
  • You can use native SQL queries on the metadata field in the GDB_ITEMS table to read individual metadata attributes directly. This takes some effort to set up the queries, however is much faster than other methods. – Jon Lynch Oct 14 '16 at 20:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.