Need X,Y coordinates from point file

1104
5
10-11-2012 11:59 AM
chadhickman
Occasional Contributor
I have a shapefile that contains several points but the attribute table does not display the actual coordinates (X,Y). I was just wondering if some knew a quick way in ArcMap to get the coordinates information? Is there a tool in the ArcToolbox to do this?

Thanks!
0 Kudos
5 Replies
T__WayneWhitley
Frequent Contributor
Yes of course...glad you mentioned ArcToolbox.  The tool is the 1st one under the Features toolset:
Data Management Tools.tbx >> Features >> Add XY Coordinates


One very nice thing about this tool is that it automatically adds the fields (Point_x, Point_y, etc.) if you don't have them already in the attribute table - even adds the Z and M fields, if your dataset is so enabled.  Even 'updates' these fields, if necessary, on subsequent runs of the tool (I just tested this).

Incidentally, if you already have X and Y fields defined and you wanted to maintain them, you can optionally use 'Calculate Geometry' from within ArcMap.  (Right-click on the field header and select the appropriate value to calculate - have to run the field calculations separately, though.)
0 Kudos
chadhickman
Occasional Contributor
Wayne,

I think you may have misunderstood the question. I already have the shapefile and I am able to display the points on my map, what I need to the actually X,Y coordinates in numerical form.
0 Kudos
T__WayneWhitley
Frequent Contributor
Yes, so if you need the numerical values to be added to the attribute table of the shapefile, Add XY Coordinates does what you ask.
0 Kudos
AlexeyTereshenkov
Regular Contributor III
Yeah, the tool Wayne proposed does what you need. Another simple way to calculate the XY coordinates as outlined by Wayne is to create two fields on your own in the attribute table in ArcMap, then right-click each of them and choose Calculate Geometry where you could choose to calculate X- and Y-coordinate.
0 Kudos
myname
by
New Contributor III

You can use Geometry calculate to get XY coordinate of points, you can see here calculate xy coordinate points in ArcGIS - YouTube  

0 Kudos