Go to ET GeoWizards 12.x User Guide

Polygon To Point

Go to ToolBox Implementation

Converts a polygon data set to a point feature class

Inputs:

Outputs:

Notes :

Examples:

Input Dataset

Result Vertices option

 Result Labels option

source

vertices

labels
Result Center option Result Center in option Result Deepest Point option
center centerIn deepest

 

ToolBox implementation
(Go to TOP)

Command line syntax 

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

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 | LabelCenterIn|DeepestPoint> 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.
  • "DeepestPoint - a single point per polygon - the inside point farthest from the polygon boundary.
{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.
{calc_point_pos} A Boolean indicating whether the position of the points along the polygon boundary to be calculated (only if the "Vertex option is used)
{keep_ZM} A Boolean indicating whether the the output will be of Z(M) type (only if the input dataset is of Z(M) type)

Scripting syntax

ET_GPPolygonToPoints (input_dataset, out_feature class, convert_option, remove_duplicates,calc_point_pos, keep_ZM)

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

Copyright © Ianko Tchoukanski