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.

asked Jan 23, 2013 at 12:08
0

1 Answer 1

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):

answered Jan 23, 2013 at 12:27
3
  • Great I am changing it to suit my needs right now. Commented Jan 23, 2013 at 13:59
  • Sorry for accidental downvote. I edited answer so I could upvote instead as my vote was locked. Commented Jan 23, 2013 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. Commented Oct 14, 2016 at 20:52

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.