Skip to main content
Question

Interpolation of GPX GPS log

  • November 9, 2015
  • 2 replies
  • 58 views

Hi,

 

 

How can I interpolate a GPX track? TrackPoints were logged every 2 seconds, exceptionally every second. For my application I need 1Hz. So I want to interpolate xy coordinates to every second.

 

 

 

 

 

1
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

roland.martin
Contributor
Forum|alt.badge.img+11
  • Contributor
  • November 9, 2015
It's a little bit convoluted, but this is how I've done it before (this is from memory, so apologies for any transformer name mismatches!)

 

1. Parse timestamps - use a DateFormatter to convert to seconds since epoch (%s)

 

2. Set timestamps as measure (MeasureSetter)

 

3. Create line features (LineJoiner)

 

4. Snip at 1 second intervals (Snipper)

 

 

This should get you most of the way - post again if you get stuck!

david_r
Celebrity
  • November 10, 2015
Hi

 

 

Also look at the Densifier transformer.

 

 

David