Java Marine API
About
Java Marine API is an NMEA 0183 parser library for Java 1.5 and newer. The goal of the project is to enable easy access to data provided by various marine instruments, such as GPS, sonar or autopilot. The library reads NMEA sentences from any source that can be accessed through input stream, e.g. serial port, file, TCP/IP socket etc. The plain ASCII data is converted to events that can be listened in your application. Library provides interfaces and parser implementations for selected sentences and you can also implement and integrate your own parsers by extending the provided base parser.
Currently the following sentences are supported:
- BOD - Bearing from origin to destination
- DBT - Water depth below transducer in meters, feet and fathoms.
- DPT - Water depth in meters with offset to transducer.
- GGA - GPS fix data
- GLL - Current geographic position and time
- GSA - Precision of GPS fix
- GSV - Detailed GPS satellite data
- HDG - Heading with magnetic deviation and variation
- HDM - Magnetic heading in degrees
- HDT - True heading in degrees
- MTA - Air temperature in degrees Celcius
- MTW - Water temperature in degrees Celcius
- MWV - Wind speed and angle
- RMB - Recommended minimum navigation information "type B"
- RMC - Recommended minimum navigation information "type C"
- RTE - GPS route data with list of waypoints
- VHW - Water speed and heading
- VTG - Course and speed over ground
- WPL - Destination waypoint location and ID
- ZDA - UTC time and date with local time offset
In addition to data reading, the library also supports modifying the sentence contents and provides data field formatting and validation.
Licensing
Java Marine API is open source software and licensed under the GNU Lesser General Public License. The source code is freely available in the project's SVN repository. See latest distribution package and readme.txt within it for more information.
Releases
Latest
v0.5 pre-alpha, released on 2012-04-19:
v0.4 pre-alpha, released on 2011-07-12:
v0.3 pre-alpha, released on 2011-05-08:
v0.2 pre-alpha, released on 2010-12-08:
v0.1 pre-alpha, released on 2010-08-21:
Examples and sample data
Check out the files section at Sourceforge. Also included in the distribution package since v0.4.
Contact
Please visit the project page at SourceForge.net for contact and support. Any kind of feedback or contribution is welcome.