ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

CartoCommander

  • Summary
  • Discussion
  • Syntax
  • Code sample

Summary

Analyzes all the areas of interest maintained in the aviation production database and creates, modifies, and deletes cartographic copies of features.

Discussion

The CartoCommander function is useful for ensuring that cartographic copies of features for aeronautical charts are up-to-date. For example, this tool can remove orphaned features from an area of interest that is not associated with a master feature or that do not satisfy an extraction query. It can also create new cartographic features when new master features have been added to the aviation production database.

Syntax

CartoCommander (aoi_info, production_database, feature_class_list)
ParameterExplanationData Type
aoi_info
[aoi_info,...]

A list of AviationChartInfo objects. The objects contain the information for map ID for the areas of interest to be processed. The map ID can be retrieved using the GetAviationAOI function and will be formatted as Solution Name::Product Class Name::Series Name::Product Name::Instance Name::AOI Name.

String
production_database

Path to the workspace containing the data used for production tasks or is referenced by maps and charts.

String
feature_class_list
[feature_class_list,...]

The list of cartographic feature classes where features can be created or edited.

String

Code sample

CartoCommander example

This script updates the cartographic features in two areas of interest.

# Name: CartoCommanderExample.py
# Description: Updates cartographic features for two AOIs
# Author: Esri
# Date: August 2014

# Import arcpyproduction and aviation modules
import arcpy
import arcpyproduction

# Check out Aviation license
arcpy.CheckOutExtension("Aeronautical")

# Set variables
prodLib = "c:/data/FAA_PL.sde"
prodData = "c:/data/FAA_PD.sde"
aois = ["Aeronautical::IFR_Enroute::AK High::AK H-2::AK H-2::AK H-2 AOI","Aeronautical::IFR_Enroute::US High Even::H-12::H-12::H-12 AOI"]
cartoFeatures = ["ADHP_C"]

# Get map IDs
mapIDs = arcpyproduction.aviation.charting.GetAviationAOI(prodLib,aois)

# Update cartographic features for AOIs
arcpyproduction.aviation.charting.CartoCommander(mapIDs.values(),prodData,cartoFeatures)

# Check in Aviation license
arcpy.CheckInExtension("Aeronautical")

Related topics

  • Introduction to arcpyproduction.aviation.charting
  • Creating a Python script to perform cartographic tasks on aeronautical charts

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2020 Esri. | Privacy | Legal