Calculates the Volume and 3D Area of the polygons from the input polygon dataset based on user assigned level or different levels for each polygon from a field in the attribute table and the surface defined by a TIN. The Volume calculated for each polygon is split in two portions - above and below the surface.
Parameters
| Expression | Explanation |
|---|---|
| Function Name | PolygonVolumeTin |
| <input dataset> | A String representing the input polygon feature dataset. |
| <output dataset> | A String - the full name of the output polygon dataset. |
| <reference tin> | A String - the full name of the reference TIN dataset. |
| <level field> | A String indicating the field name of the input polygon attribute table to be used for levels of the polygons. |
| {Level} | A Double indicating the level for all input polygons (optional). |
ETGWPath used in the table below is the full path to ETGWRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETSurface\ETSRun.exe")
| Language | Syntax |
|---|---|
| Python | subprocess.call([ETSPath, "PolygonVolumeTin", "input dataset", "output dataset", "reference tin", "level field", "level"]) |
| .NET using ETSRun.exe | StartInfo.FileName = ETSPath StartInfo.Arguments = "PolygonVolumeTin" "input dataset" "output dataset" "reference tin" "level field" "level" |
| .NET using ETSOutX.dll | PolygonVolumeTin(input dataset, output dataset, reference tin, level field, level) |
| ArcPy | arcpy.PolygonVolumeTin("input dataset", "output dataset", "reference tin", "level field", "level") |
Notes:
<> - required parameter
{} - optional parameter
The argument separator for StartInfo.Arguments is space. If a string might contain a space, you need to double quote it.