Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Deserializing unknown file format

Posted on 2006-06-09
3
Medium Priority
?
507 Views
Last Modified: 2008-01-09
I'd like to try and get some of the point data out of a Microsoft Autoroute (.axe) file so that I can use it a mechanism for creating itineraries on other GPS products - eg TomTom.

(I think) The .axe is in a proprietary Microsoft format.

James Sherring has created a utility st2gpx in C++ (http://www.gpsbabel.org/st2gpx/st2gpx.html) that will read a .axe to certain level (readmpst.c).

However;

a) My C++ isn't that strong, so I'm struggling to interpret what he's written and extend it to the AutoRoute 2006 format & get the data I need
b) He makes reference to OLE Property Sets (http://msdn.microsoft.com/library/default.asp?url=/archive/en-us/dnarolegen/html/msdn_propset.asp) that I'm not familiar with

And I wondered if it was possible to read-in and convert/break down a binary file so that I could start to work out which data I needed in the file?
0
Comment
Question by:MarkNethercott
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
HarryBachus earned 2000 total points
ID: 16874438
Rather than going through the pain of re-implement the undocumented Autoroute file format, why not use just use the GPX output from st2gpx - that is the purpose of st2gpx providing a standardised output.

It is possible to feed the output of st2gpx into many other navigation format converters, as GPX is the defacto interoperable standard. E.g. GPSBabel will produce TomTom .ov2 (POI) files from GPX.

In fact, POIConverter http://rjdavies.users.btopenworld.com/html/poiconverter.html uses st2gpx to read the Autoroute file format, and can write TomTom Navigator 3 Itinerary files.

If you google TomTom and gpx, you will find a bunch of solutions.

Is there a problem with st2gpx and the AutoRoute 2006 format?

Cheers
0
 

Author Comment

by:MarkNethercott
ID: 16875948
I had tried to use POI Converter as suggested with a .axe file, but it fails with the error message "The ST2GPX utility failed to produce the file - st2gpx.tmp"

This is what prompted me to look at alternative ways of getting the data out.  

I could call the st2gpx utility from within the .NET solution, but I was trying to build a more elegant and self-contained solution.
0
 

Author Comment

by:MarkNethercott
ID: 16875962
I've now got POI Converter to work.  

I'd mistakenly decided to put the program on the D: drive under Program Files (like any other application!)

Now that I've accepted the defaults, it works fine.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question