Configuring the nautical product library geodatabase (Maritime Charting)

This workflow provides steps for configuring log file tables and importing the preconfigured XML workspace that contains all the necessary feature classes and tables that can be used in an enterprise geodatabase in SQL Server to manage nautical data and products. It is highly recommended that you use it.

Configuring log file tables

Многопользовательские базы геоданных используют таблицы файлов журнала для обслуживания списков выбранных записей. Записи регистрируются в таблицах файлов журнала для последующего использования приложением при выборе определенного размера, проверке или публикации версионной базы данных, а также при выполнении автономного редактирования извлеченных данных в клиентском приложении. Таблицы файлов журнала хранят идентификаторы ObjectID выбранных объектов, что позволяет повторно отображать эти объекты. Это позволяет быстрее анализировать и обрабатывать информацию.

В ArcGIS по умолчанию таблицы файлов журнала используются, если набор выборки содержит 100 или более записей. Это пороговое значение выборки, равное 100 объектам, задается в реестре. Оно может быть изменено, однако Esri не рекомендует этого делать. Нет подтвержденных причин, таких как увеличение производительности, для замены этого значения, поэтому изменение этого значения может привести к возникновению проблем с производительностью.

Опции файлов журнала задаются с помощью особых параметров в таблицах SDE_server_config и SDE_dbtune.

Параметры в данных таблицах изменяются с использованием команд sdeconfig и sdedbtune соответственно. Данные команды, а также другие инструменты администрирования командной строки ArcSDE должны быть загружены с портала поддержки клиентов Esri при помощи сервера приложений ArcSDrE. Синтаксис команд и примеры использования команд приведены в руководстве по командам администрирования, которое предоставляется вместе с установкой сервера приложений ArcSDE.

Для SQL Server стандартной конфигурацией файлов журнала являются сеансовые файлы журнала, создаваемые во временной базе данных (tempdb).

При стандартной настройке в tempdb создается одна таблица в формате ##SDE_SESSION<SDE_ID>_<DBID>. <SDE_ID> – это уникальный идентификатор сеанса из таблицы SDE_process_information. <dbid> – идентификатор базы данных из SQL Server. Эта таблица усекается при удалении подключенным приложением файлов журнала и удаляется в конце сеанса. При использовании настроек SQL Server, рекомендованных для локальных баз данных, пользователям требуется только подключение к базе данных, и не требуются права доступа CREATE TABLE.

В большинстве случаев конфигурация файла журнала ArcSDE по умолчанию для вашей системы управления базами данных (DBMS) должна быть достаточной и является рекомендованной настройкой.

Информацию о таблицах файлов журнала см. в Опции настройки таблиц файлов журнала для баз геоданных в SQL Server..

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.

Шаги:
  1. 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.
  2. Start ArcMap.
  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. Нажмите кнопку Открыть (Open).
  9. Щелкните Далее (Next).
  10. Щелкните Готово (Finish).

Versioning within 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.

Шаги:
  1. Click the Toggle Contents Panel button Включить панель содержания 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
    • PL_CHART_AOI
    • PL_ENC_AOI
    • PL_NIS_AOI

    ПодсказкаПодсказка:

    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. Нажмите ОК.
  5. 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.

  6. Нажмите ОК.

Granting privileges to the database role

You need to assign privileges to the components in the enterprise geodatabase in SQL Server.

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

Шаги:
  1. In the Toggle Contents Panel dialog box, select the PL_Permission table, right-click, then click Manage > Privileges.

    The Privileges dialog box appears.

  2. Щелкните Добавить (Add).
  3. Type CKB_USERS into the User/Role text box.
  4. Check the Select check box to assign view privileges to the CKB_USERS for the PL_Permission 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:
    • PL_PERMISSION
    • PL_CHART_AOI
    • PL_ENC_AOI
    • PL_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. Нажмите ОК.
  12. Select the following feature classes stored in the product library:
    • PL_CHART_AOI
    • PL_ENC_AOI
    • PL_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. Нажмите ОК.
  18. Close ArcMap.
4/27/2014