Home PageFacebookRSS News Feed
PocketGPS
Web
SatNav,GPS,Navigation
Pocket GPS World - SatNavs | GPS | Speed Cameras: Forums

Pocket GPS World :: View topic - D3 POI
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in for private messagesLog in for private messages   Log inLog in 

D3 POI

 
Post new topic   Reply to topic    Pocket GPS World Forum Index -> Destinator
View previous topic :: View next topic  
Author Message
jellied
Regular Visitor


Joined: 28/02/2003 16:03:49
Posts: 150
Location: United Kingdom (West London)

PostPosted: Mon Jan 03, 2005 9:39 pm    Post subject: D3 POI Reply with quote

Getting to grips with the new favourites importer.

Just discovered the file format requires the FULL address - street, postcode etc - long/latitude are OPTIONAL, and in fact not even used according to the manual.

So all the TomTom daa is next to useless given how few contain anything but co-ordinates.
Back to top
View user's profile Send private message Send e-mail
lbendlin
Pocket GPS Staff
Pocket GPS Staff


Joined: 02/11/2002 22:41:59
Posts: 11878
Location: Massachusetts, USA

PostPosted: Mon Jan 03, 2005 10:43 pm    Post subject: Reply with quote

Fortunately that is not true. Contrary to what the manual says you only need four fields

- Name
- Comment
- Latitude
- Longitude

You can use commas for the rest, for example

"IAH Airport","Terminal A",-95.35058,29.98686,,,,

or you can simply omit the commas

"IAH Airport","Terminal A",-95.35058,29.98686

The only real difference to the OV2 format is the order of the columns.

I have also decoded the structure of the DAT files, so we can now craft our own converter directly into DAT (without the need for the Favourites converter)
_________________
Lutz

Report Map Errors here:
TomTom/TeleAtlas NAVTEQ
Back to top
View user's profile Send private message Send e-mail
jellied
Regular Visitor


Joined: 28/02/2003 16:03:49
Posts: 150
Location: United Kingdom (West London)

PostPosted: Mon Jan 03, 2005 11:24 pm    Post subject: Reply with quote

brilliant - i tried crafting some dummy .csv files, but all reported "no data", or "corrupt record" till I added extra info.

I must admit I was very suspect that long/lat was not used as postcodes are not that precise for such items as speed cameras and items on motorways.

The decoder to .csv will be handy to edit a copy on a desktop and to keep a master copy.
Back to top
View user's profile Send private message Send e-mail
lbendlin
Pocket GPS Staff
Pocket GPS Staff


Joined: 02/11/2002 22:41:59
Posts: 11878
Location: Massachusetts, USA

PostPosted: Tue Jan 04, 2005 1:41 am    Post subject: Reply with quote

ok, for the record here is the format (All values except where explicitly stated are Zero terminated Unicode strings)

- Originator (For example "Destinator 3 Favorites Importer" or "Dynamic POI" - when entered manually in the Pocket PC) - this field is not used
- Name
- Comment
- House Number
- Street
- City
- State
- Country
- 8 bytes of gibberish, starting with 01h - the rest can be filled with 00h
- Latitude (64 bit float)
- Longitude (64 bit float)
- Latitude (64 bit float)
- Longitude (64 bit float) -no idea why this is repeated)
- 16 bytes of gibberish, can be filled with 00h, except for byte 5 (02h) and 9 (32h)

and then starting over for the next POI. Looks like the file name defines the POI category. What we want to target is "Auto Alert 1.dat" and "Auto Alert 2.dat" - those are the only ones triggering the proximity alert.
_________________
Lutz

Report Map Errors here:
TomTom/TeleAtlas NAVTEQ
Back to top
View user's profile Send private message Send e-mail
jellied
Regular Visitor


Joined: 28/02/2003 16:03:49
Posts: 150
Location: United Kingdom (West London)

PostPosted: Tue Jan 04, 2005 11:17 am    Post subject: Reply with quote

Thanks for that - no idea how you managed to decode them - there again my back ground is Unix not Windows.

You are quite correct about the file format - no idea what I was doing wrong. Managed to download and convert a couple of useful ones last night and they all worked fine, though some what limited given you can't say "Show me the nearest Tesco" or sort/search the list either.

Also the icon displayed on the map are not shown once you zoom out to far, so it's quite hard to find them manually.
Back to top
View user's profile Send private message Send e-mail
lbendlin
Pocket GPS Staff
Pocket GPS Staff


Joined: 02/11/2002 22:41:59
Posts: 11878
Location: Massachusetts, USA

PostPosted: Tue Jan 04, 2005 2:35 pm    Post subject: Reply with quote

jellied wrote:
no idea how you managed to decode them


I simply manually created some POIs with known text fields and coordinates, and then looked at the DAT file for a while with the hex editor. When the nausea passes you see the structure.
_________________
Lutz

Report Map Errors here:
TomTom/TeleAtlas NAVTEQ
Back to top
View user's profile Send private message Send e-mail







Posted: Today    Post subject: Pocket GPS Advertising

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pocket GPS World Forum Index -> Destinator All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Make a Donation



CamerAlert Database

Click here for the PocketGPSWorld.com Speed Camera Database

Download Speed Camera Database
22.044 (24 Apr 24)



WORLDWIDE SPEED CAMERA SPOTTERS WANTED!

Click here to submit camera positions to the PocketGPSWorld.com Speed Camera Database


12mth Subscriber memberships awarded every week for verified new camera reports!

Submit Speed Camera Locations Now


CamerAlert Apps



iOS QR Code






Android QR Code







© Terms & Privacy


GPS Shopping