Create Production Database (Production Mapping)

Уровень лицензии:BasicStandardAdvanced

Краткая информация

Creates a new production database within a geodatabase. A production database stores tables used by Esri Mapping and Charting Solutions. Esri Production Mapping, Esri Defense Mapping, and the Esri Aeronautical Solution store different data models in their production databases. These data models describe hard-copy maps or charts based on product specifications.

Использование

Синтаксис

CreateProductionDatabase_production (production_database_workspace, {database_config_keyword}, {production_database_extension})
ПараметрОбъяснениеТип данных
production_database_workspace

The workspace that will store the production database.

Workspace
database_config_keyword
(дополнительно)

Database storage or configuration keyword. The default is Defaults.

String
production_database_extension
(дополнительно)

Indicates an Esri Mapping and Charting Solutions data model to create as a production database in the input workspace. If not set, a Production Mapping production database is created.

  • AERONAUTICALCreates an Aeronautical production database.
  • NAUTICALCreates a Nautical production database.
String

Пример кода

CreateProductionDatabase example (stand–alone script)

The following stand-alone script demonstrates how to use the CreateProductionDatabase tool.

# Name: CreateProductionDatabase_Example.py
# Description: Creates a new production database in a file geodatabase
# Requirements: Production Mapping extension

# import arcpy and checkout a Production Mapping license
import arcpy
arcpy.CheckOutExtension("foundation")

#Set local variables
production_database_workspace = "C:\\Data\\ProductionDatabase.gdb"
database_config_keyword = "DEFAULTS"

# create a production database
arcpy.CreateProductionDatabase_production(production_database_workspace, database_config_keyword)

print "Script completed successfully."

# Check in the extension
arcpy.CheckInExtension("foundation")

Параметры среды

Связанные темы

Информация о лицензировании

ArcGIS for Desktop Basic: Нет
ArcGIS for Desktop Standard: Требует Production Mapping
ArcGIS for Desktop Advanced: Требует Production Mapping
4/27/2014