4

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...

7
  • @Jan de Jager, what GIS software are you using?
    – artwork21
    Commented Jun 8, 2011 at 14:04
  • 2
    here is a similar question: gis.stackexchange.com/questions/9736/… Commented Jun 8, 2011 at 15:33
  • @artwork21 - no specific GIS software. I'm generating KML data from mass data stored in MongoDB. Commented Jun 8, 2011 at 17:08
  • @Nicklas ... uhmmm.. huh? Commented Jun 8, 2011 at 17:09
  • I'm looking for an algorithm/formula for this solution... Commented Jun 8, 2011 at 17:10

2 Answers 2

3

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

0

Have you tried GPSBabel? http://werc.engr.uaf.edu/~ken/doc/gpsbabel/htmldoc-1.3.5/filter_interpolate.html

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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