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.
1 Answer 1
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– warrieka2013年01月23日 13:59:37 +00:00Commented Jan 23, 2013 at 13:59
-
Sorry for accidental downvote. I edited answer so I could upvote instead as my vote was locked.user2856– user28562013年01月23日 23:06:32 +00:00Commented 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.Jon Lynch– Jon Lynch2016年10月14日 20:52:13 +00:00Commented Oct 14, 2016 at 20:52
Explore related questions
See similar questions with these tags.