Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to extract the beginning/ending coordinates of every shape within a polyline shape file. It would be best to actually add them as values within the shape files .dbf (I can live without doing this).

What is the easiest way to do this in ArcMap? I know that XTools has a plugin that does this really easy, but I don't want to purchase software for something that seems like it should be fairly trivial.

Thank you!


I am currently using ArcMap 10.

share|improve this question
up vote 3 down vote accepted

This can be readily done using the field calculator as outlined in the online help topic you can get the first and last point's x and y coordinates added to your table. If you need to produce a shapefile from them then you will have additional steps

share|improve this answer
Thank you, I was able to find it after some research in there. What helped out the most was when I realized how to use the CalculateGeometry function within the Attributes Table. – jsmith Jul 5 '11 at 21:00

You are not saying which version of ArcMap you are using but in either 9 or 10 you should be able to use the field calculator. In 10 you can also use Python scripting as well as vb script. Have a look here for 9 and here for 10

share|improve this answer

This is a free feature of X=Tools so no purchase necessary.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.