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

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

Create Production Database

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

概要

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.

使用法

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

  • 接続ファイル内のユーザー認証情報は、ワークスペース内にデータを作成する権限を持っている必要があります。Oracle ジオデータベースでは、スキーマの所有者のみがマスター データベースを作成できる必要があります。

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

構文

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

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

Workspace
database_config_keyword
(オプション)

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

String
production_database_extension
(オプション)

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

コードのサンプル

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

環境

  • 現在のワークスペース

ライセンス情報

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

関連トピック

  • 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. | プライバシー | リーガル