Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Data Management toolbox > Features toolset > Tools

Feature Vertices to Points (Data Management) (ArcInfo only)

Release 9.3
Last modified March 8, 2012
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

NOTE: This topic was updated for 9.3.1.


Creates a point output feature class based on the vertices of the input features. The attributes of the input features are maintained in the output points feature class.

Learn more about how Feature Vertices to Points works.


Illustration


Feature Vertices to Points

Usage tips

Command line syntax
An overview of the Command Line window
FeatureVerticesToPoints_management <in_features> <out_feature_class> {ALL | MID | START | END | BOTH_ENDS}

Parameter Explanation Data Type
<in_features>

Line or polygon features whose vertices will be used to create points.

Feature Layer
<out_feature_class>

The feature class that will be created and will contain the results.

Feature Class
{ALL | MID | START | END | BOTH_ENDS}

Specifies which of the Input Feature's vertices will be transferred (as points) to the Output Feature Class. Specified using one of the following keywords:

  • ALL — A point will be added to the Output Feature Class for each of the Input Feature's vertices. This is the default.
  • BOTH_ENDS — One point will be created for the vertex located at the start, and one point will be created for the vertex at the end of each of the Input Features. For a polygon feature, a single point will be returned that represents the coincident first and last vertices.
  • END — A point will be created in the Output Feature Class for the last vertex (end) of each input feature.
  • MID — A point will be created in the Output Feature Class that will be based on the location of the midpoint of each of the input features. That is the midpoint along the perimeter of a polygon feature and should not be confused with a polygon centroid. It is the halfway point along a line feature.
  • START — A point will be created in the Output Feature Class for the first vertex (start) of each input feature.

String
Data types for geoprocessing tool parameters


Command line example

FeatureVerticesToPoints_management d:\workspace.mdb\roads roads_pt.shp all

Scripting syntax
About getting started with writing geoprocessing scripts
FeatureVerticesToPoints_management (in_features, out_feature_class, point_location)

Parameter Explanation Data Type
in_features (Required)

Line or polygon features whose vertices will be used to create points.

Feature Layer
out_feature_class (Required)

The feature class that will be created and will contain the results.

Feature Class
point_location (Optional)

Specifies which of the Input Feature's vertices will be transferred (as points) to the Output Feature Class. Specified using one of the following keywords:

  • ALL — A point will be added to the Output Feature Class for each of the Input Feature's vertices. This is the default.
  • BOTH_ENDS — One point will be created for the vertex located at the start, and one point will be created for the vertex at the end of each of the Input Features. For a polygon feature, a single point will be returned that represents the coincident first and last vertices.
  • END — A point will be created in the Output Feature Class for the last vertex (end) of each input feature.
  • MID — A point will be created in the Output Feature Class that will be based on the location of the midpoint of each of the input features. That is the midpoint along the perimeter of a polygon feature and should not be confused with a polygon centroid. It is the halfway point along a line feature.
  • START — A point will be created in the Output Feature Class for the first vertex (start) of each input feature.

String

Data types for geoprocessing tool parameters


Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "h:/workspace.mdb"
gp.toolbox = "management"

try:
  gp.FeatureVerticesToPoints "roads", "roads_pt.shp", "all"

except:
  print "Error occured while running FeatureVerticesToPoints"
  print gp.GetMessages(2)

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.