HOW TO

Create a polygon from an XY data table in ArcGIS Pro

Last Published: February 15, 2023

Summary

An XY data table contains information such as the latitude and longitude of point features. To create polygons from an XY data table, the table must contain the latitude and longitude of the start and end point features (polygon vertices) as shown in the images below. Refer to ArcGIS Pro: Parameters for more information.

The Excel table containing the latitude and longitude of the start and end point features of a polygon.
The latitude and longitude of the start and end point features of the polygon vertices.

The workflow below shows how to create a polygon from an XY data table containing the coordinates of the polygon vertices from Microsoft Excel in ArcGIS Pro.

Procedure

  1. Use the Excel To Table tool to convert the Microsoft Excel file into a table in ArcGIS Pro.
    1. Open the ArcGIS Pro project.
    2. On the Analysis tab, in the Geoprocessing group, click Tools.
    3. In the Geoprocessing pane, search for and click the Excel To Table tool.
    4. In the Excel To Table pane, on the Parameters tab, click Browse The Browse icon. from the Input Excel File parameter and select the Excel table.
    5. For the Output Table parameter, click Browse The Browse icon. to specify a name and the file location for the table.
    6. Click Run. The table is created and displayed in the Contents pane under Standalone Tables.
The parameters in the Excel To Table pane.
  1. In the Contents pane, right-click the created table and select Display XY Data.
  2. In the Display XY Data window, for the Output Feature Class parameter, click Browse The Browse icon. to specify a name and the file location for the feature layer.
  3. Click OK.
The parameters in the Display XY Data window.

The map below shows the created point features.

The created point features on the map.
  1. Use the XY To Line tool to create a feature class containing geodetic or planar line features.
    1. On the Analysis tab, in the Geoprocessing group, click Tools.
    2. In the Geoprocessing pane, search for and click the XY To Line tool.
    3. In the XY To Line pane, on the Parameters tab, select the table created in Step 1 from the Input Table drop-down list.
    4. For the Output Feature Class parameter, click Browse The Browse icon. to specify a name and the file location for the line feature.
    5. For Start X Field and Start Y Field, select the field containing the X coordinates (longitude) and Y coordinates (latitude) of the starting points, respectively.
    6. For End X Field and End Y Field, select the field containing the X coordinates (longitude) and Y coordinates (latitude) of the ending points, respectively.
    7. Click Run.
The parameters in the XY To Line pane.

The map below shows the created line features.

The created line features on the map..jpg
  1. Use the Feature To Polygon tool to create a feature class containing polygons generated from areas enclosed by the input line features created in Step 2.
    1. On the Analysis tab, in the Geoprocessing group, click Tools.
    2. In the Geoprocessing pane, search for and click the Feature To Polygon tool.
    3. In the Feature To Polygon pane, on the Parameters tab, select the line feature class from the Input Features drop-down list.
    4. For the Output Feature Class parameter, click Browse The Browse icon. to specify a name and the file location of the polygon.
    5. Click Run.
The parameters in the Feature To Polygon pane.

The image below shows the polygon created from an XY data table in ArcGIS Pro.

The created polygon on the map.

Article ID:000029301

Software:
  • ArcGIS Pro 3 0
  • ArcGIS Pro 2 8 x
  • ArcGIS Pro 2 7 x
  • ArcGIS Pro 2 x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options