GPS Forums

SatNav Discussion Forum

Adapting Garmin routes for use in Volvo Sensus

Message
Posted by jparish
Adapting Garmin routes for use in Volvo Sensus

Hi,
A couple of weeks back members of this forum (and especially Mark) were super-helpful to me and the Volvo owners' community in adapting the POI tools to support the POI format used in the current Volvo Sensus satnav system. I will be writing that up for an issue of Volvo Driver magazine (which goes to 4,000 owners) in the New Year.
Not to be daunted, I am now working on importing routes (rather than simple POI) into the Sensus system, which is another feature the car supports. And there are some very nice touring routes out there, which it would be good to enjoy in our Volvos. It also overcomes a limitation of the system, which otherwise only lets you add four intermediate points when planning a journey.
Once again, Volvo uses its own extensions (gpxv) to the standard GPX schema. I have successfully recorded a route in my car and exported that data, then combined that schema with some route data from a "standard" GPX route to create some new routes in the format the Volvo system uses. They import and load perfectly in the car.
Unfortunately though, the process is rather clunky: it entails editing the GPX files in Wordpad (or another text editor), then copying and pasting the "standard" GPX data into a file using the Volvo schema. It is also necessary to replace the "rtept" route point tags with a specific "gpx:rtept" tag which I have not seen in any other file export formats. It would be great to clean up this process, but I am not a coder.
So two questions to this community:
1) Has anyone here any experience of working with routes in the Volvo Sensus system?
2) Failing that, does anyone know how one might create a routine to simplify the manual process above (and which I can document in detail)?
Thanks everyone in advance,
Julian.

Posted by Mark
Re: Adapting Garmin routes for use in Volvo Sensus

Hi Julian,
Thanks!
We can add the route file format to out POI Editor, if you want. All what Andrew needs is a working file and a beta tester.
Regards

Posted by jparish
Adapting Garmin routes for use in Volvo Sensus

Hi Mark and Andrew,
Send in the cavalry! GPS Data Team to the rescue once again ...
I am happy to act as a beta tester and provide a sample data file (see below).
This originated as a motorcycle touring route, provided by a UK magazine for free download as a .gpx file or to view in Google Maps. Go to a ride site and select to see route 4 (Avallon). I got the cleanest and simplest file by viewing the route in Google Maps in IE, then importing it - as a set of waypoints - and saving that as a .gpx file.
I then merged the information from that route with the structure used by Volvo (based on a route I recorded in the car and exported). The file required a good deal of manual editing (in WordPad) to work, notably:
- Removing some unnecessary data from the Volvo recording, including the journey time, total distance and distance format (km/miles) which the in-car system adds back automatically
- Keeping only the route point (rtept) data and cutting the trk data from the new route
- Removing the name information from each line of the rtept data
- Changing all the rtept tags to gpx:rtept
Before finalizing the file, I checked for and removed any BOM markers and validated the XML schema.
The file below has imported fine into my Volvo, as have three others I have tested. I haven't driven it, but the total journey time and distance look correct, and you can preview the entire route in the car just fine, so I feel completely confident that it is working.
If you need to see other files, including the route I recorded in the Volvo or the first "standard" gpx version of this route, please give me an e-mail address I can use. For now, I have copied below the route around Avallon, which I have re-christened "Morvan tour".
Thanks once again for your keenness to get involved here!
Best regards,
Julian.

Code:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<gpx:gpx creator="" version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gpx="http://www.topografix.com/GPX/1/1" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd" xmlns:gpxv="\VolvoGPXExtensions\V1">
  <gpx:rte>
    <gpx:name>Morvan tour</gpx:name>
    <gpx:extensions>
    </gpx:extensions>
  <gpx:rtept lat="47.49260" lon="3.90804"></gpx:rtept>
  <gpx:rtept lat="47.27965" lon="4.23202"></gpx:rtept>
  <gpx:rtept lat="46.98851" lon="4.51048"></gpx:rtept>
  <gpx:rtept lat="46.89821" lon="4.51290"></gpx:rtept>
  <gpx:rtept lat="46.95060" lon="4.36872"></gpx:rtept>
  <gpx:rtept lat="46.83720" lon="4.36105"></gpx:rtept>
  <gpx:rtept lat="46.98711" lon="3.81280"></gpx:rtept>
  <gpx:rtept lat="47.05755" lon="3.92434"></gpx:rtept>
  <gpx:rtept lat="47.49246" lon="3.90798"></gpx:rtept>
  </gpx:rte>
  </gpx:gpx>


Posted by GDT
More...

Some posts are not listed here. See all posts here: Adapting Garmin routes for use in Volvo Sensus

GPS Data Team


Posted by Mark
Re: Adapting Garmin routes for use in Volvo Sensus

Hi
Isn't that issue resolved? Do you still get the leading 0,0 line when you save a file as a Volvo Route?
Regards

Posted by jparish
Re: Adapting Garmin routes for use in Volvo Sensus

Hi Mark,
The good news is that I've just tested it again and it now seems to be fixed. The GPS file also passes my BOM and XML validation checks. I'll try it in the car after lunch and report back. But I think we are there!
Julian.

Posted by jparish
Re: Adapting Garmin routes for use in Volvo Sensus

jparish wrote:
Hi Mark,
The good news is that I've just tested it again and it now seems to be fixed. The GPS file also passes my BOM and XML validation checks. I'll try it in the car after lunch and report back. But I think we are there!
Julian.

Back from the car, and it loaded just fine. Looks like you have that licked! Thanks once again for all your help. I will post an update straightaway on the Volvo owners' forum and will include this in the article I am writing for Volvo Driver magazine.
I don't think I'll need to trouble you again on behalf of the Volvo owners but will continue to make use of your excellent tools myself, and encourage others to do so. All good wishes for the holidays!
Julian.

SatNav Discussion



Page 1 of 1
Permalink Adapting Garmin routes for use in Volvo Sensus