HOW TO

Convert each pixel of a raster into a polygon

Last Published: August 20, 2021

Summary

In ArcMap, the Raster To Polygon tool cannot be used to convert each cell of a raster into a polygon if the raster does not have unique values. The tool produces a polygon feature from a group of cells that have the same values, and not from each individual cell. This article describes the workflow to convert each pixel of a raster into a polygon.

Procedure

  1. Use the Raster to Point tool to convert each pixel to a point. Navigate to ArcToolbox > Conversion Tools > From Raster > Raster to Point. These points are later used to label polygons.
The Raster to Point window displaying the Input raster and Output point features parameters.
  1. Navigate to ArcToolbox > Data Management Tools > Sampling > Create Fishnet. The values entered into this tool are taken from the properties of the raster.
Note:
To access the properties of the raster, right-click the raster on the Table Of Contents in ArcMap, and click Properties > Source tab.
The Create Fishnet tool window, filled out with the input and output feature data.
  1. Navigate to ArcToolbox > Data Management Tools > Features > Feature To Polygon. Run the Feature to Polygon tool on the fishnet output from step 2, with the Raster to Points output specified in the Label Features field. This gives the final polygon which has a field named GRID_CODE with the cell values of the raster.
The Feature To Polygon window displaying the Input Features and Output Feature Class parameters.

The following image displays the raster pixels converted to polygons.

[O-Image]

Article ID:000012696

Software:
  • ArcMap

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic