What I have: a .gpx file which contains a series of waypoints, built via methods outlined here: Simulating Locations with Xcode.
What I want to do: A) Have Xcode simulate movement along a path outlined by the waypoints. B) change the rate at which those waypoints are ingested by Xcode (ie. simulate travel velocity).
Step A is working wonderfully, but I have not found any information on how to achieve step B.
Sample from .gpx file:
<?xml version="1.0" encoding="UTF-8"?> <gpx version="1.0" creator="GPSBabel - http://www.gpsbabel.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.topografix.com/GPX/1/0" xsi:schemaLocation="http://www.topografix.com/GPX/1/0 http://www.topografix.com/GPX/1/0/gpx.xsd"> <time>2014-02-01T14:06:32Z</time> <bounds minlat="38.879180000" minlon="-77.978110000" maxlat="38.889860000" maxlon="-77.023940000"/> <wpt lat="38.889860000" lon="-77.023940000"> <ele>0.000000</ele> <name>X</name> <cmt>X</cmt> <desc>X</desc> </wpt> <wpt lat="38.889740000" lon="-77.023930000"> <ele>0.000000</ele> </wpt> <wpt lat="38.889620000" lon="-77.023900000"> <ele>0.000000</ele> </wpt> <wpt lat="38.889520000" lon="-77.023870000"> <ele>0.000000</ele> </wpt> <wpt lat="38.889430000" lon="-77.023840000"> <ele>0.000000</ele> </wpt> <wpt lat="38.889426700" lon="-77.023838900"> <ele>0.000000</ele> <name>National Mall, Washington, DC</name> <cmt>9th Street Expressway, Washington, DC 20565, USA</cmt> <desc>9th Street Expressway, Washington, DC 20565, USA</desc> </wpt> <trk> <name>Directions from X to National Mall, Washington, DC</name> <trkseg> </trkseg> </trk> </gpx>