Creating and setting the nautical product library in a geodatabase in SQL Server Express (Maritime Charting)
This workflow provides steps for creating and configuring a geodatabase to use as a product library and for importing the preconfigured XML workspace that contains all the necessary feature classes and tables that can be used in a desktop environment to manage nautical data and products. The ArcGIS for Maritime: Charting provides a preconfigured product library XML workspace on the Resource Center. It is highly recommended that you use it.
Adding a database server
This section describes how to add a database server connection under the Database Servers node in the Catalog window. This is a connection to a Microsoft SQL Server Express instance set up to store geodatabases.
You will need to install SQL Server Express, if you have not already, and enable it to store geodatabases.
- ArcMap を起動し、カタログ ウィンドウを開いて、カタログ ツリーの [Database Servers] フォルダを展開します。
- [データベース サーバの追加] をダブルクリックします。
-
[データベース サーバの追加] ダイアログ ボックスで、データベース サーバの名前を指定します。指定する形式は <サーバ名>\<インスタンス名>で、<サーバ名> は SQL Server Express Edition がインストールされているサーバの名前、<インスタンス名> は SQL Server Express Edition インスタンスの名前です。
たとえば、データベース サーバの名前が SOPHIE\SQLEXPRESS である場合、SOPHIE はサーバ名、SQLEXPRESS はインスタンス名です。
使用する名前が明らかでない場合は、データベース サーバ管理者にこの情報を確認してください。
- [OK] をクリックします。
Creating a geodatabase
The server administrator needs to create an ArcSDE geodatabase for SQL Server Express licensed for ArcGIS for Server Workgroup or Desktop, which can be used as the product library.
- サーバ管理者としてログインし、ArcMap を起動して、カタログ ウィンドウを開きます。
- カタログ ツリーで、新しいジオデータベースの作成先となるデータベース サーバを右クリックします。
- [新規ジオデータベース] をクリックします。
-
[ジオデータベース名] テキスト ボックスに新しいジオデータベースの名前を入力します。
名前の先頭文字は必ず英字にしてください。スペースまたは特殊文字(*、&、!、%、.、+、- など)を含めることはできません。この名前はサーバ名と合わせて 31 文字以内に収める必要があります。
- データベース ファイルの場所を変更する場合は、省略符号ボタン([...])をクリックして場所を参照し、[サーバ上のジオデータベース ファイルの場所] テキスト ボックスに新しい場所を指定します。
- [初期サイズ] テキスト ボックスに、新しいジオデータベースのサイズを入力します。
-
[単位] ドロップダウン メニューから [MB] または [GB] を選択でき、デフォルト サイズは 100MB を使用しています。
初期サイズにかかわらず、ジオデータベースのサイズは必要に応じて 10GB まで拡張可能です。
注意:
ジオデータベースの初期サイズは、SQL Server Express Edition インスタンスの model データベースよりも小さいサイズに設定することはできません。model データベースは、すべての新規データベースのシステム テンプレートです。model データベースのサイズにより、SQL Server Express Edition インスタンスで作成されるすべてのデータベースの最小サイズが決定されます。この最小サイズよりも小さいジオデータベースを作成しようとすると、データベースの作成は失敗し、次のエラー メッセージが返されます。
Error creating this geodatabase CREATE DATABASE failed. Primary file must be at least <size of model> to accommodate a copy of the model database.
- [OK] をクリックします。
データベース ファイルとジオデータベース スキーマが作成されている間、プログレス バーが表示されます。完成した新しいジオデータベースは、カタログ ツリーの [コンテンツ] タブに表示されます。
Creating geodatabase users
The steps below are for creating users for the product library geodatabase in the Catalog window on a database server (an instance of SQL Server Express).
- サーバ管理者としてログインし、ArcMap を起動して、カタログ ウィンドウを開きます。
- ユーザまたはグループを追加するデータベース サーバを右クリックします。
- [権限] をクリックします。
- [権限] ダイアログ ボックスで [ユーザを追加] をクリックします。
-
ユーザまたはグループを検索する場所を指定します。
これにはローカル コンピュータまたはドメインを指定することができます。
- 追加するユーザまたはグループの名前を入力します。[詳細設定] ボタンをクリックすると、適切なユーザを検索するための情報をより詳細に指定することができます。
- [名前の確認] をクリックし、ログイン名が有効であることを確認します。
- [OK] をクリックします。
Granting geodatabase permissions
A role needs to be assigned to the users who are going to be working with the product library so they can view or add components, information, and data to the product library. These permissions are at the geodatabase level, assigned separately from the product library permissions. The roles are assigned through the Catalog window as permissions for users who are using a product library stored in SQL Server Express.
User names for the role are required for any users who are going to be working with the product library and need to read from or write to the product library tables and other components. The administrators are considered the owners of the data, so they already have this privilege.
The steps below are for granting roles/permissions on a database server (an instance of SQL Server Express).
- ユーザ権限を割り当てるジオデータベースを右クリックします。
- [管理] をクリックし、その後 [権限] をクリックします。
- [権限] ダイアログ ボックスで、リストから対象のユーザまたはグループを選択します。
-
Click the appropriate role:
- なし - ユーザにはジオデータベースまたはジオデータベースのデータセットへの特定のアクセス権がありません。
- 読み取り専用 - ユーザはデータの表示および選択のみを許可されます。
- 読み取り/書き込み - ユーザはジオデータベース内の新規データセットの読み取り/書き込み、新規データセットの作成、既存のデータセットの読み取り/書き込みを許可されます。
- 管理 - ユーザは特定のジオデータベースでの管理タスクの実行を許可されます。
- サーバ管理者 - このユーザがデータベース サーバを管理します。
- [適用] をクリックします。
Importing the product library XML workspace
You can import a product library XML workspace into the geodatabase used as the product library that is preconfigured with the components necessary to start working on nautical products.
The XML workspace contains the standard product library tables. It is also preconfigured with a solution node (Nautical) and many class nodes (ENC, Chart, and so on) and has the unit conversion, Element, and VST tables.
- Unzip the nautical product library file.
The preconfigured workspace XML for ENC and Chart is available on the Resource Center. There is also one .gdb installed for DNC in the following location, based on your operating system.
- On Windows XP, browse to <Installation location>\Documents and Settings\All Users\Application Data\Esri\Production10.2.2\Desktop\ProductLibraryFiles.
- On Windows Vista, Windows 7, and Windows Server 2008, browse to <Installation location>\ProgramData\ESRI\Production10.2.2\Desktop\ProductLibraryFiles.
- Start ArcCatalog.
- Expand Database Servers.
- Double-click the product library administrator connection geodatabase to connect to it.
- Right-click the geodatabase you just connected to and click Import → XML Workspace Document.
- Click the Data option if it is not already selected.
- Select the nautical product library located in the directory from step 1.
- [開く] をクリックします。
- [次へ] をクリックします。
- [完了] をクリックします。
Versioning within the product library
If you manually import the product library tables and feature classes, such as importing an XML file, you need to verify that all the tables and feature classes are registered as versioned. This allows the software to edit the tables as you create and work with your product library. However, you shouldn't create new versions of the product library tables; this can result in inconsistencies within the versions.
- Expand Database Connections in the Catalog Tree window.
- Double-click the product library administrator connection geodatabase to connect to it.
-
Right-click each feature class in your product library and click Manage → Register as Versioned.
Do not check the Register the selected objects with the option to move edits to base check box.
- [OK] をクリックします。
-
Right-click within your selected tables and click Manage → Register as Versioned.
Do not check the Register the selected objects with the option to move edits to base check box.
- [OK] をクリックします。
Defining the product library
The product library location and the properties associated need to be defined in the Product Library window.
- On the menu bar, click Customize → Production → Product Library.
ヒント:
If the Product Library command is not enabled, you may need to enable the Production Mapping extension by clicking Customize → Extensions and checking the check box for Production Mapping.
ヒント:
You can also open the window by clicking the Product Library button
on the Production Cartography or Production Editing toolbar.
-
Right-click Product Library and
click Select Product Library.
The Choose Product Library Workspace dialog box appears.
- Navigate to the product library database.
-
Click Open.
The Select Product Library Owner dialog box appears.
- Click the owner and click OK.
- Click OK when the process completes.
Creating a series
The preconfigured product library contains the solution and three product classes, but you need to create a series to be able to create products.
You need to create at least one series in the product library (in ArcMap) for users to be able to start creating products.
-
If necessary, open the Product Library window by clicking Customize → Production → Product Library on the main menu.
A tree view of the product library appears.
- If necessary, expand Product Library and Products.
-
Right-click the product class to which you want to add a map or chart series and click New Series.
ヒント:
If you are using field configuration table settings and batch jobs in the NIS geodatabase, you need to create a new series in an NIS product class in the preconfigured product library.
The New Series dialog box appears.
-
Click the cell next to Name.
The name is limited to 230 characters. Special characters are not valid entries.
詳細:
Special characters that are invalid include %, \, /, :, *, ?, ', ", <, >, and |.
- Double-click the existing text and type a name for the map or chart series in the text box.
- Click the cell next to Alias.
- Type the name you want displayed in the tree view for the map or chart series.
- Click the cell next to Description.
- Type a description for the map or chart series in the text box.
- Click the cell next to Visible.
-
Click the drop-down arrow and choose an option to indicate whether the map or chart series is going to be visible in the Product Library tree view.
The default value is False.
If you are using the Maritime Charting, choose True.
- Click OK to close the dialog box.
Administering geodatabase user permissions through the product library
There are different types of geodatabase users such as Data creator and Data editor users. The Data creator user has full access to the product library and the contents within it. To restrict access of the product library to only certain users, your organization needs to create Data editor users and administer permissions through the product library. Data editor users do not have create table privileges and cannot create a product class.
You should add Check Out/Check In user permissions to the Data editor users to be able to create and manage products.

If you are using field configuration table settings and batch jobs in the NIS geodatabase, you have to assign Edit permissions to the operating system domain users on the series in the NIS product class.
- Navigate to the series level of the product class for which you want to assign permissions.
-
Right-click the series name and click Permissions.
The Permissions dialog box appears.
-
Click the Permissions drop-down arrow and choose Check Out/Check In permissions for each user.
ヒント:
You can assign permissions to all users at once by clicking the gray cell to the left of First Name, right-clicking anywhere, clicking Permission, then choosing Check Out/Check In.
- [OK] をクリックします。
At the completion of this workflow, you should have created and configured a geodatabase to use as a product library and imported the preconfigured XML workspace that contains all the necessary feature classes and tables that can be used in a desktop environment to manage nautical data and products.