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

Upgrade Production Database

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

Zusammenfassung

Upgrades a production database schema.

A production database stores ArcGIS Defense Mapping, ArcGIS Production Mapping, ArcGIS Maritime, ArcGIS Bathymetry, or ArcGIS Aviation tables using the data model for the given extension. 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 that contains a production database. This tool upgrades the production database to the latest version.

  • Verwenden Sie einen Pfad zu einer Verbindungsdatei, wenn der Workspace für die Produktdatenbank eine Enterprise-Geodatabase referenziert. Die Benutzeranmeldeinformationen in der Verbindungsdatei müssen über Berechtigungen zum Erstellen von Daten im Workspace verfügen.

  • 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.UpgradeProductionDatabase(production_database_workspace, {database_config_keyword})
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

Codebeispiel

UpgradeProductionDatabase example (stand-alone script)

The following stand-alone script demonstrates how to use the UpgradeProductionDatabase function. The script upgrades a production database with a schema from a previous version.

# Name: UpgradeProductionDatabase_Example.py
# Description: Upgrades a production database in an existing file geodatababase to the current schema
# Requirements: Production Mapping extension

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

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

# upgrades a production database
arcpy.UpgradeProductionDatabase_production(productiondatabase_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 Production Database
  • 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