Raster to Polygon (Point, Polyline) tool fails to execute after processing for some time

Last Published: April 25, 2020

Error Message

When converting a raster with many cells to polygons with the Raster To Polygon tool, it fails and displays the following error message:"An error was encountered while executing spatial_RasterToPolygon.
Failed to execute (RasterToPolygon_1)."This also applies to the Raster to Point and Raster to Polyline tools.


The output shapefile being created is approaching the 2.1GB limit for shapefiles.

The output shapefile is written to disk during processing. This allows the monitoring of the completed amount.

Solution or Workaround

Use either option below:

  • Use RESAMPLE the create a coarser or lower resolution version of the raster that can be converted successfully. As the raster is resampled down, fewer features are required to represent it. At some point, the size of the output shapefile falls below this limit.
  • Use CLIP to split the raster into smaller pieces. These smaller rasters can be converted and processed individually.

Article ID:000007580

  • ArcMap 9 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic