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

Jan de Jager
  • 233
  • 2
  • 6

2 Answers2

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

sophia
  • 417
  • 2
  • 4
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
Vanuan
  • 273
  • 2
  • 12