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

Pocket GPS World :: View topic - .ov2 file layout
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in for private messagesLog in for private messages   Log inLog in 

.ov2 file layout

 
Post new topic   Reply to topic    Pocket GPS World Forum Index -> Beginners GPS Lounge
View previous topic :: View next topic  
Author Message
peteheff
Occasional Visitor


Joined: Oct 23, 2004
Posts: 4

PostPosted: Sat Oct 23, 2004 11:14 pm    Post subject: .ov2 file layout Reply with quote

I have had a quick search and found nothing (wrong criteria maybe)...

Could someone here point me to where I can get the description of the seven bytes preceding the text in the .ovl file please?

Just out of interest I had a look at these files and set about trying to translate Degrees/Minutes/Seconds to those bytes but fail miserably so far Sad

Also, could someone tell me why we use an negative number rather than just a full 360 degrees; I'm sure there has got to be a good reson for it..but I'm blind to it. If someone has an answer I'd appreciate it
Back to top
View user's profile Send private message
lbendlin
Pocket GPS Staff
Pocket GPS Staff


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

PostPosted: Sun Oct 24, 2004 12:03 am    Post subject: Reply with quote

The negative number is because of Greenwich. Everything east and north of it is positve, everything south and west is negative. I am talking about Lat/Lon, of course.
_________________
Lutz

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


Joined: Oct 23, 2004
Posts: 4

PostPosted: Sun Oct 24, 2004 12:12 am    Post subject: Reply with quote

Thanks lbendlin.

So why use negative numbers then?

If -1 would map to 359, -2 to 358 etc. it seems to me that degrees/minute/seconds could be held in 2 bytes of data rather than messing with negative values.

What am I missing? (first time I've actually considered this, so, be easy on me)

pete
Back to top
View user's profile Send private message
peteheff
Occasional Visitor


Joined: Oct 23, 2004
Posts: 4

PostPosted: Sun Oct 24, 2004 12:23 am    Post subject: Reply with quote

Apologies for the double post, but I can't see a way of editing the previous one.

If Greenwich = 0 degrees then Greenwich also 360 degrees, so, left of Greenwhich = 359 60' 59" or less?

pete
Back to top
View user's profile Send private message
lbendlin
Pocket GPS Staff
Pocket GPS Staff


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

PostPosted: Sun Oct 24, 2004 12:23 am    Post subject: Reply with quote

it's still the same two bytes. It's not going to -359 degrees, the range is from -180 to +180 and from -90 to +90 - just like a normal integer. (ok, similiar, but you get the point)
_________________
Lutz

Report Map Errors here:
TomTom/TeleAtlas NAVTEQ
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: Sun Oct 24, 2004 12:50 am    Post subject: Reply with quote

Here's the structure

Lead-In 02 1A 00 00
Divider 00
Longitude (three byte, LSB) for example 7D 59 6C
Divider FF
Latitude (three byte, LSB) for example D6 2A 2E
Divider 00
Text (zero delimited)

and then all over again.


But why bother? There are programs around that convert OV2 to TXT and back.
_________________
Lutz

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


Joined: Oct 23, 2004
Posts: 4

PostPosted: Sun Oct 24, 2004 12:51 am    Post subject: Reply with quote

Is there a .doc file that explains this in some detail lbendlin?

I'm just curious about this now, and don't want to waste your time.

..and would that .doc file go as far as explaining the layout of the .ov2 file?

thanks,
pete
Back to top
View user's profile Send private message
lbendlin
Pocket GPS Staff
Pocket GPS Staff


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

PostPosted: Sun Oct 24, 2004 3:30 am    Post subject: Reply with quote

nope...

search for makeov2.exe and dumpov2.exe
_________________
Lutz

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


Joined: Mar 27, 2004
Posts: 285
Location: Cheshire, England

PostPosted: Sun Oct 24, 2004 4:50 pm    Post subject: OV2 file format Reply with quote

The OV2 file format is documented in the TomTom Navigator SDK manual here (it's a 100k PDF file):
http://www.tomtom.com/support/ce/downloads/ttnavsdk_manual.pdf
_________________
Barry Davies
Back to top
View user's profile Send private message







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 -> Beginners GPS Lounge 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.051 (01 May 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