Skip to main content
Solved

Reading metadata from an ArcSDE Feature Class

  • November 23, 2012
  • 3 replies
  • 41 views

Forum|alt.badge.img
I want to map the version last updated date from the metadata to a new field in the feature class.

 

 

When you save a feature class as an ESRI layer file it also creates an xml file in the same location.

 

 

Previously I would locate the feature class as a layer file saved in my local directory then read in the XML file using an XML reader, flatten the metadata and set the elements to match to 'metadata'

 

 

Then I can easily locate the attribute that contains the version date etc - and map this right over to a new field in a feature class.

 

 

But now where I have feature classes in SDE not saved as layer files I was wondering if there was any way of following this same process? How do I read that XML and after reading it, how would I carry out the xml flattening and elements to match when it is not using an XML reader?

 

 

 

Thanks

Best answer by conterrauta

Hi,

 

 

have you seen the parameter "FEATURE_READ_MODE" of the SDE Geodatabase Reader? You can set it to METADATA (default is Feature).

 

 

Kind regards

 

Uta
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

Forum|alt.badge.img
  • Best Answer
  • November 25, 2012
Hi,

 

 

have you seen the parameter "FEATURE_READ_MODE" of the SDE Geodatabase Reader? You can set it to METADATA (default is Feature).

 

 

Kind regards

 

Uta

Forum|alt.badge.img
  • Author
  • November 26, 2012
Hi Uta,

 

 

Can you be a little more specific?

 

 

After i use a SDE geodatabase reader and set the feature read mode to metadata. How do i pull out specific metadata from that feature class?

 

 

 


  • July 16, 2014
Is there a way to get xml metadata from an enterprise SDE?

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings