Creates a floating raster with values representing a tilted plane based on a known point on the plane, slope and azimuth. The extent can be imported from an existing feature dataset, raster or TIN.
Parameters
| Expression | Explanation |
|---|---|
| Function Name | CreateRasterPlane |
| <output raster> | A String - the full name of the output raster. |
| <x coordinate> | A Double representing the X coordinate of the known point. |
| <y coordinate> | A Double representing the Y coordinate of the known point. |
| <z value> | A Double representing the Z value of the known point. |
| <slope> | A Double representing the slope of the plane in degrees (0.0 - 90.0). |
| <azimuth> | A Double representing the azimuth of the plane in degrees (0.0 - 360.0). |
| <cell size> | A Double representing the cell size. |
| <reference dataset> | A String - the full path to the reference dataset. |
| {MinX} | A Double - minimum X of the custom extent. |
| {MaxX} | A Double - maximum X of the custom extent. |
| {MinY} | A Double - minimum Y of the custom extent. |
| {MinX} | A Double - maximum Y of the custom extent. |
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, "CreateRasterPlane", "output raster", "x coordinate", "y coordinate", "z value", "slope", "azimuth", "cell size", "reference dataset", "MinX", "MaxX", "MinY", "MaxY"]) |
| .NET using ETSRun.exe | StartInfo.FileName = ETSPath StartInfo.Arguments = "CreateRasterPlane" "output raster" "x coordinate" "y coordinate" "z value" "slope" "azimuth" "cell size" "reference dataset" "MinX" "MaxX" "MinY" "MaxY" |
| .NET using ETSOutX.dll | CreateRasterPlane(output raster, x coordinate, y coordinate, z value, slope, azimuth, maximum value, cell size, reference dataset, MinX, MaxX, MinY, MaxY) |
| ArcPy | arcpy.CreateRasterPlane("output raster", "x coordinate", "y coordinate", "z value", "slope", "azimuth", "cell size", "reference dataset", "MinX", "MaxX", "MinY", "MaxY") |
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.