IV. d. Calculate the area of the new field
             Estimated time:
             3 minutes
The area of the individual polygons created by the newly intersected layer will be calculated. This calculates the area of the shapes created by the combined layers, which can be useful in other projects in knowing the area of new and complex shapes.
In this exercise, you will:
  • Use the Area code to calculate the polygon areas


                                                   Start VideoDemo

Text Version:

    1. Remaining in the Census_Clip_Interesect layer, right Click on IArea

    2. Click Field Calculator -> Yes

    3. Click Advanced

    4. Type Output in the text box titled “ÍArea =

    5. Click the Help button, scroll down until you reach the visual Basic Code section, just over half way down

    6. Copy and paste the code from the “to calculate area” section into the text box titled “Pre-Logic VBA Script Code

    7. Click Ok

    8. Note: If finding the area code in the Help file is difficult, here is the code:

    9. Dim Output as double
      Dim pArea as Iarea
      Set pArea = [shape]
      Output = pArea.area