Create Tiles

Running programmatically

Creates a regular polygons grid with user defined.

Inputs:

Outputs:

Notes:

Examples:

Shape = Triangle

tile_tri

Shape = Square, Orientation = "Pointy"

tile_sq

Shape = Hexagon, Orientation = "Flat"

tile_hex_flat

Shape = Hexagon, Orientation = "Pointy"

tile_hex_pointy

Running Programmatically

(Go to TOP)

Two different functions are available for the Vector Grid creation

Create Tiles Extent

Parameters

Expression Explanation
Function Name CreateTilesExtent
<output dataset> A String - the full name of the output layer.
<Tile Type> Required. A String indicating the type of the tiles to be created. Valid values:
  • "Triangle"
  • "Square"
  • "Hexagon"
<Size Represents> A String indicating the meaning of the SIZE parameter. Valid values:
  • "Side"
  • "RadiusIn"
  • "RadiusOut"
<Tile Size> A Double - the size of the tile.
<Orientation> A String indicating the orientation of the tiles (see examples above). Valid values:
  • "Flat"
  • "Pointy"
<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.

Running the function

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, "CreateTilesExtent", "output dataset", "Tile Type", "Size Represents", "Tile Size", "Orientation", "Extents From Reference", "Reference Dataset"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "CreateTilesExtent" "output dataset" "Tile Type" "Size Represents" "Tile Size" "Orientation" "Extents From Reference" "Reference Dataset"
.NET using ETGWOutX.dll CreateTilesExtent(output dataset, Tile Type, Size Represents, Tile Size, Orientation, Extents From Reference, Reference Dataset)
ArcPy arcpy.CreateTilesExtent(output dataset, "Tile Type" , "Size Represents", "Tile Size", "Orientation" "Extents From Reference", "Reference Dataset")

(Go to TOP)

Create Tiles Origin

Parameters

Expression Explanation
Function Name CreateTilesOrigin
<output dataset> A String - the full name of the output layer.
<Tile Type> Required. A String indicating the type of the tiles to be created. Valid values:
  • "Triangle"
  • "Square"
  • "Hexagon"
<Number Columns> An Integer - the number of columns to be created.
<Number Rows> An Integer - the number of rows to be created.
<Size Represents> A String indicating the meaning of the SIZE parameter. Valid values:
  • "Side"
  • "RadiusIn"
  • "RadiusOut"
<Tile Size> A Double - the size of the tile.
<Orientation> A String indicating the orientation of the tiles (see examples above). Valid values:
  • "Flat"
  • "Pointy"
<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.

Running the function

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, "CreateTilesOrigin", "output dataset", "Tile Type", "Number Columns","Number Rows", "Size Represents", "Tile Size", "Origin From Reference", "Reference Dataset"])
.NET using ETGWRun.exe StartInfo.FileName = ETGWPath
StartInfo.Arguments = "CreateTilesOrigin" "output dataset" "Tile Type" "Number Columns" "Number Rows" "Size Represents" "Tile Size" "Origin From Reference" "Reference Dataset"
.NET using ETGWOutX.dll CreateTilesOrigin(output dataset, Tile Type, Number Columns, Number Rows, Size Represents, Tile Size, Origin From Reference, Reference Dataset)
ArcPy arcpy.CreateTilesOrigin(output dataset, "Tile Type", "Number Columns", "Number Rows", "Size Represents", "Tile Size", "Origin From Reference", "Reference Dataset")

Notes:

(Go to TOP)