Comments (17)
With "ochartsng" it looks much better ;-)
Did you tried?
Although I would admit that the light sectors are too short
from avnav.
Very nice. Is this is still work in progress? How can I get this running?
- The sectors are still too short, yes.
- The labels still show only one sector as it seems.
- It seems not to get clipped anymore.
Just out of curiosity: How does the rendering work?
- charts are encrypted in the oesu files
- binary lib from ocharts derives the decryption key by some secret magic from hardware and os properties
- ocharts lib provides an api to access the decrypted vector data
- some lib (which?) renders this vector data on the screen or into a buffer/file
- the screen/buffer is captured/converted and cut into XYZ tiles and served to the browser
Does it work like that? Which lib does the actual rendering? And to what extent are you actually able to influence the appearance of the rendered chart?
from avnav.
Very nice. Is this is still work in progress? How can I get this running?
Sourcecode you can find here on github
https://github.com/wellenvogel/ochartsng
Since last Saturday is public beta available
https://www.segeln-forum.de/thread/90260-avnav-ocharts-jetzt-auch-f%C3%BCr-android/
https://www.wellenvogel.net/software/avnav/docs/hints/en_ochartsng.html?lang=en
Are you stil OpenPlotter 3 user? Right?
If yes, you need to activate preview repository
deb [signed-by=/usr/share/keyrings/oss.boating.gpg] https://www.free-x.de/deb4op bullseye-preview main
Then
sudo apt update && sudo apt install avnav-ochartsng
from avnav.
BTW...ochartsng can also display S57( ok, after conversion to SENC)
Here is Screenshot of Waddenzee from RWS
from avnav.
Thanks, just looking into it. Impressive!
from avnav.
Just out of curiosity: How does the rendering work?
charts are encrypted in the oesu files
binary lib from ocharts derives the decryption key by some secret magic from hardware and os properties
ocharts lib provides an api to access the decrypted vector data
some lib (which?) renders this vector data on the screen or into a buffer/file
the screen/buffer is captured/converted and cut into XYZ tiles and served to the browser
Does it work like that? Which lib does the actual rendering? And to what extent are you actually able to influence the appearance of the rendered chart?
Depends on the version...
The "old" ocharts support completely used the OpenCPN o-charts_pi plugin.
The new one uses an own implementation (with some code taken over from the old one and from o-charts_pi).
The old one was using the X11 infrastructure for rendering (including OpenGL).
The new one does all the rendering completely in memory.
And both are just rendering single tiles. Many of the problems with the old implementation are caused by this fact.
For customizing:
You can adapt a lot of things via the settings.
And finally you can dramatically change a lot with editing the xml files. I just plan to make this a bit more user friendly (i.e. having a separate user.xml to be layered on top of the existing settings).
from avnav.
Awesome work!
Just quickly one thing I noticed: Spot soundings are missing on drying heights.
from avnav.
Which display category do you have?
The new one has default "standard".
from avnav.
OK - I can also see this issue.
Thanks for finding this!
from avnav.
New daily tonight.
from avnav.
display category = all
another thing: too many digits after decimal for topographic heights or mag variation (not a problem, but cluttering)
from avnav.
floodlight icons are out of place
from avnav.
would you mind creating issues at https://github.com/wellenvogel/ochartsng/issues?
Makes it easier to track the particular issues.
Anyway thanks for your findings. Those always really help a lot!
Btw: If you are interested in trying the whole process also on Android just send me a mail with your o-charts account and I could get a test license for you (also valid for linux use of course...).
As you are looking at things carefully I would really be interested in feedback from your side.
from avnav.
I will create new issues there. - Don't see it as complaints, just feedback, so you know about it.
Sure, I would test it on android, if that helps you. I just installed the avocharts-beta-20240222
and have avnav-20230705
on android 13. I tried to add s57 charts (zip with senc files from opencpn), but when clicking on "upload zip" nothing happens, no file chooser opens.
from avnav.
for the first 2 points I already created issues.
If you launch the UI from within AvNav you don't have a file chooser.
Just launch it directly from the avocharts app - or connect to AvNav with a browser (e.g. from your PC - easier upload any way).
I will extend AvNav itself later for a file browser.
from avnav.
that worked
from avnav.
Moved to ochartsng repo
from avnav.
Related Issues (20)
- Feeder-WARNING-feeder exception HOT 2
- idea/feature request: add common classical navigation tools HOT 5
- Feature Request: AIS relative motion vectors HOT 32
- AIS decoding problem HOT 41
- Map Zooming HOT 5
- HTML-tags in python string HOT 1
- [bookworm]: config.txt was moved to /boot/firmware/config.txt HOT 4
- SocketReader does not send output HOT 2
- How to change the ipadres of wlan0 HOT 24
- Feature request, Route numbering HOT 2
- Message: You cannot edit this route as you are disconnectes. Ok to select a new name HOT 2
- Overlay markers not shown when using user icon HOT 4
- Request: support svg as user marker icons HOT 6
- Only one overlay marker shown when no default icon is set HOT 6
- Unable to activate route if no anchor watch is active HOT 2
- US ENC charts with AvNav Android HOT 2
- WebP support for charts HOT 14
- Documentation: directing to a non existent 'Beschreibung' HOT 1
- Documentation: config sequence: explanation missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avnav.