Solved

Deserializing unknown file format

Posted on 2006-06-09
3
497 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
HarryBachus earned 500 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

735 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