Fills all depressions in a DEM raster and removes flat areas producing a "Depressionless" DEM.
Parameters
| Expression | Explanation |
|---|---|
| Function Name | FillDepressions |
| <input raster> | A String representing the input DEM raster dataset. |
| <output raster> | A String - the full name of the output raster. |
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, "FillDepressions", "input raster", "output raster"]) |
| .NET using ETSRun.exe | StartInfo.FileName = ETSPath StartInfo.Arguments = "FillDepressions" "input raster" "output raster" |
| .NET using ETSOutX.dll | FillDepressions(input raster, output raster) |
| ArcPy | arcpy.FillDepressions("input raster", "output raster") |
Notes: