Link to home
Start Free TrialLog in
Avatar of Lubre
Lubre

asked on

PHP code to convert CSV to OV2 (TomTom) and other GPS formats

I have a database with a table made of 3 fields: name, latitude and longitude. I can easily extract data in CSV format and use a specific software to convert them to TomTom format (.OV2). Is there a way to make it via PHP?

Basically, I need to:

1) list a specific amount of records from MySql (no problem here)
2) save them in a CSV format (no problem here)
3) convert the saved CSV to .OV2 format

I know a great free service that lets you upload a CSV file and then download a multple-format conversion:

http://tomtom.gps-data-team.com/conversion.php

It's very nice but I need something I can edit/modify to directly interact with my database. Any help would be very appreciated, thanks.
ASKER CERTIFIED SOLUTION
Avatar of pg-expert
pg-expert
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Lubre
Lubre

ASKER

Hou could I miss that link while googling all the day... is beyond me. Thanks for redirecting me to a valid source :)