one more thing - it is possible that you have just pure GPS data, so fo this coordinates you need to apply that:
degrees + minutes/60 + seconds/3600
like that :
float GPSDatToDegree(float flo)
{
int kGrad = (int)(flo / 100);
return kGrad + (flo - kGrad * 100) / 60;
}
input parameter is the longitude or latitude from the NMEA sentance (GPS) that looks like
$GPRMC,220516,A,5133.8
5133.8
N North/South
00042.24 current Longitude
W East/West
So you can call GPSDatToDegree(5133.82)





by: pgnatyukPosted on 2009-07-28 at 00:56:24ID: 24958642
From GPS it comes each second - just to clarify. ia.org/wik i/Geograph ic_coordin ate_conver sion
You need to convert these values into your screen coordinates.
The points in your excel sheet are floats, probably.
http://en.wikiped
http:/ /www.cospo rts.com/in dex.php/to ol/tools/h ome
http:// home.hiwaa y.net/~tay lorc/toolb ox/geograp hy/geoutm. html
Here is a general explanation:
http://www.csu .edu.au/au stralia/la tlong/coor d.html
http ://forums. gpsreview. net/viewto pic.php?t= 13651
You can verify yourself with it: http://www.gpsvisualizer.c om/geocodi ng.html