Skip To Content

Edit buildings and export features

In the previous lesson, you created 3D buildings with LOD 2 roof forms and identified errors. In this lesson, you'll fix the errors for the building that you reviewed. Then, you'll export the buildings to a 3D multipatch feature class to make the data easier to share. For the sake of time, you'll only edit a single building, even though multiple buildings were flagged as having high RMSE.

Modify building footprint vertices

One of the problems with the building you looked at was that the building footprint was misaligned with the imagery and elevation data. Before you make any other changes, you'll modify the vertices for better alignment.

  1. If necessary, open your Roof Form Extraction project in ArcGIS Pro and open the Create Level of Detail 2 Buildings task.
  2. In the Tasks pane, expand the Modify LOD 2 Buildings task group, and double-click the Modify building footprint vertices task.

    Modify building footprint vertices task in the Tasks pane

    The task opens and activates the Select tool for the 2D map only, not the 3D scene. You'll select the building footprint you want to edit.

  3. On the map, click the square building footprint with high RMSE west of the river.

    Square building footprint on the map circled in green
    Tip:

    If you need to pan or zoom the map, use the following shortcut keys: C to pan, X to zoom out, and Z to zoom in.

    When you select the building, the Edit Vertices editing tool opens in the Tasks pane, and the vertices of the building appear on the map. However, the transparent DSM makes it somewhat difficult to see exactly where the vertices should go.

    Vertices of the building shown on the map

    Tip:

    If you select the wrong feature by mistake, click Change the selection in the Tasks pane.

  4. Turn off the Portland_DSM_copy layer.
  5. Drag each of the vertices to align them better with the building's location on the Imagery basemap.
    Tip:

    When you drag the vertices, they may snap to existing features. You can temporarily disable this snapping behavior by pressing the spacebar while editing.

    Vertices aligned with the Imagery basemap

  6. When you're satisfied with the new location of the vertices, return to the Tasks pane and click Finish.

    The feature updates with the new vertices.

Split a building into multiple features

When you compared the building footprint to the imagery and the LAS point cloud, you discovered that while the building footprint had one uniform height evenly spread across its area, the actual building had two parts with vastly different heights: the main tower of the building and the parking structure around it. To fix this problem, you'll split the building footprint into two features, one to represent each part of the footprint.

  1. In the Tasks pane, double-click the Split buildings into multiple features task.

    Split buildings into multiple features task

    The task opens. Because the building footprint is already selected in the map, the task opens with the Split editing tool. (You can click Change the selection to edit a different feature, if needed.) The Split editing tool allows you to add new vertices within the existing polygon to split it into two distinct features. For this feature, you want to split the gray-roofed building from the surrounding parking structure. You'll get the best results with snapping turned on.

  2. On the Edit tab, in the Snapping group, click the Snapping menu and turn snapping on if necessary.

    Snapping menu

  3. Click the edge of the feature where the building and the parking structure intersect.

    ScreenTip at intersection of the building and the parking structure

    The new vertex is connected to the pointer by a line, which will illustrate the shape of your new feature as you add more vertices to create it.

    Note:

    Ensure that a ScreenTip appears next to your pointer to confirm that the vertex will coincide with a Portland_Roof_Forms edge or vertex before you double-click. If your sketch does not intersect the existing footprint exactly, even if it's only a small distance off, the sketch will fail and the feature will not be split.

  4. Add vertices along the wall of the gray-roofed building.

    Partial sketch of the gray-roofed building

  5. Continue adding vertices until you reach the edge of the building footprint again. Double-click to add the final vertex and finish the sketch.

    Finished sketch with a ScreenTip for the final vertex

    The original building footprint is split in two.

    Split features selected

  6. In the Tasks pane, click Finish.
    Note:

    If you are not satisfied with how your sketch turned out, you can open the Modify building footprint vertices task again and edit the vertices of the new feature. Alternatively, you can click the Edit tab on the ribbon and in the Manage Edits group, click Discard to remove the edits entirely. If you click Discard, you'll also remove the edits you made to align the building footprint with the imagery.

Edit roof form attributes

You've split the feature in two, but now both features have the same attribute information as the original feature. You know that the building feature has the correct building height, but the feature that represents the parking structure has the wrong height. You'll edit the attributes of the Portland_Roof_Forms layer to fix the errors.

  1. In the Tasks pane, double-click the Edit roof form attributes task.

    Edit roof form attributes task

    The task opens and activates the Select tool. Both features that you created are still selected from when you split the building footprint, but you can only edit the attributes of one feature at a time.

  2. On the map, click the parking structure to select it.

    Selected parking structure

  3. In the Tasks pane, click Next Step.

    The attributes open for the selected feature in the Tasks pane, allowing you to edit them. To determine which attributes to change and how to change them, you'll look at the original LAS point cloud.

  4. Click the Scene tab to make the Scene view active.
  5. In the Contents pane, turn off the Portland_Roof_Forms layer.
  6. On the ribbon, click the Map tab. In the Navigate group, click Explore and navigate the scene to better show the roof form of the building feature.

    Point cloud for building and parking structure

    The height of the parking structure is different than the height of the building. You'll determine the parking structure's height and edit the attributes accordingly.

  7. Click a yellow point on the top of the parking structure to open its pop-up.

    Pop-up for a yellow point

    Depending on where you clicked, the parking structure elevation is approximately 75 feet. However, remember that while the LAS points have the true elevation of the point, the BLDGHEIGHT attribute in the roof form features has the maximum height of the building (which excludes the ground elevation). You need to subtract the base elevation of the building from the elevation of the point you clicked to get the elevation for the BLDGHEIGHT attribute.

  8. Close the pop-up. Make the Map view active by clicking its view tab. In the Tasks pane, locate the BASEELEV attribute.

    BASEELEV attribute value

    The base elevation of the building is 35 feet. If the true elevation of the parking structure roof is approximately 75 feet, that means the building height is 40 feet.

  9. Click the BLDGHEIGHT attribute value to edit it. Change the attribute to 40 and press Enter.

    BLDGHEIGHT attribute value

  10. Click Finish. If you are prompted to apply uncommitted attribute edits, click Yes.
  11. Make the Scene view active. In the Contents pane, turn off the Portland_LAS.lasd layer and turn on the Portland_Roof_Forms layer.

    3D feature of the building

    While not perfect, the 3D feature now much more accurately reflects the shape, height, and roof form of the actual building.

    Note:

    You can repeat the previous three tasks as many times as necessary to modify the remaining building footprints with high RMSE.

Save edits

Next, you'll save your edits and convert your features to share them with the Portland municipal government. Saving your edits permanently alters the dataset that you edited, so you always want to confirm that your edits are accurate before saving.

  1. In the Tasks pane, double-click the Save the edits task.

    Save the edits task

  2. At the bottom of the Tasks pane, click Finish.

    The Save Edits window opens.

  3. Click Yes to save your edits.

Create a multipatch feature class

The Portland_Roof_Forms dataset is a 2D feature class symbolized to look 3D. If you shared this feature class with the Portland municipal government, it would have to be symbolized again to appear in 3D. Additionally, it could only maintain its 3D form with the exact symbology specifications of the layer file that you used. Therefore, you'll convert the dataset to a 3D multipatch feature class that maintains the 3D shape of features.

  1. In the Tasks pane, expand the Create LOD 2 Buildings (2) task group, and double-click the Create a multipatch feature class task.

    Create a multipatch feature class task

    The task opens the Features from CityEngine Rules tool, which converts a feature class into a multipatch feature class using a rule package.

  2. If necessary, make the Scene view active.
  3. For Input Features, choose Portland_Roof_Forms.
  4. For Rule Package, click the Browse button. Browse to the Layer_Files folder in your project and double-click the LOD2_Buildings_(Feet).rpk file.

    Input Features and Rule Package parameters

  5. For Output Features, confirm that the output location is the City_Data geodatabase and change the output name to Portland_Multipatch.
  6. Click Run.

    The multipatch feature class is added to the scene.

  7. Click Finish. Save the project.

The 3D buildings are now saved as a multipatch feature class that you can share with the Portland municipal government. You created these buildings by deriving elevation layers from lidar data and using those elevation layers to extract LOD 2 roof forms from building footprints. You symbolized the footprints in 3D and edited features with high error. In addition to zoning, development, and city planning, these more realistic roof forms can be used in 3D solar and shade analysis.

You can use the tasks, tools, and layer files in this project with your own data. As long as you have building footprints and lidar data of a location, you can create LOD 2 roof forms. This ArcGIS Pro task is designed to quickly replicate the workflow described by these lessons.

For more lessons, see the Learn ArcGIS gallery.