Solved

Deserializing unknown file format

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

762 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now