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.

Шаги:
  1. Запустите ArcMap, откройте окно Каталог и разверните папку Серверы баз данных (Database Servers) в дереве Каталога.
  2. Дважды щелкните на Добавить сервер баз данных (Add Database Server).
  3. В диалоговом окне Добавить сервер баз данных (Add Database Server) укажите имя для сервера баз данных. Окно <имя_сервера>\<имя_экземпляра>, где имя сервера - это имя сервера, на котором установлен SQL Server Express, а имя экземпляра - это имя экземпляра SQL Server Express.

    Например, если сервер баз данных называется SOPHIE\SQLEXPRESS, то SOPHIE - это имя сервера, а SQLEXPRESS - это имя экземпляра.

    Если вы не уверены в том, какое имя использовать, обратитесь к вашему администратору сервера баз данных для получения этой информации.

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

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.

Шаги:
  1. Войдите в систему под учетной записью администратора сервера, запустите ArcMap и откройте окно Каталог.
  2. В дереве ArcCatalog щелкните правой кнопкой мыши на том сервере баз данных ArcSDE, на котором вы хотите создать новую базу геоданных.
  3. Щелкните Новая база геоданных (New Geodatabase).
  4. Введите имя для новой базы геоданных в текстовом поле Имя базы геоданных (Geodatabase name).

    Имя должно начинаться с буквы и не содержать пробелов и спецсимволов (таких как *, &, !, %, ., + или -), и быть не длиннее 31 знака вместе с именем сервера.

  5. Если вы хотите изменить местоположение файла базы данных, то укажите новое местоположение в текстовом поле Файл базы геоданных (Geodatabase file). Для этого вам нужно щелкнуть на кнопке многоточия (...) и указать местоположение.
  6. Введите размер новой базы геоданных в поле Исходный размер (Initial Size).
  7. Выберите MB или GB в ниспадающем меню Единицы (Units), или используйте размер по умолчанию 100 MB.

    Независимо от исходного размера, база геоданных при необходимости может быть увеличена в размерах до 10 ГБ.

    ПримечаниеПримечание:

    Исходный размер базы геоданных не может быть меньше, чем размер модельной базы данных на экземпляре SQL Server Express. Модель базы данных - это системный шаблон для всех новых баз данных. Размер модели базы данных определяет минимальный размер любой базы данных, которая создается на этом экземпляре SQL Server Express. Если вы попытаетесь создать базу данных меньшего размера, ничего не получится, зато появится вот такое сообщение об ошибке:

    Error creating this geodatabase
    CREATE DATABASE failed. 
    Primary file must be at least <size of model> to accommodate a copy 
    of the model database.

  8. Нажмите ОК.
  9. Во время создания файла базы данных и схемы базы геоданных отображается строка выполнения задачи. Когда создание будет завершено, на закладке Содержание (Contents) в дереве Каталога появится новая база геоданных.

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

Шаги:
  1. Войдите в систему под учетной записью администратора сервера, запустите ArcMap и откройте окно Каталог.
  2. Щелкните правой кнопкой мыши на сервере баз данных, к которому вы хотите добавить пользователя или группу.
  3. Нажмите Права доступа (Permissions).
  4. Выберите Добавить пользователя (Add user) в диалоговом Права доступа (Permissions).
  5. Укажите, где вы хотите искать учетную запись пользователя или группу.

    Это может быть локальная машина или домен.

  6. Введите имя пользователя или группы, которые вы хотите добавить. Вы можете нажать на кнопку Дополнительно (Advanced), чтобы указать более подробный запрос для поиска определенного пользователя.
  7. Нажмите Проверить имена (Check Names), чтобы убедиться в правильности имени учетной записи.
  8. Нажмите ОК.

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

Шаги:
  1. Щелкните правой мыши на базе геоданных, для которой вы хотите назначить разрешения пользователей.
  2. Нажмите Администрирование (Administration) и выберите Права доступа (Permissions).
  3. Выберите необходимого пользователя или группу из списка в диалоговом окне Права доступа (Permissions).
  4. Click the appropriate role:
    • Нет (None) – Никакого особого доступа к базе геоданных или к набору данных базы геоданных не было предоставлено.
    • Только чтение (Read Only) – Пользователь может просматривать и выбирать данные.
    • Чтение/Запись (Read/Write) – Пользователь может выполнять чтение, запись и создание новых наборов данных в базе геоданных или может выполнять чтение и запись в существующие наборы данных.
    • Администратор (Admin) – Пользователь может выполнять административные задачи в определенной базе геоданных.
    • Администратор сервера (Server administrator) – Пользователь, который управляет сервером баз данных.
  5. Нажмите кнопку Применить (Apply).

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.

Шаги:
  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 ArcCatalog.
  3. Expand Database Servers.
  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 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.

Шаги:
  1. Expand Database Connections in the Catalog Tree window.
  2. Double-click the product library administrator connection geodatabase to connect to it.
  3. 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.

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

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

Defining the product library

The product library location and the properties associated need to be defined in the Product Library window.

Шаги:
  1. 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 Product Library window on the Production Cartography or Production Editing toolbar.

  2. Right-click Product Library and click Select Product Library.

    The Choose Product Library Workspace dialog box appears.

  3. Navigate to the product library database.
  4. Click Open.

    The Select Product Library Owner dialog box appears.

  5. Click the owner and click OK.
  6. 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.

Шаги:
  1. 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.

    Product Library tree view
  2. If necessary, expand Product Library and Products.
  3. 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.

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

  5. Double-click the existing text and type a name for the map or chart series in the text box.
  6. Click the cell next to Alias.
  7. Type the name you want displayed in the tree view for the map or chart series.
  8. Click the cell next to Description.
  9. Type a description for the map or chart series in the text box.
  10. Click the cell next to Visible.
  11. 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.

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

Шаги:
  1. Navigate to the series level of the product class for which you want to assign permissions.
  2. Right-click the series name and click Permissions.

    The Permissions dialog box appears.

    Permissions dialog box
  3. 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.

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

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.

4/27/2014