GEOG 497
3D Modeling and Virtual Reality

1.5 Add Height Attribute Data to the Flood_Zone_Campus Layer

Print

1.5 Add Height Attribute Data to the Flood_Zone_Campus Layer

As you can see in the attribute table, the layer that you have created does not have any height information. You need water height information to extrude the layer properly in the 3D scene. Therefore, you will add a new attribute to the table and give it desired values.

  1. In the Contents pane, right-click Flood_Zones_Campus and choose Attribute Table.
  2. At the top of the attribute table, click the Field Add button. The Fields view opens, where you will be able to edit parameters.

    Screenshot of field menu
    Credit: ArcGIS, 2021
  3. For the empty field at the bottom of the table, under Field Name, type Height. For Data Type, choose Float. Choosing Float over Integer allows you to have decimals.

    Screenshot of current layer screen with selections as described.
    Credit: 2019 ArcGIS
  4. On the ribbon, on the Fields tab, click Save. The changes will be added to the table.

    Screenshot of Fields tab, with save selected.
    Credit: ArcGIS, 2021
  5. Close the Fields view. Return to the attribute table.

    Screenshot of attribute table after fields view is closed.
    Credit: 2019 ArcGIS
  6. Select the row with Id=0 by clicking the row.
  7. On top of the attribute table click the Calculate field button.

    Screenshot of field menu at top of attribute table.
    Credit: ArcGIS, 2021
  8. The input table is Flood_Zone_Campus. The field Name is Height. For the expression, you will consider 5 feet of flood for areas around the floodways. This number is for presentation purposes and is not accurate. Click OK.

    Screenshot of Geoprocessing, calculate field screen, with settings as described.
    Credit: ArcGIS, 2021
  9. Go back to the attribute table. Now you see the height value is 5.
  10. Click the second row with an id value of 1. Repeat the same calculate field step. This time Height =2 feet.
  11. Close the Calculate Field pane and the attribute table. Clear the selection.