<div dir="ltr"><div><div><div><div><div><div>Hi all,<br><br></div>a complete newbie to Openstreetmap here, so bear with me... Briefly, what I'm, trying to achieve is the following: I have a .gpx file from a bike ride, and I want to use the gps data to get images from those locations from Google Street View. But, GPS not being that accurate, I first want to massage the .gpx file and obtain a .gpx file where the coordinates have been matched to the closest road.<br><br>By using <a href="https://mapmatching.3scale.net/">https://mapmatching.3scale.net/</a> I manage to get a good match to the closest road, but the format for the output file I get is not .gpx anymore.<br><br></div><div>To give some details, the .gpx file I get comes from the Endomondo application, and it looks like:<br><br><br></div><div><?xml version="1.0" encoding="UTF-8"?><br>[...]<br>    <trkseg><br>      <trkpt lat="28.466029" lon="-16.269666"><br>        <time>2014-10-03T07:08:14Z</time><br>      </trkpt><br><br></div><br></div>After using the mapmatching website I get a xml file, which looks like:<br><br><?xml version="1.0" encoding="UTF-8" standalone="yes"?><result><diary><entries><entry><route><link src="278449946" id="101549311" dst="1172664894"/><link src=\<br>"1172664894" id="158914755" dst="278449944"/> [...]<br><br><br></div>I already have a script that, when given a .gpx file with the format above will collect the images from Google Street View, with the correct compass bearings, etc., so I would like to be able to convert the .xml file with the OpenStreetMap references back to a .gpx format. <br><br></div>Is this possible somehow? Any help/guidance appreciated.<br><br></div>Thanks,<br>Ángel de Vicente<br><div><div><div><br><div><br></div></div></div></div></div>