
|
|

New Articles:
Southern California Glider Landout Database Soaring 5-Inch Sky Robot FDM in Vacuum Gin Books Hacktastic e-bike Farnsworth Fusor Land Anchor Turchickentato Bowmaking Custom Discovery Roof Rack August, 2012 - Sierra Backpacking July 22nd, 2012 - Hiking in Santa Barbara July 15th, 2012 - Valley of Fire May 5th, 2012 - Afton Canyon April 28th, 2012 - Devils Playground Alpine Tripod Convict Creek Trail January 2012 - Mustangs January 3rd, 2012 - Heart Lake August 7th, 2011 - Kelso Dunes August 5th, 2011 - Lundy Canyon Hike August 2011, Mammoth Archery Birds in the garden June 4th, 2011 - San Gorgonio May 29th, 2011 - Sequoia National Forest April 23rd, 2011 - Living Desert April 2nd, 2011 - Death Valley March 8th, 2011 - Mountain Palm Springs
|
 |
 |
|
| AISlib -   2010/01/16 | Viewed 5 times this month, last update: 2011/07/12
 |
| AISlib is a Java library, and set of Java executable classes that allow for manipulation of AIS data. Included in AISlib are:
- nmea2udp: A program to connect to a serially-attached AIS receiver, and send the messages as UDP packets to an internet server, such as aishub, marinetraffic, etc.
- udp2nmea: A program to accept UDP NMEA strings, and make them available to TCP clients.
- nmea2mysql: A program to connect to a TCP socket providing AIS NMEA strings, such as GPSd, parse the messages into their respective AIS message types, and log the messages to a MySQL database.
- serial2mysql: A program to connect to a serial port providing AIS NMEA strings, parse the messages into their respective AIS message types, and log the messages to a MySQL database.
- Libraries: A set of Java libraries for doing all of the above. TCP client/server, UDP client/server and NMEA string parsing.
A zip file of the JAR file, README and miscellaneous files is available here:
http://www.erikburrows.com/dist/aislib-0.0.2.zip
The full source code is hosted at GitHub here:
https://github.com/eburrows/aislib
|
Comments:
Ricardo L. Sapalicio (2010-07-17): I'm interested with nmea2udp and udp2nmea - I have AIS Transponder from China - Smart Radio. The Nmea output that cannot send message to an internet server.
Erik (2010-07-19): Ricardo, I'm not sure what you're asking. Do you need help getting nmea2udp working?
Phil (2012-04-06): Found a bug in your aislib, posted solution on Github: https://github.com/eburrows/aislib/issues/2
Neil McBennett (2014-04-19): Hi Erik I'm looking at using serial2mysql. I'd prefer to use mariaDB for this. I'm assuming this should work? Thanks
Erik (2014-04-19): Niel, I have no experience with porting MySQL applications to mariaDB. The serial2mysql program specifically imports the com.mysql.jdbc driver. This driver may or may not work with mariaDB unmodified.
You can also compile the script yourself, and substitute the correct jdbc driver for mariaDB.
permalink
|
|