Get Updates By E-mail 

Article Written By:
Johann Dowa

Tool For Automatically Modifying GPX Files So That Movement Occurs At A Specific Speed

  •  
  •  
  •  
  •  
  •  

GPX files are used for testing locations and routes within the iOS simulator, however there is an issue with the simulator moving between waypoints at a constant speed ignoring any timestamps within the GPX file.

One workaround to this is to create a set of points in-between the waypoints to slow down the movement speed.

Here’s a Ruby based tool from appscape that automatically modifies your GPX files generating interpolated points based on your chosen speed called Gips.

This example from the readme shows how to modify a gpx file to slow the movement to 20 km/h:

./gips.rb --speed 20 input.gpx output.gpx

You can find Gips on Github here.

A nice tool for those having issues with using GPX files in development.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments