Solved

Deserializing unknown file format

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

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

Suggested Solutions

Title # Comments Views Activity
VB.Net Data Class 1 48
Excel Web Add-in Where is Visual Basic used 9 81
Read top line from CSV file 14 58
XML and Linq - reading fields in repeating nodes 3 24
Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 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