Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new plugin for showing AIS positions of vessels #21556

Open
wants to merge 100 commits into
base: master
Choose a base branch
from
Open

Conversation

f-n
Copy link

@f-n f-n commented Dec 10, 2024

This plugin ("AIS vessel tracker") is intended for usage at a boat at sea or river. It displays positions and other data of surrounding vessels that transmit its data via AIS (see https://en.wikipedia.org/wiki/Automatic_identification_system). The plugin requires an external AIS receiver that is connected with the device running OsmAnd.

The plugin receives data from the AIS receiver using NMEA network protocol, decodes it and displays symbols of vessels or other AIS objects at the map. In a context menu, all other decoded information is shown. Similar functionality is common in marine navigation systems, like Garmin Navionics or OpenCPN.

It utilizes one additional Java library “marine-api” for decoding of the NMEA datagrams.

The functionality may be interesting for sailors or other yachtsmen, especially in combination with the nautical map style. I tested it in my recent holidays at Baltic Sea and also at home using the signals of vessels from a nearby river. If needed, I can provide screenshots.

I would appreciate if the plugin will be accepted to the OsmAnd release.

f-n and others added 30 commits June 16, 2024 17:38
@vshcherb
Copy link
Member

Wow pretty amazing and a lot of work has been done - #21559. I've created an issue to have Product conversation there and technical documentation here.

We will pick work this release 5.0 and probably post some work remaining before merge (so we can fully merge for later maintenance).

@vshcherb
Copy link
Member

As first simple task we could migrate icons to svg and put to - https://github.com/osmandapp/OsmAnd-resources/tree/master/icons @dmpr0

Comment on lines 9 to 12
test {
exclude '**/*'
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this is unnecessary & can be removed

@@ -39,18 +39,13 @@ android {
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
coreLibraryDesugaringEnabled true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this plugin have issues with desugaring or kotlinOptions?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not aware of such issues, please feel free to adjust.

Copy link
Member

@Chumva Chumva Dec 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these changes needed for the plugin? or is just a local build? better remove unnecessary changes

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right. please feel free to remove unnecessary changes.

import android.graphics.Typeface;
import android.util.Log;

public class FontCache {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recently we removed custom fonts due to this issue, better use default fonts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants