Open Table of Contents

ET GeoWizards Toolbox

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

Converts a polygon data set to a point feature class.

Command line syntax 

ET_GPPolygonToPoints <input_dataset> <out_feature class> <Vertex | Center | Label> {remove_duplicates}

Parameters

Part Description
<input_dataset> A Polygon 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)
<Vertex | Center | Label> Convert Option. A String -  the export option to be used. The available options are (Case sensitive): 
  • "Vertex" -  - the vertices of all polygons will be converted to points. If {remove_duplicates} is True  the duplicate points created from the vertices of two adjacent polygons will be represented by one point.
  • "Label" - the Label point is always located inside the polygon.  The algorithm makes sure that the point is not close to the boundary of the polygon. Points created using this algorithm are suitable for spatial transfer of attributes (See Smooth Polygons and Generalize Polygons functions).
  • "Center" - the Center points represent the centroid of a polygon. Therefore sometimes they might be located outside of the polygon
  • "CenterIn" - points representing the centroids of the polygons. If the centroid occurs outside of the polygon, the point is moved to be in the polygon.
{remove_duplicates} A Boolean  used only with Convert Option = "Vertex". If True the duplicate points representing coincident vertices of two or more adjacent polygons will be removed.

Scripting syntax

ET_GPPolygonToPoints (input_dataset, out_feature class, convert_option, remove_duplicates)

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