Carto Commander (Aviation)
Récapitulatif
Creates, modifies, and deletes cartographic features for all the instances maintained and specified for the Aviation Production Database.
This tool only works with the Aeronautical Information System (AIS) Charting model.
Utilisation
-
Instances maintained must be specified for the Aviation Production Database.
Set the Aviation Production Database in the Aviation Properties pane of the Production Properties dialog box.
-
This tool can only be used with the AIS Charting model.
Carto Commander deletes orphaned features no longer needed. Orphaned features include the following:
- Features from an instance no longer present in a Product Library
- Features no longer associated with a master feature
- Features that no longer satisfy the extraction query
- Features based on a carto inclusion that no longer exists
This tool always runs in foreground mode. If you run this tool with Background Processing checked on, the tool will automatically switch to foreground processing.
Syntaxe
Paramètre | Explication | Type de données |
in_product_library_workspace |
Path to the product library workspace. | Workspace |
in_production_database_workspace |
The workspace that contains the data used for production tasks or display on maps and charts. | Workspace |
in_data_model |
The aeronautical data model version. | String |
input_feature_class [input_feature_class,...] |
The cartographic feature classes where features can be created or edited. | String |
input_instance [input_instance,...] |
The path to and name of the instances you want to use. | String |
Exemple de code
The following Python window script demonstrates how to use the CartoCommander tool.
# product library and production database workspaces
inProductLibrary = "c:/data/productLibrary.sde"
inProductionDb = "c:/data/productionDb.sde"
# AIS data model
inDataModel = "AIS Charting::10.1.0.0"
# input carto features
inFeatures = "ADHP_C"
# Instances maintained
inInstance = "Aeronautical::Enroute::Lower::SANFRAN::SANFRAN"
# execute Carto Commander
res = arcpy.CartoCommander_aviation(inProductLibrary, inProductionDb, inDataModel, inFeatures, inInstance)
print "Successfully created cartos in " + str(res.getOutput(0))