Open Table of Contents

ET GeoWizards Toolbox

Points To PolygonsZM
(Go to the main page of the function)

Converts a point data set to a polygon Z (M) feature class

Command line syntax 

ET_GPPointToPolygonZM <input_dataset> <out_feature class> <ZM_value_field> <Z | M> <polygonID_field> {use_order} {order_field} {link_field}

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)
<ZM_value_field> A String  - the name (Case sensitive) of a Numeric (integer or double) field which values will be used for assigning Z(M) values to the output  points
<Z | M> Convert Option. A String - indicates the type of the output points. The available options are (Case sensitive): 
  • "Z" - the output will be PointZ
  • "M" - the output will be PointM
<polygonID_field>  A String -  the name (Case sensitive) of the field which values will indicate the points used to form a single polygon.
{use_order} A Boolean  indicating whether the order in which the points describe the polygon will be taken from a field in the attribute table
{order_field} A String  - the name (Case sensitive) of a Numeric (integer or double) field which values will indicate the order in which the points describe the polygons. This is ignored (can be set to any string) if {use_order} is False
 {link_field} A String - the name of a field to be used as a link between the input points and the output.  The values for the first and last point that will form a single polyline will be added to the polyline attribute table.

Scripting syntax

ET_GPPointToPolygonZM (input_dataset, out_feature class, ZM_value_field, convert_option, polygonID_field, use_order, order_field, link_field)

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