Interpolates contours from a raster. The contours can be created as PolylineZs with constant Z values representing the elevation.
Parameters
| Expression | Explanation |
|---|---|
| Function Name | InterplolateContoursRaster |
| <input raster> | A String representing the input raster dataset. |
| <output dataset> | A String - the full name of the output feature layer (shapefile of FileGDB layer). |
| <BaseContour> | A Double representing the Z level of the contour from which to begin generation of contours. |
| <ContourInterval> | A Double representing the contour interval. |
| {Smoothness} | An Integer indicating the smoothness. |
| {ZContours} | A Boolean indicating whether the output to be Polyline or PolylineZ feature. |
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, "InterplolateContoursRaster", "input raster", "output dataset", "BaseContour", "ContourInterval", "Smoothness", "ZContours"]) |
| .NET using ETSRun.exe | StartInfo.FileName = ETSPath StartInfo.Arguments = "InterplolateContoursRaster" "input raster" "output dataset" "BaseContour" "ContourInterval "Smoothness" "ZContours"" |
| .NET using ETSOutX.dll | InterplolateContoursRaster(input raster, output dataset, BaseContour, ContourInterval, Smoothness, ZContours) |
| ArcPy | arcpy.InterplolateContoursRaster("input raster", "output dataset", "BaseContour", "ContourInterval", "Smoothness", "ZContours") |
Notes: