Available with Aviation Charting license.
Feature-linked annotation allows you to store your customized chart annotations and their configurations as an editable feature class. This allows you to manage different sets of annotations for a wide range of charts from the same feature class. For example, you may need to display ADHP features on a VFR chart differently than you would display them on an enroute chart. In this case, you can configure two label classes on your annotation features; one class for displaying features on a VFR chart and one class for displaying features on an enroute chart.
ArcGIS Aviation Charting includes tools for use with feature-linked annotation when it comes to aeronautical chart production. You must configure your annotation feature classes for the tools to function properly.
Create feature-linked annotation feature classes
Complete the following steps to configure feature-linked annotation for Aviation Charting.
- Open or create a project in ArcGIS Pro containing an AIS geodatabase.
-
In the Catalog pane, right-click your AIS geodatabase and click New > Feature Class.
The Create Feature Class pane appears.
- On the Define page, type a name for your annotation feature class in the Name text box.
Tip:
To differentiate main features and cartographic features from annotation features, you can append _Anno to the name of your annotation feature class.
- Optionally, type an alias for your annotation features in the Alias text box.
- Click the Feature Class Type drop-down arrow and choose Annotation.
- Click Next.
- On the Fields page, add the following fields to the table.
Field name Data type Default value Domain Description MapId_Txt Text (length: 255)
N/A
N/A
The map identifier assigned to your annotation features. This field allows you to identify the specific chart with which the annotation feature is associated.
IsVisible Short Integer
1
Code_Yes_No Determines whether the feature is visible on the chart.
AnnoSizeChange Double
0
N/A
Overrides the annotation features' font sizes when the chart scale differs from the reference scale of the annotation feature class.
- Click Next.
- On the Spatial Reference page, choose the same coordinate system that is used by your cartographic features.
Note:
Cartographic features are appended with _C. For example, ADHP_C is a cartographic feature class for the ADHP feature class.
- Click Next.
- Click Next.
Note:
You can skip the Tolerance page.
- Click Next.
Note:
You can skip the Resolution page.
- Click Next.
Note:
You can skip the Storage Configuration page.
- On the Annotation Properties page, check the Link annotation to the following feature class check box.
- Choose the cartographic feature class you want your annotation feature class to link to from the drop-down menu.
- Click the Reference Scale drop-down menu and choose a reference scale for your annotation features.
Note:
Choose a reference scale within the range of the chart you are supporting. For example, a reference scale of 1:500,000 is suitable for charts with reference scales between 1:250,000 and 1:1,000,000.
- Click the Map Units drop-down menu and choose a unit of measurement.
Note:
The unit of measurement must match the unit of measurement used on your chart.
- Check the Create annotation when new features are added check box.
By checking this check box, annotation features are automatically created after creating cartographic features from your main aeronautical data. The annotation that is created will have empty text strings.
- Optionally, check the Update annotation when a feature's shape is modified check box.
- Click Next.
- On the Annotation Classes page, add the label classes you want to use for your annotation features.
Note:
The Aviation Charting product files contain label expressions that you can use to set up your annotation feature's label classes. If the product files are downloaded and installed, you can browse to the layer packages at the following location on your hard drive: <installation location>\SampleConfigs.
- Click Finish.
Configure feature-linked annotation feature classes
When cartographic features are created, annotation features are automatically generated. Annotation features are empty until you run Prepare Aviation Data to populate the fields on the cartographic features that are referenced by the label expression. Complete the following steps to create an attribute rule to ensure the MapId_Txt field is also populated.
- Right-click the feature class you created and choose Data Design > Attribute Rules.
- On the Attribute Rules tab, in the Add Rules group, click Calculation Rule.
Note:
Attribute rules are only applied if the cartographic features have GlobalIDs enabled. This is the default if your AIS database was generated at ArcGIS Pro 2.9 and later. If your AIS database was created before ArcGIS Pro 2.9, you must enable GlobalIDs manually using the Add Global IDs tool.
- Choose Immediate Calculation from the drop-down options.
- In the New Rule pane, provide a name for your rule.
- Optionally, provide a description.
- Choose MapId_Txt for Field.
- Check the Editable check box.
- Configure an expression using the Expression Builder button and verify that your script is valid.
- Check the Insert and Update check boxes.
- Click the Save button on the Attribute Rules tab.
var parent_id = $feature.FeatureGlobalID;
if (IsEmpty(parent_id)) return parent_id;
var parent_class = FeatureSetByName($datastore, "ADHP_C", ["ObjectID", 'MAPID_TXT'], false);
var parent_records = First(Filter(parent_class, "GlobalID = @parent_id"));
return parent_records['MapId_Txt'];
Note:
This sample arcade expression, populateMapID_Attribute.lxp, is available in the Aviation Charting product files located at <installation location>\SampleConfigs\Common\ArcadeExpressions and can be used as a template. You can modify this file to fit your specific cartographic feature class name.
You have now configured an attribute rule to populate the MapId_Txt field when annotation features are created.
Create feature-linked annotation
As an alternative approach, you can create feature-linked annotation from your input cartographic features using the Create Aviation Feature Lined Annotation tool. The Aviation Charting product files at <installation location>\Utilities\Scripts contain the Aviation Tools Python toolbox. You can use this toolbox to automate your charting workflow. The Aviation Tools toolbox contains the Create Aviation Feature Lined Annotation (CFLA) tool.
You must configure at least one annotation feature class before you can use the CFLA tool.
The following steps outline the workflow for using the CFLA tool with your data.
- Open or create a project in ArcGIS Pro.
- In the Catalog pane, right-click Toolboxes and choose Add Toolbox.
- Browse to the Aviation Tools Python toolbox, choose it, and click OK.
Note:
You can find the Aviation Tools Python toolbox in the Aviation Charting product files at: <installation location>\Utilities\Scripts.
- Expand the Aviation Tools Python toolbox in the Catalog pane.
- Double-click the Create Aviation Feature Linked Annotation tool.
The Create Aviation Feature Linked Annotation tool appears in the Geoprocessing pane.
- Choose a map for the Input Map parameter.
- In the Annotation List(s) parameter, provide one or more features to process.
- Input Carto Layer—The cartographic feature layer that is converted to an annotation feature layer, for example, ADHP_C.
- Annotation Layer—The name of the annotation feature layer that is populated with features from a cartographic feature layer, for example, ADHP_C_Anno.
- Annotation Label Class—The chosen annotation label class.
Note:
For layers with a large amount of label classes, you may notice a delay when choosing them.
- Click Run.
The CFLA tool runs on your features and populates annotation features based on your input cartographic features.