ee-INS (e-Navigation Enhanced Integrated Navigation System) is an ECDIS like application for demonstrating possible e-Navigation services.
The application is in Java and uses OpenMap(tm) for presenting geospatial information, and as a JavaBeans(tm) component framework.
For detailed description see Wiki.
- JDK 1.6+ (http://www.oracle.com/technetwork/java/javase/)
- Apache Ant 1.7+ (http://ant.apache.org) or Eclipse IDE (http://eclipse.org)
ant
ant run
ant javadoc
ant clean
ant distclean
Will remove the dist
folder described below, erasing existing settings.
To be able to see AIS targets and possible own ship, the sensor should be configurated. In the main window press the Setup button in the top and go to the Sensor tab. Choose either TCP or serial connection type for AIS and configure TCP host/port or serial port.
If a separate sensor is used for GPS this can be configured the same way.
If the AIS source is not a transponder providing own ship information, an own ship can be simulated by choosing a vessel target present in the AIS stream. In to bottom of the sensor tab enable Simulated GPS and enter MMSI. If the AIS source provides lots of targets, the targets shown can be limited by selecting a sensor range so targets farther than this distance away not will be shown.
Press OK and restart application.
|-- build
|-- dist
|-- extlib
`-- src
`-- main
|-- java
`-- resources
build
- generated directory with compiled class filesextlib
- third party jar filessrc/main/java
- source rootsrc/main/resources
- Resources like images, default settings, etc.dist
- a generated directory with a compiled distributable version of the application. The application is run from within this directory.
The version is controlled in build.xml
as a property. The convention is to
use the format <major>.<minor>-<dev version>
for non-final versions, and
<major>.<minor>
for final releases. E.g.
<property name="version" value="2.0-PRE1" />
for first pre-version of 2.0 and
<property name="version" value="2.0" />
for the final version.
Minor versions are for fixes and small improvements, while a major version is for the introduction of new functionality. Major and minor versions are reflected in the branching of the project. Branching should be done in the following way.
-|-- * -- * -- * 2.x (master branch version 2.x)
| |
| `-- 2.y (branch for fix or small improvement)
|
`-- * -- * -- 3.0 (branch for new major version)
|
`-- dev (branch for individual task in new version)
ee-INS does not come with an ENC layer but with the possibility to add one as a plugin. Currently the only known of OpenMap ENC layer is a commercial one from the danish company Navicon.
To use Navicon ENC layer with ee-INS please follow the steps below
-
Contact Navicon sales regarding a purchase of their ENC/S52 rendering engine. Mention the following:
- To be used with DMA ee-INS
- Version for use with OpenMap 5
- If you are using a 64-bit machine, ask for 64-bit dongle drivers
-
After purchasing you will receive a SDK and a USB dongle. Unpack the SDK in a directory. The SDK should at least contain the following folders
lib
,native
anddata
. -
Copy
.ant.properties
toant.properties
. -
Edit
ant.properties
and setnavicon_enc=true
and set the path to SDK, e.g.navicon_enc_path=../navicon
. -
Build with
ant
-
Edit
dist/enc.properties
and set S-57/S-63 settings. -
Run application
-
Enter Setup -> Map and enable ENC. Restart.
To use Eclipse as IDE just import project. Eclipse .project
and settings files
are included.
Launch configuration EeINS.launch
is included, so it is possible to run as Java
application from Eclipse. You will need to do a manual build before running.
Fork the project and make pull requests.
Try to use the component architecture as much as possible. Implement components and
hook up to other components with the findAndInit
method rather than hard-wiring.
Try to follow the coding standards already used in the project and document within
the code with Javadoc comments. For more extensive documentation use the Wiki.