|
Location |
2007-05-07 |
|
A while back I posted details of a little GPS program I built. The program is a Windows service that periodically takes my location (altitude, latitude and longitude) from a USB GPS device, and next time I am online reverse geo-codes the location and posts the result to my weblog via a web service. After a while I noticed the location information was a little bit off. My initial reaction was that some sort of conspiracy was afoot, since Microsoft Street and Trips was getting the location perfectly well. Of course, it turned out to be user error. The NMEA data coming out of the device looks like this: $GPRMC,215238.000,A,4737.2885,N,12219.4668,W,0.19,350.69,270107,,,A*74 I had taken this to be 47.37 etc degrees. It is actually 47 degrees and 37.2885 minutes. Solved! Tags:
programming |
|