Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Analysis toolbox > Proximity toolset > Tools

Point Distance (Analysis) (ArcInfo only)

Release 9.2
Last modified January 13, 2009
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

Determines the distances between point features in the Input Features to all points in the Near Features, within the Search Radius.


Illustration

Point Distance illustration

Usage tips

Command line syntax
An overview of the Command Line window
PointDistance_analysis <in_features> <near_features> <out_table> {search_radius}

Parameter Explanation Data Type
<in_features>

The points for which distances to the Near Features will be determined.

Feature Layer
<near_features>

The points for which distances from the Input Features will be determined. Distances between points within the same feature class or layer can be determined by specifying the same feature class or layer for the Input Features and Near Features.

Feature Layer
<out_table>

The table contains the distance measurements between points in the Input Features and Near Features. If Search Radius is not used, the number of records will the number of points in the Input Features multiplied by the number of points in the Input Features.

Table
{search_radius}

Distances will only be calculated for those Near Features that are within the Search Radius of the Input Features.

Linear unit
Data types for geoprocessing tool parameters


Command line example

pointdistance_analysis D:\Workspace\wells.shp D:\Workspace\wells.shp D:\Workspace\wells_dist.dbf 12000

Scripting syntax
About getting started with writing geoprocessing scripts
PointDistance_analysis (in_features, near_features, out_table, search_radius)

Parameter Explanation Data Type
in_features (Required)

The points for which distances to the Near Features will be determined.

Feature Layer
near_features (Required)

The points for which distances from the Input Features will be determined. Distances between points within the same feature class or layer can be determined by specifying the same feature class or layer for the Input Features and Near Features.

Feature Layer
out_table (Required)

The table contains the distance measurements between points in the Input Features and Near Features. If Search Radius is not used, the number of records will the number of points in the Input Features multiplied by the number of points in the Input Features.

Table
search_radius (Optional)

Distances will only be calculated for those Near Features that are within the Search Radius of the Input Features.

Linear unit

Data types for geoprocessing tool parameters


Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "D:/Workspace"
gp.pointdistance_analysis "wells.shp", "wells.shp", "wells_dist.dbf", "12000"

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