ET GeoWizards Toolbox
Point Grid Extents
(Go to the main page of the function)
Creates a grid of points using grid extents X and Y cell size.
Command line syntax
ET_GPPointGridExtents <out_feature_class> {out_spatial_reference} <grid_type> {get_extents_from} <Extent> <X_Cell_Size> <Y_Cell_Size>
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" |
{get_extents_from} | A String - a layer name or the full name of the a feature class to be used as a source for the extents (see examples below) |
<Extent> | A Double representing the Y coordinate of the lower left corner of the grid. (see examples below) |
<X_Cell_Size> | A Double representing the size of the call in X direction |
<Y_Cell_Size> | A Double representing the size of the call in Y direction. |
Scripting syntax
ET_GPPointGridExtents (out_feature_ class out_spatial_reference grid_type get_extents_from Extent X_Cell_Size Y_Cell_Size)
See the explanations above:
<> - required parameter
{} - optional parameter
Examples:
ET_GPPointGridExtents c:\00\zzzzzz1 # Rectangle cadastre1 # 50 5
ET_GPPointGridExtents c:\00\zzzzzz3 # Rectangle # "-100.000000 -200.000000 200.000000 100.000000" 50 5