Open Table of Contents

ET GeoWizards Toolbox

Point Grid Origin
(Go to the main page of the function)

Creates a point grid using origin point, number of columns and rows, X and Y cell size.

Command line syntax

ET_GPPointGridOrigin <out_feature_class> {out_spatial_reference} <grid_type> <x_origin> <y_origin> <number_columns> <number_rows> <column_width> {row_height}

Parameters

Expression Explanation
<out_feature class> A String - the full name of the output feature class (A feature class with the same full name should not exist)
{out_spatial_reference} The spatial reference of the output feature class. If not specified the output will be created with Unknown coordinate system
<grid_type> A String controlling the type of the output point grid. Valid values "Square", "Rectangle" or " Triangle"
<x_origin> A Double representing the X coordinate of the lower left point of the grid.
<y_origin> A Double representing the Y coordinate of the lower left point of the grid.
<number_columns> A Long representing the number of columns that the resulting grid will have
<number_rows> A Long representing the number of rows  that the resulting grid will have
<column_width> A Double representing the the width of each grid column (X - cell size)
{row_height} A Double representing the the height  of each grid column (Y - cell size). Needed only for a "Rectangle" type grid. If not used  row_height = column_width will be assigned.

Scripting syntax

ET_GPPointGridOrigin (out_feature_ class out_spatial_reference grid_type x_origin y_origin number_columns number_rows column_width row_height)

See the explanations above:
<> - required parameter
{} - optional parameter