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 am working with several point datasets that I have received, with the points representing xy locations with elevation data for several levees in south Louisiana. I would like to be able to calculate the cumulative distance of each point from a point of origin. By example, if my point of origin would represent 0, the distance to point 1 is 85 feet, the distance from point 1 to point 2 is 90 feet, the distance to from point 2 to point 3 is 70 feet, then the cumulative distance for point 1 would be 85 feet, point 2 would be 175 feet, point 3 would be 245 feet, etc. And I would have to add the point of origin to several of the datasets for the purpose of consistency.

Thanks in advance for any assistance.

share|improve this question
If you're willing to work outside ArcGIS, a quick-and-dirty way is to read the sequence of (X,Y) coordinates as a pair of columns in a spreadsheet (or similarly capable computational tool, such as R), compute successive distances in a third column (use the Pythagorean Theorem), and perform a cumulative sum in a fourth column. – whuber May 30 '12 at 21:14

Your Answer


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

Browse other questions tagged or ask your own question.