Skip to main content
Question

How to know the feature class and annotation class linked by a relationship class in an ESRI FGDB?

  • October 11, 2024
  • 3 replies
  • 45 views

jorge_rosales
Contributor
Forum|alt.badge.img+8

Is it possible to know that the relationship class "C04_EjesVia_LS_Rel" links the feature class "C04_EjesVia_LS" with the annotation class "A04_EjesVia_LS"? Any specific Reader configuration or attribute that I'm missunderstood?

I attach FGDB sample. 

3 replies

crystalatsafe
Safer
Forum|alt.badge.img+18

Hi @jorge_rosales 

This article may be helpful: Working with Geodatabase Feature-Linked Annotation

Please let me know if this helps! I’m also happy to answer any questions you have.

Crystal 


jorge_rosales
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • November 22, 2024

Hi ​@crystalatsafe 

FME allows me to access the features and their labels without problem, but what interests me is knowing the "geodatabase schema", that is, if through some attribute I can know that a certain kind of relationship (C04_EjesVia_LS_Rel) links an annotation class (A04_EjesVia_LS) with a feature class (C04_EjesVia_LS).


crystalatsafe
Safer
Forum|alt.badge.img+18

Hi ​@jorge_rosales 

I'm sorry for the late response.

I would recommend looking at the Geodatabase in ArcGIS. Inspecting the Relationship class should allow you to see the Origin and Destination Name, the two feature classes that make up the Relationship Class.

Alternatively, you could run an ArcPy tool that will likely tell you what feature classes make up a relationship class. Here is some documentation about the describe function: Relationship Class properties.

Finally, if the Relationship class is in an SDE Geodatabase, you can most likely query the back-end database to determine which feature classes belong to that relationship. Then, I think you would just need to determine whether one of the feature classes is annotation.

I hope this helps! 

Crystal


Reply


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