Importing and defining the nautical product library workspace (Maritime Charting)
This workflow provides steps for importing the preconfigured XML workspace that contains all the necessary feature classes and tables that can be used in a geodatabase in Oracle to manage nautical data and products.
Creating ArcSDE shared log file tables
Les géodatabases d'enterprise utilisent des tables de fichiers journaux pour maintenir des listes d'enregistrements sélectionnés. Les enregistrements sont écrits dans les tables de fichiers journaux pour être utilisés ultérieurement par l'application à chaque sélection d'une taille spécifique, lors d'une réconciliation ou d'une réinjection dans une base de données versionnée ou encore lors d'une extraction de mise à jour en mode déconnecté dans une application cliente. Les tables de fichiers journaux stockent les identifiants ObjectID des entités sélectionnées pour qu'ils puissent être réaffichés. Ceci permet une analyse et un traitement plus rapides des informations.
Dans ArcGIS, par défaut, les tables de fichiers journaux sont utilisées si l'ensemble de sélection contient 100 enregistrements ou plus. Cette limite de sélection de 100 entités est définie dans le registre. Vous pouvez modifier cette limite, mais cela n'est pas recommandé. Rien ne prouve que cela améliore les performances et cela risquerait d'entraîner des problèmes de performances.
It is recommended to create the ArcSDE log file tables for the product library owner and editor users before configuring the product library since log files are expected to be present before performing certain functions like reconciliation and post.
- If you haven't already done so, grant CREATE TABLE and CREATE SEQUENCE privileges to the product library editor user in Oracle (PLEDITOR).
- Start ArcCatalog.
- Double-click the product library administrator connection geodatabase to connect to it.
- Copy a feature class with more than 100 features into the geodatabase.
- Right-click the feature class and click Manage > Privileges.
-
Click Add.
The User/Role dialog box appears.
- Choose the CKB_USERS role and click OK.Astuce:
If the role doesn’t appear in the list, type CKB_USERS into the User/Role text box and click OK.
- Check the Select check box for the CKB_USERS role in the Privileges dialog box.
- Cliquez sur OK.
- Close ArcCatalog.
- Start ArcMap.
-
Cliquez sur le bouton Ajouter des données .
La boîte de dialogue Ajouter des données s'ouvre.
- Add the feature class from the product library administrator connection into the map.Astuce:
Alternatively, you can drag and drop the feature class in the Catalog window from your geodatabase into the Table Of Contents window.
- Select more than 100 features.
This automatically creates the log file tables.
- Right-click the feature class in the Table Of Contents window, and click Remove to remove the feature class from the map.
-
Cliquez sur le bouton Ajouter des données .
La boîte de dialogue Ajouter des données s'ouvre.
- Add the feature class from the product library editor connection into the map.Astuce:
Alternatively, you can drag and drop the feature class in the Catalog window from your geodatabase into the Table Of Contents window.
- Select more than 100 features.
This automatically creates the log file tables.
- Right-click the feature class in the Table Of Contents window, and click Remove to remove the feature class from the map.
- Close ArcMap.
- Start ArcCatalog.
- Delete the temporary feature class from the product library administrator user connection.
- Revoke CREATE TABLE and CREATE SEQUENCE privileges from the product library editor user in Oracle.Attention :
Do not revoke these privileges from the product library administrator user.
Importing the product library schema workspace
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.
- In the Catalog window, expand Database Connections.
- 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.
- Cliquez sur Ouvrir.
- Cliquez sur Suivant.
- Cliquez sur Terminer.
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.
- Click the Toggle Contents Panel button at the top of the window.
The Toggle Contents Panel dialog box appears.
- Select every table feature stored in the product library with the exception of the following:
- ELM_CATEGORIES
- ELM_ELEMENTS
- ELM_PRODUCTS
- ELM_SOLUTIONS
- PLTS_UCE_CONVERSIONS
- PLTS_UCE_MAPPINGS
- PLTS_UCE_ROUNDINGRULES
- PL_CHART_AOI
- PL_ENC_AOI
- PL_NIS_AOI
Astuce:Press SHIFT and/or CTRL, and then the tables to make multiple selections.
-
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.
- Cliquez sur OK.
-
Select the following feature classes stored in your product library and click Manage > Register as Versioned.
- PL_ENC_AOI
- PL_NIS_AOI
- PL_CHART_AOI
Do not check the Register the selected objects with the option to move edits to base check box.
- Cliquez sur OK.
Granting privileges to the database role
You need to assign privileges to the components in the geodatabase in Oracle.
All features imported with the product library XML workspace need privileges.
All the tables in the product library need to have read/write privileges assigned to them, except the PL_Permission table. The PL_Permission table only needs read privileges assigned to it.
Grant the following privileges to the CKB_USERS database role.
Objects | Role | Privileges |
---|---|---|
PL_Permission | CKB_USERS | Select |
All tables except PL_Permission | CKB_USERS | Select, Insert, Update, Delete |
-
In the Toggle Contents Panel dialog box, select the PL_Permission table, right-click, then click Manage > Privileges.
The Privileges dialog box appears.
- Cliquez sur Ajouter.
- Type CKB_USERS into the User/Role text box.
-
Check the Select check box to assign view privileges to the CKB_USERS for the PL_Permission table.
-
Click OK.
The Toggle Contents Panel dialog box appears.
-
Select every table stored in the product library with the exception of the following:
- PL_PERMISSION
- PL_CHART_AOI
- PL_ENC_AOI
- PL_NIS_AOI
- Right-click the selected tables and click Manage > Privileges.
The Change Privileges dialog box appears.
- Type CKB_USERS in the User text box.
- Click the View (Select) (optional) drop-down arrow and choose GRANT.
- Click the Edit (Update/Insert/Delete) (optional) drop-down arrow and choose GRANT.
- Cliquez sur OK.
-
Select the following feature classes stored in the product library:
- PL_CHART_AOI
- PL_ENC_AOI
- PL_NIS_AOI
- Right-click the selected feature classes and click Manage > Privileges.
The Change Privileges dialog box appears.
- Type CKB_USERS in the User text box.
- Click the View (Select) (optional) drop-down arrow and choose GRANT.
- Click the Edit (Update/Insert/Delete) (optional) drop-down arrow and choose GRANT.
- Cliquez sur OK.
- Close ArcMap.