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 have a set of GPS coords with X,Y and Course. I need to interpolate additional points based on the course of each point. It would be a simple line intersection based on lines drawn using the 2 locations and course.

EDIT: Let me clarify .. i have a set of gps logged points, each with lat/long, heading and speed. I need to interpolate an additional point between each known location based on the 2 known points and there headding. Kind of like dead-reconing but after the fact. It'll be a linear interpolation.. here is an image of said problem 1...

share|improve this question
@Jan de Jager, what GIS software are you using? – artwork21 Jun 8 '11 at 14:04
here is a similar question:… – Nicklas Avén Jun 8 '11 at 15:33
@artwork21 - no specific GIS software. I'm generating KML data from mass data stored in MongoDB. – Jan de Jager Jun 8 '11 at 17:08
@Nicklas ... uhmmm.. huh? – Jan de Jager Jun 8 '11 at 17:09
I'm looking for an algorithm/formula for this solution... – Jan de Jager Jun 8 '11 at 17:10
up vote 3 down vote accepted

This can be solved using either the Haversine or Vincenty formula. Please see my answer here: How to create a point along a line given distance

share|improve this answer

Have you tried GPSBabel?

gpsbabel -i gpx -f track.gpx -x interpolate,time=10 -o gpx -F newtrack.gpx
gpsbabel -i gpx -f track.gpx -x interpolate,distance=1k -o gpx -F newtrack.gpx
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.