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

Create Production Database

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

Résumé

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.

Utilisation

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

  • Les informations d'identification de l'utilisateur dans le fichier de connexion doivent bénéficier des autorisations de création des données dans l'espace de travail. Les géodatabases Oracle exigent que seul le propriétaire de la structure puisse créer une base de données de production.

  • Vous pouvez utiliser un mot-clé de configuration pour les géodatabases fichier et d'entreprise. Chaque type de géodatabase et configuration prend en charge différents mots-clés de configuration. Toutefois, les géodatabases personnelles ne prennent pas les mots-clés en charge.

Syntaxe

arcpy.production.CreateProductionDatabase(production_database_workspace, {database_config_keyword}, {production_database_extension})
ParamètreExplicationType de données
production_database_workspace

L'espace de travail qui va stocker la base de données de production.

Workspace
database_config_keyword
(Facultatif)

Stockage de la base de données ou mot-clé de configuration. Par défaut, il s'agit de Par défaut.

String
production_database_extension
(Facultatif)

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

Exemple de code

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

Environnements

  • Espace de travail courant

Informations de licence

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

Rubriques connexes

  • 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

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • 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 © 2021 Esri. | Confidentialité | Légal