The Convert Raster to Feature tool converts a raster to point, line, or polygon features.
The output is a hosted feature layer.
Usage notes
Convert Raster to Feature includes configurations for input layers, analysis settings, and output settings.
Input layers
The Input layers group includes the Input layer parameter, which is the raster that will be converted.
Analysis settings
The Analysis settings group includes the following parameters:
Field specifies the conversion value. It can be an integer or text value for point, line, or polygon output, and floating-point values can only be used if the output is to a point dataset. The default is the VALUE field, which contains the value in each raster cell.
Output type specifies the output feature type.
- Point—The raster will be converted to a point dataset. This is the default.
- Line—The raster will be converted to a line feature dataset.
- Polygon—The raster will be converted to a polygon feature dataset.
If the output type is Line or Polygon, an additional parameter appears allowing the simplification of lines or polygons.
Simplify lines or polygons specifies whether lines or polygons will be simplified (smoothed). The smoothing is done so that the line contains a minimum number of segments while remaining as close as possible to the original raster cell edges.
- Checked—The line or polygon features will be smoothed to produce a more generalized result. This is the default.
- Unchecked—The line or polygon features will not be smoothed and will follow the cell boundaries of the raster dataset.
Create multipart features specifies whether the output polygons will consist of single-part or multipart features.
- Checked—Multipart features will be created based on polygons that have the same value.
- Unchecked—Individual (single-part) features will be created for each polygon. This is the default.
Maximum vertices per polygon feature is the vertex limit that will be used to subdivide a polygon into smaller polygons.
This parameter produces similar output as that created by the ArcGIS Pro Dice tool.
If left empty, the output polygons will not be split. This is the default.
This parameter is only supported if the Output type parameter is set to Polygon.
Result layer
The Result layer group includes the following parameters:
Output features name is the name of the output feature layer that will be created.
The name must be unique. If a layer with the same name already exists in your organization, the tool will fail and you will be prompted to use a different name.
- Save in folder specifies the name of a folder in My content where the result will be saved.
Environments
Analysis environment settings are additional parameters that affect a tool's results. You can access the tool's analysis environment settings from the Environment settings parameter group.
This tool honors the following analysis environments:
- Output coordinate system
- Processing extent
Note:
The default processing extent is Full extent. This default is different from Map Viewer Classic in which Use current map extent is enabled by default.
- Snap raster
Outputs
This tool produces an output feature service.
Usage requirements
This tool requires the following user type and configurations:
- Creator, Professional, or Professional Plus user type
- Publisher or Administrator role, or an equivalent custom role
- Available when the organization is configured for raster analytics with a premium capability license
Resources
Use the following resources to learn more:
- Convert Raster to Feature in ArcGIS REST API
- convert_raster_to_feature in ArcGIS API for Python
- Convert Raster To Feature in ArcGIS Enterprise
- Raster to Point in ArcGIS Pro
- Raster to Polygon in ArcGIS Pro
- Raster to Polyline in ArcGIS Pro