Members
Technology Zones
IBM Learning Center
Articles
Hosted By
Info
|
Rated
Read 96,259 times
Contents
Related Categories
How to Write a GPS Application - Introduction
Introduction
What is it that GPS applications need to be good enough to use in a commercial environment, such as in-car navigation? Also, how does the process of interpreting GPS data actually work? In this two-part series, I will cover both topics and give you the skills you need to write a commercial-grade GPS application that works with a majority of GPS devices in the industry today.
One Powerful Sentence
This first part in the series will explore the task of interpreting raw GPS data. Fortunately, the task is simplified thanks to the National Marine Electronics Association (www.nmea.org) which introduced a standard for the industry now in use by a vast majority of GPS devices. To give developers a head start, I chose to use some Visual Studio.NET source code from my “GPS.NET Global Positioning SDK” component. (The code is stripped of features like multithreading and error handling for brevity.)
NMEA data is sent as comma-delimited “sentences” which contain information based on the first word of the sentence. There are over fifty kinds of sentences, yet an interpreter really only needs to handle a few to get the job done. The most common NMEA sentence of all is the “Recommended Minimum” sentence, which begins with “$GPRMC.” Here is an example:
$GPRMC,040302.663,A,3939.7,N,10506.6,W,0.27,358.86,200804,,*1A
This one sentence contains nearly everything a GPS application needs: latitude, longitude, speed, bearing, satellite-derived time, fix status and magnetic variation.
Jon Person is the author of the award-winning “GPS.NET” software now in use in over two thousand GPS applications in all industries, from geocaching to disease outbreak prevention. Jon runs his company, "GeoFrameworks," from his home office in Denver, Colorado.
As a hobby, Jon enjoys storm chasing in the Great Plains in May and June each year. On May 4th, 2007, Jon witnessed the EF5 tornado that destroyed Greensburg, Kansas, and volunteered for nearly a month to help them rebuild. A photo journal of his efforts can be found here: http://www.flickr.com/photos/jonperson/sets. Jon also maintains a YouTube page with storm chasing videos here: http://www.youtube.com/user/jperson2007.
All feedback and suggestions are welcome. Jon can be reached at jperson@geoframeworks.com
Comments
-
Posted by tozbilgen on 29 Jun 2008
Hi ,
I need the same program as well.Can you find any information.Please contact me.
tunc@te-m... -
Posted by Weta on 21 Aug 2007
Re: [4634] How to Write a GPS Application
Posted by Weta on 21 Aug 2007
The NMEA protocol specifies that the last parameter is immediately followed by "*" and a 2-cfharacter checksum. For example, 3.45,"W"*1A is valid as is 200804,,*1A. In the fist case&nbs... -
Posted by imomin on 19 Aug 2007
Try my gps string parser http://www.gpsxml.com/gpsxml/service.asmx?op=GPS2XML
I need somebody to test my mobile APP. You can download the cab file from http://gps.gpsxml.com/viewtopic.php?t=4 -
Posted by imomin on 16 Aug 2007
I need somebody to test my mobile APP. You can download the cab file from http://gps.gpsxml.com/viewtopic.php?t=4 Also, added new feature where...
|
Search
Related Content
Code Samples
New Members
|