Login   Register  
PHP Classes
elePHPant
Icontem

Conversion Issues

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      gPoint  >  All threads  >  Conversion Issues  >  (Un) Subscribe thread alerts  
Subject:Conversion Issues
Summary:Inaccurate convert from UTM to LL
Messages:2
Author:Howard Picken
Date:2011-07-09 11:37:23
Update:2012-09-13 10:24:59
 

  1. Conversion Issues   Reply   Report abuse  
Picture of Howard Picken
Howard Picken
2011-07-09 11:37:23
Trying to convert UTM to Long/Lat

$teamlocation =& new gPoint();
$longOrigin = -41;
$teamlocation->setUTM($row['curpos_easting'],$row['curpos_northing'],$row['curpos_zone']);
echo "My GPS says it is this: "; $teamlocation->printUTM(); echo "<br>";
$teamlocation->convertTMtoLL();
echo 'The LL Map reference is '; $teamlocation->printLatLong($longOrigin);

For the folllowing UTM figures Easting 511487 and Northing 5413791 55G gives "The LL Map reference is Latitude: -131.15964 Longitude: 146.84345" which is grossly incorrect.

Any suggestions please.

  2. Re: Conversion Issues   Reply   Report abuse  
Picture of kamil adam
kamil adam
2012-09-13 10:25:00 - In reply to message 1 from Howard Picken
Have you find a solution?