home | products | support | newscontact | purchase | search

 

Importing GPS Data in NMEA 0183 Format

NMEA is a standard protocol, use by GPS receivers to transmit data. NMEA 0183 sentences are all ASCII. Each sentence begins with a dollarsign ($) and ends with a carriage return linefeed (<CR><LF>). Data is comma delimited. All commas must be included as they act as markers. Some GPS do not send some of the fields.

In this example we will set up an import specification which will allow us to read an ASCII file containing Lat/Lon coordinates in NMEA 0183 RMC sentence format. Other sentence formats such as RMB, CGA, and RMA can be read in a similar fashion.

$GPRMC,103804.374,A,0411.8650,N,10326.3480,E,0.00,3.85,010304,,*03
$GPRMC,103806.374,A,0411.8652,N,10326.3480,E,0.00,3.85,010304,,*03
$GPRMC,103808.374,A,0411.8653,N,10326.3480,E,0.00,3.85,010304,,*0C
$GPRMC,103810.374,A,0411.8654,N,10326.3481,E,0.00,3.85,010304,,*03
$GPRMC,103820.373,A,0411.8659,N,10326.3479,E,0.00,3.85,010304,,*0D

NMEA 0183 RMC format

This example also includes an IOP file (import specification file) for reading NMEA 0183 RMC sentences. 

 
Click here to download the example in PDF format.

Click here to download the sample files in ZIP format.


Softree Technical Systems Inc.

www.softree.com

Contact us at mail@softree.com

Return to the Softree Homepage.