Create the Indoors geodatabase

Available for an ArcGIS organization licensed with the Indoors extension.

Before you add floor plan data, use the Create Indoors Database tool to create an Indoors geodatabase. The Indoors geodatabase created by this tool conforms to the ArcGIS Indoors Information Model and contains the fields and tables required for floor plan mapping, routing, space planning, and workspace reservations.

Note:

Alternatively, you can use the Create Indoor Dataset tool to create an indoor dataset inside an existing file or enterprise geodatabase for basic floor plan mapping. The indoor dataset includes a streamlined schema that conforms to the ArcGIS Indoors Information Model and does not include some of the feature classes, fields, and tables required by Space Planner, Indoor Viewer, and the Indoors mobile apps.

Create an Indoors geodatabase

Complete the following steps to create an Indoors geodatabase:

  1. Start ArcGIS Pro.
  2. In the New section, click Map.

    The Create a New Project dialog box appears.

  3. Type a name for the project, choose a project folder, and click OK.
  4. Create a file geodatabase.
  5. Name the empty file geodatabase after the site or building.
  6. On the Analysis tab, click the Tools button Tools, and click Toolboxes in the Geoprocessing pane that appears.
  7. Expand Indoors Tools and double-click the Create Indoors Database tool.
  8. On the Parameters tab, provide the parameters as necessary.
    1. On the Target Geodatabase dialog box, browse to your empty geodatabase.
    2. Specify a horizontal (XY) and a vertical (Z) coordinate system for the Coordinate System parameter.
    3. Optionally, uncheck the Create Indoors Network check box.

      By default, the Create Indoors Database tool creates an Indoors workspace with a network dataset to support indoor routing. If you only want to map floor plan data for your facilities, you can optionally uncheck the Create Indoors Network check box to exclude the network dataset from your Indoors model.

      Note:

      If you run the tool without creating a network dataset, you can later use the Create Indoor Network Dataset tool to create a network dataset for your Indoors model. If you create the network dataset later, use the same coordinate system for the Coordinate System parameter that you used to create the indoor dataset.

    4. Optionally, uncheck the Create Attribute Rules check box.

      By default, the Create Indoors Database tool creates attribute rules in the Indoors database to use in quality control workflows. The target geodatabase must be a file geodatabase or an enterprise geodatabase with branch versioning enabled. Traditional versioning is not supported.

      When you run the tool with the Create Attribute Rules parameter checked, the following items will be created:

      • A Global ID field will be created in the feature classes in the Indoors dataset.
      • Editor tracking fields will be created in the feature classes in the Indoors dataset, and editor tracking will be enabled.
      • A Validation status field will be created in the feature classes in the Indoors dataset. This field is managed in the Error Inspector pane and is used to determine whether attribute rules have been run on a feature since its most recent update.
      • Four error datasets will be added to the geodatabase as stand-alone layers and correspond to point, polyline, polygon, and table errors. These datasets are managed in the Error Inspector pane.
      • A LEVEL_ID field will be created in the error datasets to support visualizing errors in a floor-aware map.
      • A series of validation and calculation rules will be applied to the Sites, Facilities, Levels, Units, and Details feature classes. Validation rules will be run at a time you specify to check for issues in the data. The included calculation rules are used to manage the Validation status field, which determines whether the validation checks will be run on a feature.
  9. Click Run.
  10. In the Catalog pane, browse to your newly created Indoors geodatabase to inspect its contents.

You can now load floor plans to the Indoors geodatabase from BIM or CAD files.

Update an existing Indoors database

If you created an Indoors geodatabase with an earlier version of ArcGIS Pro, you can update it to add support for reservation management by adding the following items:

  • Area Roles table—Used to enable reservation managers in Indoor Space Planner, Indoor Viewer, and Indoors Mobile. The Area Roles table is created by the Create Indoors Database tool at ArcGIS Pro 3.0 and later.
  • Reservations feature class—Supports workspace reservations in Indoor Viewer and Indoors Mobile. The Reservations feature class is created by the Create Indoors Database tool at ArcGIS Pro 2.9 and later.
  • Reservation editing access control rule for the Reservations feature class—Ensures that only reservation managers and people for whom a reservation is made can update reservations for office hotels. The Reservations feature class created by the Create Indoors Database tool at ArcGIS Pro 3.0 and later includes the constraint attribute rule.
Note:

If you are updating an enterprise geodatabase, you must disconnect users and release any existing locks before making schema changes.

Complete the following steps to update an existing Indoors geodatabase with support for reservation management:

  1. Open the project in ArcGIS Pro that contains your Indoors workspace.
  2. Create a file geodatabase.
  3. Run the Create Indoors Database tool with the following settings:

    • Choose the file geodatabase you just created for the Target Geodatabase parameter.
    • Choose the same spatial reference for the Coordinate System parameter that you used for your existing Indoors geodatabase.
    • Uncheck the Create Indoors Network and Create Attribute Rules check boxes.

  4. Complete the following to add the Reservations feature class to your existing Indoors geodatabase if it is not already present:
    1. Right-click the newly created Reservations feature class and click Data Design > Attribute Rules.

      The Attribute Rules view opens.

    2. On the Constraint tab, right-click the Reservation editing access control rule and click Delete.

      You must remove this rule before copying the Reservations feature class to your existing Indoors geodatabase, but you will add it back in later.

    3. On the Attribute Rules tab, in the Attribute Rules section, click Save Save.
    4. Copy the Reservations class from the new file geodatabase and paste it into the Indoors dataset in your existing Indoors geodatabase.
  5. Copy the Area Roles table from the new file geodatabase and paste it into your existing Indoors geodatabase.
  6. Import the Reservation editing access control rule into your existing Indoors geodatabase by completing the following:

    If you have an existing Reservations layer created at ArcGIS Pro 2.9, you must first add the following schema items to the Reservations feature class:

    • Add Global IDs to the Reservations feature class. Global IDs are created for the Reservations feature class by default at ArcGIS Pro 3.0 and later.
    • Add the following fields to support booking office hotels for someone else in Indoor Viewer and Indoors Mobile. These fields are created by default at ArcGIS Pro 3.0 and later.

      Field nameAliasTypeDescription

      RESERVED_BY_USERNAME

      Reserved By Username

      Text

      The ArcGIS organization username of the person who created a reservation on someone else's behalf.

      RESERVED_BY_FULL_NAME

      Reserved By Full Name

      Text

      The full name of the person who created a reservation on someone else's behalf.

    1. Right-click the Reservations feature class in the existing Indoors dataset and click Data Design > Attribute Rules.
    2. On the Attribute Rules tab, in the Attribute Rules section, click Import Rules Import Rules.
    3. From the file location where you installed ArcGIS Pro, browse to the following file: <Installation location>\Resources\AttributeRules\Indoors\Reservations.csv
    4. Click OK.
    5. On the Attribute Rules tab, in the Attribute Rules section, click Save Save.

You can now take advantage of reservation management capabilities in the Indoors apps.

Related topics