Feature to Point (Data Management) (ArcInfo only) |
|
Release 9.2
Last modified November 29, 2010 |
![]() ![]() ![]() Print all topics in : "Tools" |
Creates a point Feature Class based on an input polygon, line, or multipoint feature class. The attributes of the input features are present in the resulting points.
Illustration
Usage tips
The following environment settings affect this tool: Coordinate system, Extent, XY Tolerance, Z Tolerance, M Tolerance, XY Resolution, Z Resolution, M Resolution, Output XY domain, Output Z domain, Output M domain, Output has M values, Output has Z values, Default Z value, Configuration keyword, Output Spatial Grid.
Command line syntax
An overview of the Command Line window
FeatureToPoint_management <in_features> <out_feature_class> {CENTROID | INSIDE}
Parameter | Explanation | Data Type |
<in_features> |
The input features that can be multipoint, line, polygon, or annotation. |
Feature Layer |
<out_feature_class> |
The output feature class to which the results will be written. |
Feature Class |
{CENTROID | INSIDE} |
Specifies the restriction on the placement of the points. CENTROID (This is the default) — The location of the resulting point's location will be determined as follows
INSIDE — The location of the resulting point's location will be determined as follows
|
Boolean |
FeatureToPoint d:\workspace.mdb\income d:\workspace.mdb\income_pt INSIDE
Scripting syntax
About getting started with writing geoprocessing scripts
FeatureToPoint_management (in_features, out_feature_class, point_location)
Parameter | Explanation | Data Type |
in_features (Required) |
The input features that can be multipoint, line, polygon, or annotation. |
Feature Layer |
out_feature_class (Required) |
The output feature class to which the results will be written. |
Feature Class |
point_location (Optional) |
Specifies the restriction on the placement of the points. CENTROID (This is the default) — The location of the resulting point's location will be determined as follows
INSIDE — The location of the resulting point's location will be determined as follows
|
Boolean |
import arcgisscripting gp = arcgisscripting.create() gp.workspace = "h:/Workspace" try: gp.FeatureToPoint "d:\workspace.mdb\income", "income_pt", "INSIDE" except: print "Error occured while running FeatureToPoint" print gp.GetMessages(2)