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

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

POI API for PHP?

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


Joined: Oct 27, 2005
Posts: 6

PostPosted: Thu Oct 27, 2005 7:09 pm    Post subject: POI API for PHP? Reply with quote

Does anyone know if there's an API or programmers guide for how to output in the TomTom OV2 file format?

I have a heap of data online on a php/MySQL website and would like to output the data live rather than having to create an ASC file then use POI Edit to create the OV2 files manually.

Has anyone created OV2 POI files from online scripts before?

Sorry if this is the wrong place to post, but I couldn't see any other section that was relevant.
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: Thu Oct 27, 2005 8:48 pm    Post subject: Reply with quote

The OV2 format is described in the SDK documentation. (You may find that on the TomTom web site)

However, it doesn't completely describe the way that MakeOV2 works, so you will see inferior performance for large numbers of POIs if you use the method described in the SDK.

Have a look here www.licour.com for some more details...
_________________
Lutz

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


Joined: Oct 27, 2005
Posts: 6

PostPosted: Thu Oct 27, 2005 9:11 pm    Post subject: Reply with quote

Thanks for the tip. I searched the net and the tomtom site and couldn't find anything useful at all. Looks like the OV2 format is massively compelx to output too, joy Smile

I was amazed that no one has written a php class that does the same as the makeov2.exe yet.

I'll give it a go later on to see how well things can be written. At least now I have some idea of what the data should look like Smile

Thanks.
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: Fri Oct 28, 2005 1:46 am    Post subject: Reply with quote

Let us know when you're done - we'd like to use that code too.

I can give you an offline introduction into the structure. Send me a PM if interested.
_________________
Lutz

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


Joined: Oct 27, 2005
Posts: 6

PostPosted: Sun Oct 30, 2005 3:00 am    Post subject: Reply with quote

Well I've got some code that's almost working, I'm just somewhat unsure as to exactly how the latitude and longitude are encoded into their respective 4 bytes.

The PDF for the TomTom SDK differs in its desription from what I've seen elsewhere.

Laurent over at Lacour.com has given me some help with the way that the system works which has helped transpose things to a (mostly) functional PHP set.
Back to top
View user's profile Send private message
Arn
Occasional Visitor


Joined: Oct 27, 2005
Posts: 6

PostPosted: Sun Oct 30, 2005 9:10 pm    Post subject: Reply with quote

Okay, you have mail - finished the work today, all works wonderfully. There's no checking to ensure that the input is valid in there, but it's not really needed (at least not yet).

It'll take input from a string or a local file, and then output to a properly encoded .ov2 file. ;)

Have fun.
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.053 (15 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