Сводка
Applies one of the ArcGIS for Aviation data models to the target geodatabase and configures it for use with the software. The supported data models are the Esri Aeronautical Information System (AIS) and Esri Airports (18B and 18C).
Использование
When using an enterprise geodatabase, feature classes and tables are registered as versioned and enabled for archiving.
The default horizontal and vertical coordinate system for the AIS schema is WGS 1984. For the Airports schema, the default horizontal coordinate system is NAD83 and the default vertical coordinate system is NAVD88. You can specify a different spatial reference, but you must define both vertical and horizontal (X/Y and Z) systems.
You can create the AIS, Airports (18B), and Airports (18C) schemas in enterprise geodatabases. You can also create Airports (18B and 18C) schemas in file geodatabases.
Синтаксис
arcpy.aviationmanagement.CreateAviationGeodatabase(in_workspace, in_data_model, {in_coordinate_system})
Параметр | Объяснение | Тип данных |
in_workspace | The geodatabase in which the AIS or Airports schema is going to be created. | Workspace |
in_data_model | Indicates the data model type to create in in_workspace.
| String |
in_coordinate_system (Дополнительный) | Spatial reference for the spatial data in in_workspace. | Coordinate System |
Пример кода
CreateAviationGeodatabase example (Python window)
The following Python window script demonstrates how to use the CreateAviationGeodatabase tool.
# set the workspace environment
arcpy.env.workspace="c:/data"
# Applies the Airports schema in the egdb referenced in c:/data/aero_egdb.sde
arcpy.CreateAviationGeodatabase_aviationmanagement("aero_egdb.sde","AIRPORTS (18B)")
Параметры среды
Информация о лицензиях
- Basic: Нет
- Standard: Требуется ArcGIS Aviation Airports, ArcGIS Aviation Charting
- Advanced: Требуется ArcGIS Aviation Airports, ArcGIS Aviation Charting