"Al Pro" <[EMAIL PROTECTED]> writes:

> I've used example called pel_add_gpsinfo.php. I found it when I
> followed by one of links that you gave me.

Ah, right... the example was modified and is now in the SVN
repository. You can get a copy here:


> There is piece of code from this example, including function:
> --------------------
>     $GPS_LONGITUDE = convertGps($GPS_LONGITUDE); //converting from
>     decimal to conventional coordinate system
>     $GPS_LATITUDE = convertGps($GPS_LATITUDE);
> function convertGps($gpsnumber)
> {
> [...]
> }

I rewrote the convertGps function and called it convertDecimalToDMS
instead. You'll find it in the gps.php file I linked above -- please
try that one out instead. It has (so far...) given correct results for
me :-)

Martin Geisler

Attachment: pgpzTjYJ91COE.pgp
Description: PGP signature

This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
PEL-devel mailing list

Reply via email to