The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > GPS

Reply
 
Thread Tools Search this Thread Display Modes
Old 12-16-2006, 03:43 PM   #1
Newbie
 
Join Date: Dec 2006
Posts: 2
My Photos: (0)
iGuidance 3.0 POI file format - partial decode

Instead of just bumping the old thread I decided to start a new thread; in part because much of the information in the old thread seems outdated or inaccurate. Old thread: http://www.mp3car.com/vbulletin/gps/60824-editing-reading-iguidance-poi-bin-files.html

I have been decoding the POI file and I have determined:

Little-Endian coding is used.

At offset 0x24 there is a ULONG referring to the number of entries in the string table.

At 0x78 the string table starts. Entries are separated by NUL. It ends at 0xAEF196.

POI entries are 31 bytes long.
There is no static separator between entries.
The structure is as follows where B is the starting offset of a POI.

B+0 = ULONG where the OFFSET IN THE FILE of the string in the file is determined by the 20 LSB (mask with 0x000FFFFF to get offset). I have no idea what the high 12 bits are for but they are used.
B+4 unknown, likely signed LONG, -1 is common in sections
B+8 unknown, but matches between POIs with same LAT/LONG (maybe just LAT?)
B+12 unknown, but matches between POIs with same LAT/LONG (maybe just LONG?)
B+16 FLOAT, LATITUDE
B+20 FLOAT, LONGITUDE
B+24 USHORT, flag bits of some kind, very sparse "bit-on" pattern
B+26 unknown, likely LONG, I think it might be the same for all POIs in a section (most-significant byte never seems to be utilized)
B+30 CHAR, values range from 1 to 34 or so, smells like flags

One group of POI entries starts at 0x01516C05

If this kind of hacking is something people enjoy or if you have information/know of something else started along these lines, lets me know. I could use help decoding the POI packing structure (the POI entries are separated into what appears to be geographical groups). I just hope there is no embedded BTREE or anything :-/

As a bonus, if I can get this decoded, a POI editor for all!
pstickne is offline   Reply With Quote
Sponsored Links
Old 12-16-2006, 04:17 PM   #2
Calm
Down
Or
Get
A
2
Week
Vacation
-Love
The
Forum
Policeman
Wiredwrx's CarPC Specs
 
Wiredwrx's Avatar
 
Join Date: Jan 2003
Posts: 3,604
My Photos: (0)
Quote: Originally Posted by pstickne View Post
Instead of just bumping the old thread I decided to start a new thread; in part because much of the information in the old thread seems outdated or inaccurate. Old thread: http://www.mp3car.com/vbulletin/showthread.php?t=60824

I have been decoding the POI file and I have determined:

Little-Endian coding is used.

At offset 0x24 there is a ULONG referring to the number of entries in the string table.

At 0x78 the string table starts. Entries are separated by NUL. It ends at 0xAEF196.

POI entries are 31 bytes long.
There is no static separator between entries.
The structure is as follows where B is the starting offset of a POI.

B+0 = ULONG where the OFFSET IN THE FILE of the string in the file is determined by the 20 LSB (mask with 0x000FFFFF to get offset). I have no idea what the high 12 bits are for but they are used.
B+4 unknown, likely signed LONG, -1 is common in sections
B+8 unknown, but matches between POIs with same LAT/LONG (maybe just LAT?)
B+12 unknown, but matches between POIs with same LAT/LONG (maybe just LONG?)
B+16 FLOAT, LATITUDE
B+20 FLOAT, LONGITUDE
B+24 USHORT, flag bits of some kind, very sparse "bit-on" pattern
B+26 unknown, likely LONG, I think it might be the same for all POIs in a section (most-significant byte never seems to be utilized)
B+30 CHAR, values range from 1 to 34 or so, smells like flags

One group of POI entries starts at 0x01516C05

If this kind of hacking is something people enjoy or if you have information/know of something else started along these lines, lets me know. I could use help decoding the POI packing structure (the POI entries are separated into what appears to be geographical groups). I just hope there is no embedded BTREE or anything :-/

As a bonus, if I can get this decoded, a POI editor for all!

Definitely head over http://www.mp3car.com/vbulletin/gps/47617-adding-pois-iguidance.html and post your findings.

Check out the last couple of pages, there has been renewed interest the last week or so.

Michael
__________________
...I love the French language...especially to curse with...Nom de Dieu de putain de bordel de merde de saloperies de connards d'enculés de ta mère. You see, it's like wiping your *** with silk, I love it. www.yellinlawoffice.com
Wiredwrx is offline   Reply With Quote
Old 12-17-2006, 05:44 AM   #3
FLAC
W3bMa5t3r's CarPC Specs
 
W3bMa5t3r's Avatar
 
Join Date: Apr 2006
Location: Washington, DC - Alexandria, VA N/W Area - NOVA
Vehicle: 2004 4Runner SR5 V8 4WD
Posts: 1,265
My Photos: (15)
Quote: Originally Posted by Wiredwrx View Post
Definitely head over http://www.mp3car.com/vbulletin/showthread.php?t=47617 and post your findings.

Check out the last couple of pages, there has been renewed interest the last week or so.

Michael

This is the coder that thankfully took this challenge on.

@ pstickne Glad to see you made it here bro. A POI editor for all is just what we were hoping for I've never done any hacking/decoding, but if there's anything I can do to help let me know (looking up POIs or whatever) lol. I usually have plenty of free time so it's something I can pick up... I can try my hand at the decoding...
W3bMa5t3r is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Archive Bitoholic Mobile Media Center 2358 09-21-2006 05:59 PM
Unknown map file format tomelee Map Monkey 11 11-20-2005 01:20 AM
Poi DAT Format garo Map Monkey 7 07-06-2005 05:19 AM
iGuidance 2.1 theme.ini file (font sizes) schillrw GPS 3 04-18-2005 02:44 AM
How to format .csv file of Speed Camera POI for D3/MioMap? JohnB Sweden GPS 6 02-22-2005 01:11 PM


All times are GMT -5. The time now is 12:50 AM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics