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

Add XY Coordinates (Data Management)

Release 9.2
Last modified November 29, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

Adds the fields POINT_X and POINT_Y to the point input features and calculates their values.


Illustration

Add XY Coordinates illustration

Usage tips

Command line syntax
An overview of the Command Line window
AddXY_management <in_features>

Parameter Explanation Data Type
<in_features>

The point features whose x,y coordinates will become feature fields.

Feature Layer
Data types for geoprocessing tool parameters


Command line example

addxy_management c:\temp\wellsites.shp

Scripting syntax
About getting started with writing geoprocessing scripts
AddXY_management (in_features)

Parameter Explanation Data Type
in_features (Required)

The point features whose x,y coordinates will become feature fields.

Feature Layer

Data types for geoprocessing tool parameters


Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "c:/temp"
gp.toolbox = "management"
gp.addxy("wellsites.shp")

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