ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS for Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

ArcMap

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Extensions

Upgrade Production Database

  • Résumé
  • Utilisation
  • Syntaxe
  • Exemple de code
  • Environnements
  • Informations de licence

Résumé

Upgrades a production database schema.

A production database stores Esri Defense Mapping, Esri Production Mapping, ArcGIS for Maritime: Charting, ArcGIS for Maritime: Bathymetry, or ArcGIS for Aviation tables using the data model for the given extension. These data models describe hard-copy maps or charts based on product specifications.

Utilisation

  • 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.

  • Use a path to a connection file if Workspace for Product Database references an enterprise geodatabase. The user credentials in the connection file must have permission to create data in the workspace.

  • You can use a configuration keyword for file and enterprise geodatabases. Each geodatabase type and configuration supports different configuration keywords; however, personal geodatabases do not support keywords.

Syntaxe

UpgradeProductionDatabase(production_database_workspace, {database_config_keyword})
ParamètreExplicationType de données
production_database_workspace

The workspace that will store the production database.

Workspace
database_config_keyword
(Facultatif)

Database storage or configuration keyword. The default is Defaults.

String

Exemple de code

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

Environnements

  • Espace de travail courant

Informations de licence

  • ArcGIS Desktop Basic: Non
  • ArcGIS Desktop Standard: Requiert Production Mapping
  • ArcGIS Desktop Advanced: Requiert Production Mapping

Rubriques connexes

  • Create Production Database
  • Create Product Library
  • What is the product library?
  • Que sont les mots-clés de configuration ?
  • An overview of the Product Library toolset

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog d’Esri
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2020 Esri. | Confidentialité | Légal