Open Table of Contents

ET GeoWizards ToolBox

Points To Rectangles

(Go to the main page of the function)

Creates rectangles from points in a point dataset and user defined width, height rotation angle and location of the point.

Command line syntax

ET_GPPointsToPieSegments <input_dataset> <out_feature class> <width_field> <height_field> <angle_field> <LowerLeft | UpperLeft | UpperRight | LowerRight | Center>

Parameters

Expression Explanation
<input_dataset> A Point feature class or feature layer
<out_feature class> A String - the full name of the output feature class (A feature class with the same full name should not exist)
<width_field> A String representing the name of a field in the in the attribute table of the input dataset field name.  The field has the values for the width of the rectangles to be created.
<height_field> A String representing the name of a field in the in the attribute table of the input dataset field name.  The field has the values for the height of the rectangles to be created.
<angle_field> A String representing the name of a field in the in the attribute table of the input dataset field name.  The field has the values for the rotation angle of the rectangles to be created. The angle should be in Decimal Degrees and have Polar orientation - East = 0, anti-clockwise.
<LowerLeft | UpperLeft | UpperRight | LowerRight | Center> Required. A String - This parameter defines what will be the location of the resulting rectangles in relation to the original points.. The available options are (Case sensitive): 
  • "LL"  - Lower Left corner of the rectangles will be located on the input point.
  • "LR"  - Lower Right corner of the rectangles will be located on the input point.
  • "UL"  - Upper Left corner of the rectangles will be located on the input point. 
  • "UR"  - Upper Right corner of the rectangles will be located on the input point.
  • Any other string used will cause the centers of the rectangles to be located on the input point.

Go to the main page of the function for an example 

Scripting syntax

ET_GPPointsToPieSegments (input_dataset, out_feature class,direction_field,distance_field, angle_field, direction_type, direction_unit)

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