Prepare a scene for Indoor Viewer

Available for an ArcGIS organization licensed with the Indoors extension.

You can optionally create a 3D scene to use in the Indoor Viewer app by converting the indoor layers used in the 2D map to multipatches in ArcGIS Pro. By setting the relative elevation of the units and details, and then converting the facility polygon to a textured facade, you can create a 3D indoor scene for exploration and navigation using Viewer.

Note:
  • The app only supports 3D mode if an accompanying web map has already been published. For this reason, the stand-alone tables do not need to be published with the web scene.
  • The contents of the info panel in 3D mode are dependent on the configuration of the 2D web map. Layer names in the 3D scene must match a corresponding 2D layer in the web map, unless stated otherwise, and the 2D layer must have pop-ups configured for information to be displayed in the info panel when clicking a feature in the 3D scene.

Complete these steps before preparing units for 3D:

  1. Start ArcGIS Pro and open the project that contains the 2D map you prepared for use in Viewer.
  2. Click the Insert tab, click the New Map drop-down arrow, and click New Global Scene.
  3. Copy all the layers, with the exception of the stand-alone tables, from your completed 2D indoor map and paste them into the scene you just created.
  4. Create a feature dataset named Indoors_3D in your Indoors database. It should have the same spatial reference as the existing Indoors feature dataset.
  5. In the Contents pane of the scene, turn off the Elevation Surfaces layer by unchecking the check box for the WorldElevation3D/Terrain3D layer.

Prepare units for 3D

To prepare units for 3D, complete the following steps:

  1. Right-click the Units layer and click Properties.

    The Layer Properties dialog box appears.

  2. On the Elevation tab, set the Features are parameter to At an absolute height.
  3. Set the feature elevation to use the A field option and choose ELEVATION_RELATIVE.
    Layer Properties
  4. For the Cartographic offset option, use 0.5 meters.
  5. On the Definition Query tab, set a definition query to Not Include the value(s) and specify any stairway or elevator unit USE_TYPE attributes.
  6. Click OK.
  7. Run the Layer 3D To Feature Class tool:
    1. For the Input Feature Layer parameter, use the Units layer.
    2. For the Output Feature Layer parameter, name it Units3D and place it in the Indoors_3D feature dataset.

      The name of the units layer in your web scene must be either Units3D or Units. The output feature class for this step can have a different name, but the scene layer for units must have a valid name.

  8. Remove the Units layer from the scene.
    Note:

    Leave only the new Units3D layer.

  9. Enable pop-ups for the Units3D layer.

    The configured pop-ups should include all available attributes.

Prepare details for 3D

To prepare details for 3D, complete the following steps:

  1. Right-click the Details layer and click Properties.

    The Layer Properties dialog box appears.

  2. On the Elevation tab, set the Features are parameter to At an absolute height.
  3. Set the feature elevation to use the A field option and choose ELEVATION_RELATIVE.
  4. For the Cartographic offset option, use 0.5 meters.
  5. On the Definition Query tab, set a definition query to Includes the value(s) and select any features that you want to be visible as extruded features in the scene.

    These typically include walls, doors, windows, and columns.

    Note:

    Elevators, stairs, and annotation features should not be included.

  6. On the Appearance tab, set the Extrusion Type parameter to use the Min Height option, and choose 1 meter.
  7. Run the Layer 3D To Feature Class tool:
    1. For the Input Feature Layer parameter, use the Details layer.
    2. For the Output Feature Layer parameter, name it Details3D and place it in the Indoors_3D feature dataset.
  8. Remove the Details line layer from the scene.
    Note:

    Leave only the new Details3D layer.

Separate details

To separate details, complete the following steps:

  1. Create a copy of the Details3D layer in the scene and rename each layer with the following names:
    • Details Walls
    • Details Doors
  2. On the Definition Query tab for both Details layers, set a definition query to Not Include the value(s) and specify any stairway or elevator unit USE_TYPE attributes.
  3. On the Definition Query tab for the Details Walls layer, set a definition query to Includes the value(s) and specify any lines with USE_TYPE attributes that represent a (nonglass) wall or column.
  4. On the Definition Query tab for the Details Doors layer, set the definition query to Includes the value(s) and specify any lines with USE_TYPE attributes that represent doors, windows, or glass walls.

    These details are made partially transparent to indicate they can be seen through or traveled through.

  5. On the Appearance tab, in the Effects section, set the Transparency slider to 70% for the Details Doors layer.

Convert polygon to 3D facade

To convert a facility polygon to a 3D textured facade, complete the following steps:

  1. Right-click the Facilities layer and click Properties.

    The Layer Properties dialog box appears.

  2. On the Elevation tab, set the feature elevation to use the A field option and choose ELEVATION_RELATIVE.
  3. For the Cartographic offset option, use 0.5 meters.
  4. Click the Facilities layer in the Contents pane to open the Symbology - Facilities pane.

    Choose Format Polygon Symbol.

  5. Click the Properties tab.
  6. Click the Layers button Layers and choose Procedural fill.
    Format Polygon Symbol
  7. Click Rule to assign a procedural rule package (*.rpk) and choose the Indoors_TexturedFacade.rpk file in the Symbology folder.
    Note:

    You can use your own rule package or textured multipatch building models for a more customized look and feel. The provided sample rule uses the facility height and number of levels attributes to create a simple 3D textured facade, split by floor.

    The procedural fill parameters appear. Hover over each parameter for information on how the value will change the look of your finished building facade.

  8. In the Attributes section in the Format Polygon Symbol pane, the HEIGHT_RELATIVE and LEVELS_ABOVE_GROUND attributes are read directly from the Facilities polygon, as indicated by the blue database connection symbols:
    Format Polygon Symbol sections
  9. The Display Options section allows you to customize your roof, wall, and window styles and textures.
  10. Click Apply after each procedural fill parameter change to see the result in the scene.
  11. In the Geometry Options section, use the options to simplify the polygon, buffer it slightly, or alter the window size.
  12. Click Apply to create the final 3D textured facade model.
  13. Run the Layer 3D To Feature Class tool:
    1. For the Input Feature Layer parameter, use the Facilities layer.
    2. For the Output Feature Layer parameter, name it Facilities3D and place it in the Indoors_3D feature dataset.

      The Facilities3D multipatch layer is added to the scene.

  14. Rename the Facilities3D layer to Facilities Textured.

    The name of the facilities layer in your web scene must be either Facilities or Facilities Textured.

  15. Remove the Facilities polygon layer from the scene.
  16. Enable pop-ups for the Facilities Textured layer.

    The configured pop-ups should include all available attributes.

Enable edge rendering (optional)

Indoors units and walls can sometimes appear washed out when viewed in ArcGIS Pro or as published scene layers. To enhance the edges and contrast of multipatch features, you can choose to enable edge rendering.

  1. For the Details and Units layers, expand the layers if necessary in the Contents pane and click the white symbol to open the Format Mesh Symbol pane.
  2. Click the Gallery tab and choose White (use textures) with Edges.