... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reading Navigon for iPhone .targets format
#1
Hi,
I am trying to figure out how to read the position files from Navigon for the IPhone. Even though they called .targets it does not appear to be the same format as the .route format as suggested by this commit:

https://github.com/cpesch/RouteConverter...30f64876e1

By that I mean that renaming the file and opening it as a .route file doesn't work.

Just opening the file in a hex or test editor, it definitely looks like a binary format (readable string snippets sprinkled throughout the "noise"). Can you tell I am not experienced with binary formats? Smile

The reason I want to open this file and convert it is because Navigon have sloppy QA. Apparently I shouldn't have expected my stored favorites and routes to survive a software update. So, I extracted the iPhone backup on my computer to gain access to the files. Since I am apparently not alone in loosing all my data it may even be a useful feature for RouteConverter.

What I was hoping for was simply some basic tips on how I might try to parse this file. I am a web-developer (= happy to write my own scripts and do some unpack on the data in various ways) but I rarely and reluctantly deal with binary files of this kind.

Any ideas greatly appreciated
/Martin
Reply
#2
(10.12.2011, 23:13)eimer Wrote: Just opening the file in a hex or test editor, it definitely looks like a binary format (readable string snippets sprinkled throughout the "noise"). Can you tell I am not experienced with binary formats? Smile

I don't like them either since there is almost never a documentation for file formats in the GPS space.

(10.12.2011, 23:13)eimer Wrote: What I was hoping for was simply some basic tips on how I might try to parse this file.

Well, have a look at the NavigonRouteFormat, then at your file, start the debugger, set breakpoints, compare data, modify the code. Start at the beginning. Calm down and be patient ;-)
--
Christian
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)