Display airport signs in 2D

Доступно с лицензией Aviation Airports.

Label classes may be created to display airport sign labels and symbols. Labels are useful on their own, but they can also be used for developing airport sign annotation. This is done by first setting up and refining label classes for the front and back of AirportSign features, then converting those labels to feature-linked annotation. Setting up and rendering label classes is an initialization workflow that allows interactive modification of parameters to create the desired size and default label position of AirportSign features before they are committed to annotation.

You may use labeling while creating and editing AirportSign features during initial creation of your airport sign point data.

Once the data is initialized, the labels can be converted to feature-linked annotation. All subsequent airport sign editing will be reflected in its feature-linked annotation, and the label classes will no longer need to be rendered.

Set up the map and AirportSign layer

The Airports Product Data package, available on My Esri, includes an AirportSign layer file found under the Layers directory <data package install directory>\ArcGIS Aviation Airports\Product Files\ <version number>\Layers\ AirportSign_frontBack_labels.lyrx. You may add this layer file to a map and resource it to your AirportSign feature class to avoid manually setting up the layer and label classes.

Примечание:

At Windows 10, the SimHei font is no longer installed by default.

To install the SimHei font, browse to Control Panel > Appearence and Personalization > Fonts and click Download fonts for all languages.

The following steps will allow you to set up label classes for an ArcGIS Aviation Airports 18B AirportSign layer:

  1. In the Contents pane, right-click the name of the map that you want to use and click Properties.
  2. On the General tab, click the Reference Scale drop-down arrow, and set the reference scale for the AirportSign labels and annotation.

    For example, you can set the scale to 1:1000.

  3. Нажмите ОК.
  4. In the Contents pane tree view, right-click the map's name and click Labeling > Use Maplex Label Engine.
  5. Add the AirportSign feature class to the map, from the Airfield feature dataset in Airports 18B geodatabase.
  6. In the Contents pane, click AirportSign to highlight the layer.
  7. On the Appearance tab, click Symbology.

    The Symbology - AirportSign pane appears.

    Airport sign symbology

  8. Optionally click the Primary symbology drop-down arrow, and choose a symbol that indicates the direction to which it points, with respect to north.
  9. Click the Vary symbology by attribute button Изменять символы по атрибуту.
  10. In the Rotation section, click the Field drop-down arrow, and choose AIRPORTSIGNDIRECTION.
  11. In the Rotation style section, click the Geographic button.
    AirportSign Rotation section
  12. Click the Contents pane, right-click AirportSign, and click Properties.
  13. Click Display and check the Scale symbols when a refernece scale is set check box.

Set up the AirportSign labeling properties

The following sections provide steps and information on setting up airport sign front and back label classes.

Front label class

  1. In the Contents pane, right-click AirportSign and click Labeling Properties.

    The Label Class - AirportSign pane appears.

    Label Class - AirportSign - Front

  2. Click the Menu button Меню and click Create label class....
  3. Type Front in the Enter a new label class name text box.
  4. In the Label Class - AirportSign pane, click the Class drop-down arrow, and click the Label expression button Выражение надписи.
  5. Click the Language drop-down arrow, and choose Arcade.
  6. In the Expression section, click the Browse button Обзор and browse to the Airports Product Data installation directory in the ArcadeExpressions\Label folder.
  7. Click AirportSign-Front.lxp and click Open.

    The .lxp is visible in the Expression section.

  8. Нажмите кнопку Применить (Apply).
  9. Click the Symbol section.
  10. Click the General button Общие.
  11. In the Appearance section, click the Font name drop-down arrow, and choose SimHei.
  12. Click the Font style drop-down arrow, and choose Regular.
  13. Set the font size to a value that is appropriate for your chosen reference scale and data.

    For example, 24 points. This value can be revised later as needed.

  14. Click the Offset Y arrows and set a negative value.

    For example, -18 points. This value will determine how close together the back and front of sign features will appear. This value can be revised later as needed.

  15. Click the Callout drop-down arrow, and choose Background.
  16. Нажмите кнопку Применить (Apply).
  17. In the Position section, click the Position button Положение.
  18. In the Placement section, choose Centered on Point.
  19. In the Rotation section, click the Field drop-down arrow, and choose AIRPORTSIGNDIRECTION.
  20. Click the Additional rotation arrows and set the value to 90 degrees.
  21. Click the Rotation type drop-down arrow, and choose Geographic.
  22. Click the Alignment type drop-down arrow, and choose Straight.
  23. Uncheck the Keep label upright (may flip) check box.
  24. Click the Fitting Strategy button Стратегия расположения.
  25. In the Stack section, uncheck the Stack label check box.
  26. Click the Conflict resolution button Разрешение конфликтов.
  27. In the Remove duplicate labels section, choose Do not remove.
  28. In the Buffer section, click the Label buffer arrows and set the value to 0.
  29. Check the Hard constraint check box.
  30. In the Feature weight section, click the Weight arrows and set the value to 100.
  31. In the Unplaced labels section, check the Never Remove (place overlapping) check box.

Back label class

  1. In the Contents pane, right-click AirportSign and click Labeling Properties.

    The Label Class - AirportSign pane appears.

    Label Class - AirportSign - Back

  2. Click the Menu button Меню and click Create label class....
  3. Type Front in the Enter a new label class name text box.
  4. In the Label Class - AirportSign pane, click the Class drop-down arrow, and click the Label expression button Выражение надписи.
  5. Click the Language drop-down arrow, and choose Arcade.
  6. In the Expression section, click the Browse button Обзор and browse to the Airports Product Data installation directory in the ArcadeExpressions\Label folder.
  7. Click AirportSign-Back.lxp and click Open.

    The .lxp file is visible in the Expression section.

  8. Нажмите кнопку Применить (Apply).
  9. Click the Symbol section.
  10. Click the General button Общие.
  11. In the Appearance section, click the Font name drop-down arrow, and choose SimHei.
  12. Click the Size arrows and set the size to a value that is appropriate for your chosen reference scale and data.

    For example, 24 point. This value can be revised later as needed.

  13. Click the Offset Y arrows and set a negative value.

    For example, -18 points. This value will determine how close together the back and front of sign features will appear. This value can be revised later as needed.

  14. In the Callout section, choose Background.
  15. Нажмите кнопку Применить (Apply).
  16. In the Position section, click the Position button Положение.
  17. Click the Placement drop-down arrow, and choose Centered on Point.
  18. In the Rotation section, click the Field drop-down arrow, and choose AIRPORTSIGNDIRECTION.
  19. Click the Additional rotation arrows and set the value to 270 degrees.
    Примечание:

    The Keep label upright (may flip) check box needs to be unchecked.

  20. Click the Rotation type drop-down arrow, and choose Geographic.
  21. Click the Alignment type drop-down arrow, and choose Straight.
  22. Click the Fitting Strategy button Стратегия расположения.
  23. In the Stack section, uncheck the Stack label check box.
  24. In the Remove duplicate labels section, click the Conflict resolution button Разрешение конфликтов.
  25. In the Remove duplicate labels section, choose Do not remove.
  26. In the Buffer section, click the Label buffer arrows and set the value to 0.
  27. In the Buffer section, check the Hard constraint check box.
  28. In the Feature weight section, click the Weight arrows and set the value to 100.
  29. In the Unplaced labels section, check the Never Remove (place overlapping) check box.

Once the AirportSign Front and Back label classes have been set up, ensure that they are rendering. In the Contents pane, click the List By Labeling button По надписыванию, and ensure that the AirportSign layer is checked as well as its Front and Back label classes.

AirportSign features can now be created and edited.

Связанные разделы