ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • ヘルプ
  • Sign Out
ArcGIS Desktop

ArcGIS Online

組織のマッピング プラットフォーム

ArcGIS Desktop

完全なプロ仕様の GIS

ArcGIS Enterprise

エンタープライズ GIS

ArcGIS Developers

位置情報利用アプリの開発ツール

ArcGIS Solutions

各種業界向けの無料のテンプレート マップおよびテンプレート アプリケーション

ArcGIS Marketplace

組織で使えるアプリとデータを取得

  • ドキュメント
  • サポート
Esri
  • サイン イン
user
  • マイ プロフィール
  • サイン アウト

ArcMap

  • ホーム
  • はじめに
  • マップ
  • 解析
  • データ管理
  • ツール
  • エクステンション

Upgrade Production Database

  • 概要
  • 使用法
  • 構文
  • コードのサンプル
  • 環境
  • ライセンス情報

概要

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.

使用法

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

  • [プロダクト データベースのワークスペース] がエンタープライズ ジオデータベースを参照している場合は、接続ファイルへのパスを使用します。接続ファイル内のユーザー認証情報は、ワークスペース内にデータを作成する権限を持っている必要があります。

  • ファイル ジオデータベースおよびエンタープライズ ジオデータベースのコンフィグレーション キーワードを使用できます。各ジオデータベースのタイプおよび構成は、さまざまなコンフィグレーション キーワードをサポートしています。ただし、パーソナル ジオデータベースはキーワードをサポートしていません。

構文

arcpy.production.UpgradeProductionDatabase(production_database_workspace, {database_config_keyword})
パラメーター説明データ タイプ
production_database_workspace

マスター データベースが格納されるワークスペース。

Workspace
database_config_keyword
(オプション)

データベース格納場所またはコンフィグレーション キーワード。デフォルト値は Defaults です。

String

コードのサンプル

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

環境

  • 現在のワークスペース

ライセンス情報

  • Basic: いいえ
  • Standard: 次のものが必要 Production Mapping
  • Advanced: 次のものが必要 Production Mapping

関連トピック

  • Create Production Database
  • Create Product Library
  • What is the product library?
  • コンフィグレーション キーワードとは
  • An overview of the Product Library toolset

ArcGIS Desktop

  • ホーム
  • ドキュメント
  • サポート

ArcGIS

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

Esri について

  • 会社概要
  • 採用情報
  • Esri ブログ
  • ユーザ カンファレンス
  • デベロッパ サミット
Esri
ご意見・ご感想をお寄せください。
Copyright © 2021 Esri. | プライバシー | リーガル