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

Enterprise geodatabases use log file tables to maintain lists of selected records. Records are written to log file tables for later use by the application whenever a selection of a specific size is made, a reconciliation or post on a versioned database is performed, or a disconnected editing checkout is done in a client application. The log file tables store the ObjectIDs of the selected features so they can be redisplayed. This allows for faster analysis and processing of information.

In ArcGIS, by default, log file tables are used if the selection set contains 100 or more records. This selection threshold of 100 features is set in the registry. It can be changed; however, Esri does not recommend you do so. There is no proven performance reason for changing it, and doing so could cause performance problems.

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.

Steps:
  1. If you haven't already done so, grant CREATE TABLE and CREATE SEQUENCE privileges to the product library editor user in Oracle (PLEDITOR).
  2. Start ArcCatalog.
  3. Double-click the product library administrator connection geodatabase to connect to it.
  4. Copy a feature class with more than 100 features into the geodatabase.
  5. Right-click the feature class and click Manage > Privileges.
  6. Click Add.

    The User/Role dialog box appears.

  7. Choose the CKB_USERS role and click OK.
    TipTip:

    If the role doesn’t appear in the list, type CKB_USERS into the User/Role text box and click OK.

  8. Check the Select check box for the CKB_USERS role in the Privileges dialog box.
  9. Click OK.
  10. Close ArcCatalog.
  11. Start ArcMap.
  12. Click the Add Data button Add Data.

    The Add Data dialog box opens.

  13. Add the feature class from the product library administrator connection into the map.
    TipTip:

    Alternatively, you can drag and drop the feature class in the Catalog window from your geodatabase into the Table Of Contents window.

  14. Select more than 100 features.

    This automatically creates the log file tables.

  15. Right-click the feature class in the Table Of Contents window, and click Remove to remove the feature class from the map.
  16. Click the Add Data button Add Data.

    The Add Data dialog box opens.

  17. Add the feature class from the product library editor connection into the map.
    TipTip:

    Alternatively, you can drag and drop the feature class in the Catalog window from your geodatabase into the Table Of Contents window.

  18. Select more than 100 features.

    This automatically creates the log file tables.

  19. Right-click the feature class in the Table Of Contents window, and click Remove to remove the feature class from the map.
  20. Close ArcMap.
  21. Start ArcCatalog.
  22. Delete the temporary feature class from the product library administrator user connection.
  23. Revoke CREATE TABLE and CREATE SEQUENCE privileges from the product library editor user in Oracle.
    CautionCaution:

    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.

Steps:
  1. Unzip the nautical product library file.

    There are four preconfigured workspace XML files available in the installation folder: one for ENC and Chart, one for IENC and IChart, one for DNC, and another for AML. Product library files are stored at the following locations:

    • On Windows XP, browse to <Installation location>\Documents and Settings\All Users\Application Data\Esri\Production10.1\Desktop\ProductLibraryFiles.
    • On Windows Vista, Windows 7, and Windows Server 2008, browse to <Installation location>\ProgramData\ESRI\Production10.1\Desktop\ProductLibraryFiles.
  2. Start ArcCatalog.
  3. In the Catalog window, expand Database Connections.
  4. Double-click the product library administrator connection geodatabase to connect to it.
  5. Right-click the geodatabase you just connected to and click Import > XML Workspace Document.
  6. Click the Data option if it is not already selected.
  7. Select the nautical product library located in the directory from step 1.
  8. Click Open.
  9. Click Next.
  10. Click Finish.

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.

Steps:
  1. Click the Toggle Contents Panel button Toggle Contents Panel at the top of the window.

    The Toggle Contents Panel dialog box appears.

  2. 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
    • Pcat_CHART_AOI
    • Pcat_ENC_AOI
    • Pcat_NIS_AOI

    TipTip:

    Press SHIFT and/or CTRL, and then the tables to make multiple selections.

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

  4. Click OK.
  5. Select the following feature classes stored in your product library and click Manage > Register as Versioned.
    • Pcat_ENC_AOI
    • Pcat_NIS_AOI
    • PCat_CHART_AOI

    Do not check the Register the selected objects with the option to move edits to base check box.

  6. Click 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 PCAT_PERMISSION table. The PCAT_PERMISSION table only needs read privileges assigned to it.

Grant the following privileges to the CKB_USERS database role.

Objects

Role

Privileges

PCAT_PERMISSIONS

CKB_USERS

Select

All tables except PCAT_PERMISSIONS

CKB_USERS

Select, Insert, Update, Delete

Steps:
  1. In the Toggle Contents Panel dialog box, select the PCAT_PERMISSION table, right-click, then click Manage > Privileges.

    The Privileges dialog box appears.

  2. Click Add.
  3. Type CKB_USERS in the User/Role text box.
  4. Check the Select check box to assign view privileges to the CKB_USERS for the PCAT_PERMISSIONS table.
    Privileges for viewers
  5. Click OK.

    The Toggle Contents Panel dialog box appears.

  6. Select every table stored in the product library with the exception of the following:
    • PCAT_PERMISSION
    • Pcat_CHART_AOI
    • Pcat_ENC_AOI
    • Pcat_NIS_AOI
  7. Right-click the selected tables and click Manage > Privileges.

    The Change Privileges dialog box appears.

  8. Type CKB_USERS in the User text box.
  9. Click the View (Select) (optional) drop-down arrow and choose GRANT.
  10. Click the Edit (Update/Insert/Delete) (optional) drop-down arrow and choose GRANT.
  11. Click OK.
  12. Select the following feature classes stored in the product library:
    • Pcat_CHART_AOI
    • Pcat_ENC_AOI
    • Pcat_NIS_AOI
  13. Right-click the selected feature classes and click Manage > Privileges.

    The Change Privileges dialog box appears.

  14. Type CKB_USERS in the User text box.
  15. Click the View (Select) (optional) drop-down arrow and choose GRANT.
  16. Click the Edit (Update/Insert/Delete) (optional) drop-down arrow and choose GRANT.
  17. Click OK.
  18. Close ArcMap.
12/22/2014