University of Guelph Library

University of Guelph Library tag line "Changing Lives, Improving Life" (JPG 10kb)

University of Guelph Library Ask Us! Service button and link to the initiative (PNG 6kb)

Data Resource Centre section title and link to its homepage (PNG – 11kb)

Calculating Polygons Using ArcGIS 9

Text Size: S M L XL

Go back one page (PNG 4 kb)

This help page will describe how to calculate area for polygons from a shape file.

Assign a Projection for the Shape File

(If it hasn't been done already).

  1. Add the shape file containing polygons to ArcMap. Re-project the shape file from Geographic to a Metric Coordinate system such as Universe Transverse Mercator, NAD93.
  2. Right-click on the Layers Data Frame and select Properties. In the Select a Coordinate System click on Predefined – Projected Coordinate System – UTM – NAD 1983 – UTM Zone 17N.
  3. Choose the shape file in the ArcMap Table of Contents, right-click and choose Data – Export Data – Use the Same Coordinate System as the Data Frame.
  4. Save the Output shape file as xxxUTM.shp.
  5. Add the exported data file as a layer to the map.

Calculate Area

Calculating area of polygons can be done using the Field Calculator.

  1. In ArcMap, open the attribute table of the projected shape file. Right-click on the layer – Open Attribute Table.
  2. Click the Option button and choose Add Field.... In the Add Field dialog box type or choose:
    • Name: AreaSqKm
    • Type: Double
    • Precision: 16
    • Scale: 8
  3. Click OK.
  4. Click on this new column header — AreaSqKm — to make it the active field.
  5. Right-click on the header and choose Calculate Values. Click Yes to continue. The Field Calculator box will appear.
  6. Check the Advanced Box and write the following expression in the Pre-logic VBA Script Code text box:
    • Dim Output: as double
    • Dim pArea: Iarea
    • Set pArea: [shape]
    • Output: pArea.area
  7. Write the following in the Calculation expression for AreaSqKm =:
    • Output/1000000.
  8. Click Apply and OK.

The area by square kilometer has been calculated for each of the polygons in the layer.

Go back one page (PNG 4 kb)

Data Access

Contact

519–824–4120 ext. 56417

Visit

The DRC is located behind the Research Help desk in the McLaughlin Library.

Check DRC help hours