ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Hilfe
  • Sign Out
ArcGIS Desktop

ArcGIS Online

Die Mapping-Plattform für Ihre Organisation

ArcGIS Desktop

Ein vollständiges professionelles GIS

ArcGIS Enterprise

GIS in Ihrem Unternehmen

ArcGIS Developers

Werkzeuge zum Erstellen standortbezogener Apps

ArcGIS Solutions

Kostenlose Karten- und App-Vorlagen für Ihre Branche

ArcGIS Marketplace

Rufen Sie Apps und Daten für Ihre Organisation ab.

  • Dokumentation
  • Support
Esri
  • Anmelden
user
  • Eigenes Profil
  • Abmelden

ArcMap

  • Startseite
  • Erste Schritte
  • Karte
  • Analysieren
  • Verwalten von Daten
  • Werkzeuge
  • Erweiterungen

Create Production Database

  • Zusammenfassung
  • Verwendung
  • Syntax
  • Codebeispiel
  • Umgebungen
  • Lizenzinformationen

Zusammenfassung

Creates a production database in a geodatabase to store tables used by ArcGIS Defense Mapping, ArcGIS Production Mapping, ArcGIS Maritime, ArcGIS Bathymetry, or ArcGIS Aviation, each of which stores different data models in its production databases. These data models describe hard-copy maps or charts based on product specifications.

Verwendung

  • The Workspace for Production Database parameter value must be a geodatabase.

  • Die Benutzeranmeldeinformationen in der Verbindungsdatei müssen über Berechtigungen zum Erstellen von Daten im Workspace verfügen. Oracle-Geodatabases erfordern, dass nur der Schemabesitzer eine Produktionsdatenbank erstellen kann.

  • Sie können ein Konfigurationsschlüsselwort für File- und Enterprise-Geodatabases verwenden. Jeder Geodatabase-Typ und und jede Geodatabase-Konfiguration unterstützt verschiedene Konfigurationsschlüsselwörter, Personal-Geodatabases unterstützen jedoch keine Schlüsselwörter.

Syntax

arcpy.production.CreateProductionDatabase(production_database_workspace, {database_config_keyword}, {production_database_extension})
ParameterErklärungDatentyp
production_database_workspace

Der Workspace, in dem die Produktionsdatenbank gespeichert wird.

Workspace
database_config_keyword
(optional)

Datenbankspeicher oder Konfigurationsschlüsselwort. Die Standardeinstellung ist Standardeinstellungen.

String
production_database_extension
(optional)

Specifies the type of production database that will be created in the input workspace. If this parameter is not set, a Production Mapping production database will be created.

  • AVIATION —An ArcGIS Aviation Charting production database will be created.
  • MARITIME_CHARTING —An ArcGIS Maritime production database will be created.
String

Codebeispiel

CreateProductionDatabase example (stand–alone script)

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

# 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")

Umgebungen

  • Aktueller Workspace

Lizenzinformationen

  • Basic: Nein
  • Standard: Erfordert Production Mapping
  • Advanced: Erfordert Production Mapping

Verwandte Themen

  • Create Product Library
  • What is the product library?
  • Was sind Konfigurationsschlüsselwörter?
  • An overview of the Product Library toolset

ArcGIS Desktop

  • Startseite
  • Dokumentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

Über Esri

  • Über uns
  • Karriere
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Wir sind an Ihrer Meinung interessiert.
Copyright © 2021 Esri. | Datenschutz | Rechtliches