Converts an Integer raster to a polygon feature layer.
Input Integer Raster.
Output Polygons.
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 |
ETSPath used in the table below is the full path to ETSRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETSurface\ETSRun.exe")
| 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: