Creating the product library geodatabase and setting up users in SQL Server Express (Production Mapping)

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. 在目录树中右键单击要在其中创建新地理数据库的数据库服务器。
  3. 单击新建地理数据库
  4. 地理数据库名称文本框中输入新地理数据库的名称。

    名称必须以字母开头,不能包含空格或特殊字符(如 *、&、!、%、.、+ 或 -),并且与服务器名称组合时最大长度为 31 个字符。

  5. 如果要更改数据库文件的位置,请通过单击省略号按钮 (...) 并浏览到相应位置在地理数据库文件文本框中指定新位置。
  6. 初始大小文本框中输入新地理数据库的大小。
  7. 单位下拉菜单中选择 MB 或 GB,或使用默认大小 100 MB。

    无论初始大小如何,地理数据库都会根据需要增大,最大可达到 10 GB。

    注注:

    地理数据库的初始大小不能小于 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. 创建数据库文件和地理数据库方案时会显示进度条。完成后,新地理数据库会出现在“内容”选项卡和目录树中。

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. 单击权限
  4. 单击权限对话框中的添加用户
  5. 指定在其中搜索用户或组的位置。

    位置可以是本地计算机或域。

  6. 输入要添加的用户或组的名称。可以单击高级按钮进行更具体的查询以找到所需用户。
  7. 单击检查名称验证登录名是否有效。
  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. 单击管理,然后单击权限
  3. 权限对话框中的列表选择所需用户或组。
  4. Click the appropriate role:
    • 无 - 未授予对地理数据库或地数据库中的数据集任何特定的访问权限。
    • 只读 - 用户只能查看和选择数据。
    • 读/写 - 用户可以在地理数据库中读取、写入和创建新数据集,也可以读取和写入现有数据集。
    • 系统管理员 - 用户可以在特定的地理数据库中执行管理任务。
    • 服务器管理员 - 此用户可管理数据库服务器。
  5. 单击应用
4/27/2014