Creates a grid of points using user defined grid type and distance between the points.
Two different functions are available for the Vector Grid creation
Expression | Explanation |
---|---|
Function Name | PointGridExtent |
<output dataset> | A String - the full name of the output layer. |
<Grid Type> | Required. A String indicating the type of the grid to be created. Valid values:
|
<Cell SizeX> | A Double - the cell size in X direction. |
<Cell SizeY> | A Double - the cell size in Y direction. |
<Extents From Reference> | A Boolean indicating whether the extents of the grid will be taken from a reference dataset. |
{Reference Dataset} | A String - the full name of the reference dataset. |
{MinX} | A Double - minimum X of the extent. |
{MinY} | A Double - minimum Y of the extent. |
{MaxX} | A Double - maximum X of the extent. |
{MinX} | A Double - maximum Y of the extent. |
ETGWPath used in the table below is the full path to ETGWRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETGeo Wizards\ETGWRun.exe")
Language | Syntax |
---|---|
Python | subprocess.call([ETGWPath, "PointGridExtent", "output dataset", "Grid Type", "Cell SizeX", "Cell SizeY", "Extents From Reference", "Reference Dataset"]) |
.NET using ETGWRun.exe | StartInfo.FileName = ETGWPath StartInfo.Arguments = "PointGridExtent" "output dataset" "Grid Type" "Cell SizeX" "Cell SizeY" "Extents From Reference" "Reference Dataset" |
.NET using ETGWOutX.dll | PointGridExtent(output dataset, Grid Type, Cell SizeX, Cell SizeY,Extents From Reference, Reference Dataset) |
ArcPy | arcpy.PointGridExtent(output dataset, "Grid Type" , "Cell SizeX", "Cell SizeY", "Extents From Reference", "Reference Dataset") |
Expression | Explanation |
---|---|
Function Name | PointGridOrigin |
<output dataset> | A String - the full name of the output layer. |
<Grid Type> | Required. A String indicating the type of the grid to be created. Valid values:
|
<Cell SizeX> | A Double - the cell size in X direction. |
<Cell SizeY> | A Double - the cell size in Y direction. |
<Number Columns> | An Integer - the number of columns to be created. |
<Number Rows> | An Integer - the number of rows to be created. |
<Origin From Reference> | A Boolean indicating whether the origin point of the grid will be taken from a reference dataset. |
{Reference Dataset} | A String - the full name of the reference dataset. |
{Lower LeftX} | A Double - X of the lower left corner of the extent. |
{Lower LeftY} | A Double - Y of the lower left corner of the extent. |
ETGWPath used in the table below is the full path to ETGWRun.exe (E.G. "C:\Program Files\ETSpatial Techniques\ETGeo Wizards\ETGWRun.exe")
Language | Syntax |
---|---|
Python | subprocess.call([ETGWPath, "PointGridOrigin", "output dataset", "Grid Type", "Cell SizeX", "Cell SizeY","Number Columns","Number Rows", "Origin From Reference", "Reference Dataset"]) |
.NET using ETGWRun.exe | StartInfo.FileName = ETGWPath StartInfo.Arguments = "PointGridOrigin" "output dataset" "Grid Type" "Cell SizeX" "Cell SizeY" "Number Columns" "Number Rows" "Origin From Reference" "Reference Dataset" |
.NET using ETGWOutX.dll | PointGridOrigin(output dataset, Grid Type, Cell SizeX, Cell SizeY,Number Columns, Number Rows, Origin From Reference, Reference Dataset) |
ArcPy | arcpy.PointGridOrigin(output dataset, "Grid Type" , "Cell SizeX", "Cell SizeY", "Number Columns", "Number Rows", "Origin From Reference", "Reference Dataset") |
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.