Disponible con licencia de Aviation Charting.
Resumen
Migrates ArcGIS Aviation Charting ArcGIS Desktop based AOI information and extraction settings to ArcGIS Aviation Charting ArcGIS Pro based AOI information and extraction settings.
Debate
The product library is a geodatabase that allows multiuser environments to centralize information and behavior for cartographic and digital data production. The product library is referenced by many tools in ArcGIS Aviation Charting to store and manage configuration components in ArcMap.
ArcGIS Aviation Charting is now an established part of ArcGIS Pro and uses a new format of AOI structures and an extraction query table. This tool exports the existing AOI and extraction settings information to a new AOI and extraction table.
Sintaxis
MigrateProductLibraryInfo (product_library, target_workspace)
Parámetro | Explicación | Tipo de datos |
product_library | The product library path where the AOI and extraction query data will be imported into the target workspace. | String |
target_workspace | The path to the geodatabase where the AOI and extraction query data will be imported. The geodatabase must already have an AOI and extraction query feature class. | String |
Muestra de código
MigrateProductLibraryInfo example
This MigrateProductLibraryInfo sample exports an existing AOI and extraction settings.
# Name: MigrateProductLibraryInfo_example.py
# Description: migrate AOI and extraction data from product library into a geodatabase with ArcGIS Aviation Charting in Pro based AOI and extraction table
# Import arcpyproduction
import arcpy
import arcpyproduction
# Check out Aviation license
arcpy.CheckOutExtension("Aeronautical")
# Set variables
Product_Library = r'c:\data\PL.sde'
Target_Workspace = r'c:\data\Database.sde'
# Execute MigrateProductLibrary
arcpyproduction.aviation.charting.MigrateProductLibraryInfo(Product_Library, Target_Workspace)
# Check in Aviation license
arcpy.CheckInExtension("Aeronautical")