Solved

Deserializing unknown file format

Posted on 2006-06-09
3
500 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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

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 …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

636 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