Raster To Polygons

Running programmatically

Converts an Integer raster to a polygon feature layer.

Inputs:

Outputs:

Example:

Input Integer Raster.

Output Polygons.

Notes:

Running Programmatically

(Go to TOP)

Parameters

Expression Explanation
Function Name RasterToPolygons
<input raster> A String representing the input Integer raster dataset.
<OutputLayer> A String - the full name of the output feature layer

Running the function

ETSPath used in the table below is the full path to ETSRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETSurface\ETSRun.exe")

UnitsDegrees
Language Syntax
Python subprocess.call([ETSPath, "RasterToPolygons", "input raster", "OutputLayer"])
.NET using ETSRun.exe StartInfo.FileName = ETSPath
StartInfo.Arguments = "RasterToPolygons" "input raster" "OutputLayer"
.NET using ETSOutX.dll RasterToPolygons(input raster, OutputLayer)
ArcPy arcpy.RasterToPolygons("input raster", "OutputLayer")

Notes:

(Go to TOP)