HowTo:  Automatically plot a corresponding label when creating new features

相关信息
Article ID: 41965
Software:
ArcGIS - ArcEditor 10
ArcGIS - ArcInfo 10
ArcGIS for Desktop Advanced 10.1, 10.2, 10.2.1, 10.2.2
ArcGIS for Desktop Standard 10.1, 10.2, 10.2.1, 10.2.2
Platforms:
Windows XP, Vista, Windows 7, Windows 8

问题描述
If the user is creating new features and wants the new features to automatically correspond to a label class, this can be done with a subtype, an annotation feature class, and a relationship class.
已邀请:

EsriSupport

赞同来自:

解决方案
  1. Create a new Short Integer field in the attribute table of the feature class; this becomes the Subtype field.
    To proceed, the data must be in a feature dataset within a geodatabase. The feature dataset must match the spatial reference of the feature classes. Refer to the following for more information on creating a feature dataset.
  2. Open the Properties of the feature class and go to the Subtypes tab. Use the Subtype Field dropdown menu and choose the field that was created in Step 1. Define the Subtypes in the Subtypes box.
  3. Ensure that the Maplex Label Engine is enabled in the map document.
  4. By default, the feature class has one Label Class called Default. If the subtypes were succesfully created, the Subtypes values appear under the 'Select symbology categories' section. Ensure all subtypes are checked and uncheck <all other values>.
  5. Click Add. If a warning message appears about overwriting the label classes, click Yes; this shows the feature class with the subtype values below it in the Label Classes section of the Label Manager.
  6. Define the label styles by going to each subtype label class and adjusting the formatting for things such as color, text size, placement, and so forth. More information about the Maplex Labeling engine can be found here: A quick tour of labeling with the Maplex Label Engine.
  7. To populate the existing subtypes in the geodatabase, start an edit session and plot a feature for each subtype. Or, start an edit session and assign one of each of the subtypes for existing features.
  8. Right-click the feature class in the Table of Contents and select 'Convert Labels to Annotation'. Accept the defaults in the Convert Labels to Annotation dialog.
    Users must have an ArcGIS for Desktop Standard or ArcGIS for Desktop Advanced license to convert to feature-linked annotation.
  9. In the above steps, a relationship class and an annotation feature class should have been created. Each time a feature is plotted, the associated subtype label is also plotted. Since it is annotation, the user can make necessary adjustments as needed.


其它相关参考
  1. What is feature-linked annotationFeature-linked annotation is a special type of geodatabase annotation, the other being standard annotation. A few points about feature-linked annotation: 1. A feature-linked annotation feature class is linked to a regular feature class via a...
  2. A quick tour of subtypes
  3. Working with subtypes
  4. Creating subtypes
  5. Relationships and ArcGIS


创建及修改时间
Created: 12/23/2013

Last Modified: 9/5/2014
原文链接
http://support.esri.com/en/kno ... 41965

要回复问题请先登录注册