HOW TO

Berechnen der Fläche von Löchern in einem Polygon-Feature in ArcGIS Pro

Last Published: May 27, 2024

Zusammenfassung

A polygon feature layer may contain holes. Sometimes it is necessary to calculate the area of these holes in the course of performing spatial analysis. In the examples in this article, calculations are made to determine the area of the holes in the polygon feature layer Unused_area.

There are six holes present in the polygon feature layer, in different shapes and sizes.

Vorgehensweise

  1. Open the ArcGIS Pro project.
  2. Use the Union tool to create a feature from the holes in the polygon feature layer.
    1. In the Geoprocessing pane, search for and click the Union tool. Refer to ArcGIS Pro: Run a tool in the Geoprocessing pane for instructions.
    2. In the Union pane, under the Parameters tab, select the polygon feature layer from the Input Features drop-down list.
    3. Provide a name for the Output Feature Class and Browse… The Browse icon. to the location where the output feature should save.
    4. Uncheck the Gaps Allowed check box. This allows the tool to create a feature for the areas completely enclosed by the polygon. Refer to ArcGIS Pro: Parameters for more information.
    5. Click Run.

The Union geoprocessing pane and the parameters are Input Features, Output Feature Class, and Attributes To Join.

  1. Add a new field to the attribute table of the new feature class.
    1. In the Contents pane, right-click the feature layer and select Attribute Table.
    2. In the attribute table, click Add Field The Add Field icon.. The Fields view opens.
    3. In the Fields view, specify a name for the field in the Field Name column.
    4. Double-click the Alias column of the new field and specify an alias for it.
    5. Double-click the Data Type column of the new field and select Double from the drop-down menu.
    6. On the top ribbon, in the Fields tab, click Save.

The attribute table of the feature layer created from the Union tool in the Fields view to create a new field.

  1. Populate the spatial information for the field using the Calculate Geometry tool.
    1. Right-click the field header and select Calculate Geometry to open the Calculate Geometry window.
    2. In the Calculate Geometry window, under Geometry Attributes, select the field for Field (Existing or New) and set Property to Area (geodesic).
    3. Select the unit of measurement for Area Unit. In this example, Acres is selected.
    4. Select Current Map [Map] from the Coordinate System drop-down list.
    5. Click OK.

The Calculate Geometry window with the note stating that the tool modifies the input data.

The image below shows the Unused area field in the table, indicating the area of the holes in the polygon.

The new field created in the table indicating the are of the holes in the polygon in ArcGIS Pro.

Artikel-ID:000027463

Benachrichtigungen erhalten und Lösungen für neue oder häufige Probleme finden

Unser neuer KI-Chatbot stellt zusammengefasste Antworten und Videolösungen für Sie bereit.

Esri Support App herunterladen

Zugehörige Informationen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln