Select to view content in your preferred language

Convert Labels to Annotation (with some Fields from the Feature Layer)

280
1
03-12-2025 08:01 AM
rb_97
by
New Contributor

I am Converting the Labels to Annotation using ArcPy . I want to have one of the field in the Feature Layer to copy over to the Annotation Layer as well. Is this task possible . I can do it manually but it would be a very tedious task and want to automate this. 

Tags (2)
0 Kudos
1 Reply
JesseWickizer
Esri Contributor

You could join the annotation feature class back to the original source data. Annotation contains a FeatureID field that contains the object ID of the feature that the annotation was labeled from. If you want to permanently include attributes from the source feature class:

  1. Add a new field to the annotation to hold the data
  2. Make the join to the source data using the FeatureID field.
  3. Populate the new field(s) from the joined data.
  4. Remove the join.

If you have feature-linked annotation there is a relationship created between the annotation and the source data and you can access attributes from the related source data in pop-ups

0 Kudos