Rotate Aviation Features (Aviation)

Available with Aviation Charting license.

Summary

Aligns features to a grid or to the page.

Using the Rotate Aviation Features tool, you can automate the rotation of point and annotation features on a chart to make them easier to read. The Rotate Aviation Features tool combines functionality from two ArcMap tools: Annotation Rotation and Rotate To Grid.

Usage

  • The cartographic features you input to the Target Point or Annotation Features parameter must have a CARTOANGLE_VAL field.

    Note:

    Annotation features are not required to have a CARTOANGLE_VAL field.

Parameters

LabelExplanationData Type
Input Map

The map containing aviation features.

Map
Target Point or Annotation Layers

The point or annotation feature layers that will be rotated.

String
Rotate Option
(Optional)

Specifies how the features will be rotated.

  • Rotate to the map's grid — The features will be rotated to the map's grid. This is the default.
  • Rotate to the top of the page — The features will be rotated to the top of the page.
  • Rotate to the left of the page — The features will be rotated to the left side of the page.
  • Rotate to the bottom of the page — The features will be rotated to the bottom of the page.
  • Rotate to the right of the page — The features will be rotated to the right side of the page.
String

Derived Output

LabelExplanationData Type
Updated Layers

The feature layer with updated rotation values.

Feature Layer

arcpy.aviation.RotateAviationFeatures(in_map, target_layers, {rotate_option})
NameExplanationData Type
in_map

The map containing aviation features.

Map
target_layers
[target_layers,...]

The point or annotation feature layers that will be rotated.

String
rotate_option
(Optional)

Specifies how the features will be rotated.

  • ROTATE_TO_GRIDThe features will be rotated to the map's grid. This is the default.
  • ROTATE_TO_PAGE_TOPThe features will be rotated to the top of the page.
  • ROTATE_TO_PAGE_LEFTThe features will be rotated to the left side of the page.
  • ROTATE_TO_PAGE_BOTTOMThe features will be rotated to the bottom of the page.
  • ROTATE_TO_PAGE_RIGHTThe features will be rotated to the right side of the page.
String

Derived Output

NameExplanationData Type
updated_layers

The feature layer with updated rotation values.

Feature Layer

Code sample

RotateAviationFeatures example (stand-alone script)

The following demonstrates how to use the RotateAviationFeatures function to rotate features on a navigation chart.

# Name: RotateAviationFeatures_example.py

# Description: ArcGIS geoprocessing tool that automates
# the rotation of aviation features on a navigational chart

import arcpy

# Check out the Aeronautical extension
arcpy.CheckOutExtension("Aeronautical")

# Set the environment
arcpy.env.workspace = r"D:\Data\data.gdb"

# Tool parameters
input_map = "MyMap"
target_point_or_annotation_layers = ["ADHP_C", "NavaidComponent_C"]
rotate_option = "ROTATE_TO_GRID"

# Call the RotateAviationFeatures function
arcpy.aviation.RotateAviationFeatures(input_map, target_point_or_annotation_layers, rotate_option)

# Check in the aeronautical extension
arcpy.CheckInExtension("Aeronautical")

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: No
  • Standard: Requires ArcGIS Aviation Charting
  • Advanced: No

Related topics