Giter Site home page Giter Site logo

wellenvogel / avnav-ocharts-provider Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 3.0 2.35 MB

OCharts for AvNav

License: MIT License

Python 1.74% Shell 0.56% Dockerfile 0.09% JavaScript 6.08% HTML 0.33% Perl 0.09% CMake 3.57% C++ 66.69% C 18.13% Makefile 0.01% Less 0.99% CSS 0.13% Groovy 1.58%

avnav-ocharts-provider's People

Contributors

free-x avatar wellenvogel avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

avnav-ocharts-provider's Issues

Debian Bookworm support

Hi Andreas,
please be so kind as to provide Debian Bookworm packages for the avnav/O-Charts stuff.

Debian Bookworm (current Debian stable) comes with wxWidgets 3.2 instead of 3.0, which breaks some dependencies.
Your Gradle scripts look like you have it at least on your list, so I hope there is not too much that prevents you from building the packages.

With kind regards,
Sönke Peters

New O-charts system

Hi, I can't find it anywhere but is "Avnac o-charts" also addapted to the new o-charts system.
I understood the have changed their system from today with the possibility to updat parts of a chart.

AvNav ocharts provider interferes with flatpak

When running the AvNav ocharts-provider openCPN flatpak refuses to start:
https://forum.openmarine.net/showthread.php?tid=4063&highlight=avnav
This seems to be a strange bug/behavior in flatpak. When the host system uses the display #99 flatpak internally connects it's applications to this display.
Unfortunately the Xvfb used by AvNav ocharts-provider uses the display number 99 as it's default.
To work around the flatpak problem AvNav ocharts-provider will change to a default display of 1000 with additionally making this configurable if it should interfere with another display.

Osharts Provider listens only under localhost

Hello all,

I have the osharts server only listening on the hostname: localhost or 127.0.0.1. Therefore I can't call it via a client under the private IP of the Raspberry PI.
Is the error known by chance? The installation of avnav was done via OpenPlotter.

I am looking forward to your suggestions and ideas.

Many greetings

Malte

Caches are recreated on every start

With some chart sets the loading of an existing cache file files with an error like:

INFO-invalid data len 111168 in /home/pi/avnav/data/ocharts/CS_home_pi_avnav_data_ocharts_charts_XXXX-BE_DE_NL-2020-36.avcache at 2825132

A check shows that the PNG at this position really is that long and is correct. Internally there is a limit of 100000 bytes for the len of a png in the cache when reading. This must be enlarged to 256x256x4 Bytes + PNG overhead.

Correctly handle chart open error 3 (PI_INIT_FAIL_NOERROR)

Some chart sets (like "British Isles") contain charts the create an PI_INIT_FAIL_NOERROR (3) when opening them by the o-charts plugin.
The AvNav ocharts provider currently treats this as a serious error - and if there are too many such errors for a chart set it will be marked as failed and will not be usable.
By cross checking the plugin and OpenCPN code those errors simply should be ignored and the affected charts simply should not be loaded.

Improve Memory handling for raster charts

With the new o-charts_pi plugin AvNav is able to also read raster charts.
This seems to need more memory.
The default settings can easily lead to weird user experience when tiles failed to load for long times as the number of open charts is to small.
This should be handled a better way and potentially it should also be notified to the user and documented.

The UI loads google fonts from the internet

Accidently the UI for the ocharts-plugin currently tries to load some google fonts from the net.
This simply slows down loading if you are not connected. Those fonts are not necessary at all.

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.