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)
|
Posted: Mon Jan 03, 2005 9:39 pm Post subject: D3 POI |
|
|
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 |
|
|
lbendlin Pocket GPS Staff
Joined: 02/11/2002 22:41:59 Posts: 11878 Location: Massachusetts, USA
|
Posted: Mon Jan 03, 2005 10:43 pm Post subject: |
|
|
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 |
|
|
jellied Regular Visitor
Joined: 28/02/2003 16:03:49 Posts: 150 Location: United Kingdom (West London)
|
Posted: Mon Jan 03, 2005 11:24 pm Post subject: |
|
|
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 |
|
|
lbendlin Pocket GPS Staff
Joined: 02/11/2002 22:41:59 Posts: 11878 Location: Massachusetts, USA
|
Posted: Tue Jan 04, 2005 1:41 am Post subject: |
|
|
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 |
|
|
jellied Regular Visitor
Joined: 28/02/2003 16:03:49 Posts: 150 Location: United Kingdom (West London)
|
Posted: Tue Jan 04, 2005 11:17 am Post subject: |
|
|
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 |
|
|
lbendlin Pocket GPS Staff
Joined: 02/11/2002 22:41:59 Posts: 11878 Location: Massachusetts, USA
|
Posted: Tue Jan 04, 2005 2:35 pm Post subject: |
|
|
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 |
|
|
|
Posted: Today Post subject: Pocket GPS Advertising |
|
|
We see you’re using an ad-blocker. We’re fine with that and won’t stop you visiting the site.
Have you considered making a donation towards website running costs?. Or you could disable your ad-blocker for this site. We think you’ll find our adverts are not overbearing!
|
|
Back to top |
|
|
|