HOW TO

Convert each pixel of a raster layer to polygon features in ArcGIS Pro

Last Published: November 17, 2022

Summary

A raster comprises a matrix of pixels where each pixel contains a value representing information, such as image reflectance, temperature, or height. In ArcGIS Pro, it is useful to convert each pixel of a raster layer to a feature as each feature represents different attributes and spatial information.

In this example, each pixel of the raster layer is converted to a polygon feature for spatial analysis using the Feature To Polygon tool or the Raster to Polygon tool in ArcGIS Pro.

Pixels of the raster layer in an ArcGIS Pro map.

Procedure

Use the Feature To Polygon tool

In ArcGIS Pro, the outputs from the Raster to Point and the Create Fishnet tools are used as inputs by the Feature To Polygon tool to create the polygon features.

  1. Open the ArcGIS Pro project.
  2. Create point features based on the pixels of the raster layer using the Raster to Point tool.
    1. In the Raster to Point pane, on the Parameters tab, select the raster layer from the Input raster drop-down list.
    2. For Field, select Value from the drop-down list.
    3. Specify a name for Output point features, and click Browse The Browse icon. to specify a location for the output.
    4. Click Run. A new point layer is added to the Contents pane.
The Raster to Point tool pane to be configured.
  1. Create a line layer based on the pixels of the raster layer using the Create Fishnet tool.
    1. In the Create Fishnet pane, on the Parameters tab, specify a name for Output Feature Class, and click Browse The Browse icon. to specify a location for the output feature class.
    2. For Template Extent, select the raster layer from the drop-down list. It automatically changes to As Specified Below when the raster layer is selected.
    3. Specify values for the Cell Size Width and Cell Size Height parameters.
Note:
Open the raster layer properties to obtain the Cell Size Width and Cell Size Height values. In the Contents pane, right-click the raster layer, and click Properties. In the Layer Properties window, click the Source tab, and expand the Raster Information group. Specify the Cell Size X value in Cell Size Width, and the Cell Size Y value in Cell Size Height.
  1. Uncheck the Create Label Points check box.
  2. For Geometry Type, select Polyline from the drop-down list.
  3. Click Run.
Note:
The Fishnet Origin Coordinate, Y-Axis Coordinate, and Opposite corner of Fishnet values are automatically specified when the raster layer is selected.
The Create Fishnet tool pane to be configured.
  1. Convert the line layer created in Step 3 to polygon features using the Feature To Polygon tool.
    1. In the Feature To Polygon pane, on the Parameters tab, select the line layer created in Step 3 from the Input Features drop-down list.
    2. Specify a name for Output Feature Class, and click Browse The Browse icon. to specify a location for the output feature layer.
    3. Select the point layer created in Step 2 from the Label Features drop-down list.
    4. Click Run.
The Feature To Polygon tool pane to be configured.

The image below shows each of the pixels converted to polygon features in ArcGIS Pro.

Each of the pixel of the raster layer are overlaid by the polygon layer in ArcGIS Pro.

Use the Raster to Polygon tool

Note:
Adjacent pixels with the same pixel value are merged into one polygon feature in the output of the Raster to Polygon tool.
  1. Open the ArcGIS Pro project.
  2. In the Raster to Polygon pane, configure the Parameters tab.
    1. Select the raster layer from the Input raster drop-down list.
    2. For Field, select Value from the drop-down list.
    3. Specify a name for Output polygon features, and click Browse The Browse icon. to specify a location for the output.
    4. Click Run.
The Raster to Polygon tool pane to be configured.

The pixels are converted to polygon features and the pixels of the same value are merged into one polygon feature in ArcGIS Pro.

The raster layer are overlaid by the polygon layer in ArcGIS Pro.

Article ID: 000028721

Software:
  • ArcGIS Pro 3 0
  • ArcGIS Pro 2 8 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

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options