Giter Site home page Giter Site logo

marine-api's Introduction

Java Marine API Build Status Sponsored by Spice Maven Central Javadocs

Java Marine API is an NMEA 0183 parser library for Java. See project webpage for more info and documentation.

Basic support for decoding AIS messages is also under development and included in latest snapshots for preview. As this is quite a large new feature, all feedback and contribution is much appreciated.

License: LGPL

Usage

The API has been designed generic and easy to use instead for particular purpose. The NMEA stream translates into event/listener model. For example,

SentenceReader reader = new SentenceReader(new FileInputStream(file)); // any stream will do
reader.addSentenceListener(this); // "this" extends or implements sentence listener
reader.start();

reads through a file and passes all or filtered sentences to listeners:

public void sentenceRead(GGASentence gga) {
    System.out.println(gga.getPosition());
}

See examples for more.

Snapshots

Development snapshots are deployed to Maven Central Repository every now and then. Although they should be mostly stable, they are still work-in-progress.

Check changelog for current SNAPSHOT version. You may also need to tweak your Maven settings to enable snapshot dependencies.

Sourceforge

Project was originally published in Sourceforge.net, hence the net.sf package naming.

marine-api's People

Contributors

jhbe avatar jwilsonesrg avatar ktuukkan avatar leif81 avatar miketamis avatar misterbobdobalina avatar pkoziol avatar ritchiegithub avatar stremetskyi-o avatar titio72 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.