Welkom  

   

Mijn Menu  

   

What's Up  

za mei 18 @12:00AM
ZF Pinkstertrip 2024
   

Wedstrijd  

Geen evenementen
   
   
   
   
   
   
   
   
   
   
   
   
   
   
Welkom, Gasten

Onderwerp: Toepassing van AVnav

Toepassing van AVnav 08 feb 2023 13:02 #1457866

  • VegaMan
  • VegaMan's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 829
Naar aanleiding van deze draad:
"O-Charts oesenc kaarten systeem. Nieuw per 1 maart"
zeilersforum.nl/index.php/foru...er-1-maart?start=350
... werd AVnav als alternatief voor OpenCPN voorgesteld.

Hoewel het zijdelings te maken heeft met met O-charts te maken (die kun je nl. ook laden c.q. toepassen in AVnav), is het beter om af te splitsen. Bij deze.
Laatst bewerkt: 08 feb 2023 13:07 door VegaMan.
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 09 feb 2023 08:08 #1458003

  • VegaMan
  • VegaMan's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 829
Een vraag van mij daarin was, hoe kan ik van de ENC-kaarten die je gratis kunt downloaden van oa vaarweginformatie.nl, toepassen in AVnav. Die kaarten zijn bewezen werkend in OpenCPN, maar werken dus niet (zomaar) in AVnav.

Kennelijk moet je ze eerst converteren naar een mbtiles-formaat. Dit tooltje zou dat moeten kunnen: github.com/LarsSchy/SMAC-M

Weer werk aan de winkel.....
Laatst bewerkt: 09 feb 2023 08:13 door VegaMan.
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 09 feb 2023 09:38 #1458018

  • Zeilvis
  • Zeilvis's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 1361
AVnav kan alleen maar rasterkaarten lezen. O-Charts worden dooor een AVnav plugin geconverteerd. Mogelijk komt er ook een plugin voor S57. Anders moet het via een conversie naar MbTiles.
Op mijn verzoek is mijn forumnaam veranderd van Zeilzin naar Zeilvis. Hierin zijn zeilen en duiken verbonden. Groeten uit Delfzijl, Evert
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 09 feb 2023 12:13 #1458068

  • VegaMan
  • VegaMan's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 829
Zover waren we inmiddels al ;)
Ga nog aan de slag met dat conversie-tooltje hierboven, als het goed is kun je dan van een enc-kaart, een mbtiles-versie maken.

Moet zeggen, blijft ploeteren. OpenCPN is vooralsnog door mij afgeserveerd vanwege verschillende redenen. AVnav geeft op mij een professionele uitstraling met een degelijke, moderne en robuuste technische architectuur (client/server). Maar als je zoveel moeite moet doen om die (gratis) kaarten erop te kunnen krijgen, snap ik dat ook bij dit product, er velen afhaken.

En o ja, O-charts kaarten kun je niet in de app laden (wel in de server), 'men' was daar nog mee bezig. Ben eerst de app aan het verkennen, de server komt later. Zou daar sowieso hetzelfde probleem hebben met die ENC-kaarten die niet herkend worden
Laatst bewerkt: 09 feb 2023 12:48 door VegaMan.
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 09 feb 2023 19:31 #1458151

  • BlackSea
  • BlackSea's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 104
for those who want to use Dutch iENC, RWS offers WMS service (analogous to Germans WSV). In the attachment you will find the corresponding layer for Mapproxy Plugin




Bijlage:

Bestandsnaam: rws.yaml.txt
Bestandsgrootte:1 KB
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 09 feb 2023 19:35 #1458152

  • BlackSea
  • BlackSea's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 104
Would this work with an existing o chart oesenc chart licence for opencpn?
something like this is planned
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 09 feb 2023 20:28 #1458168

  • VegaMan
  • VegaMan's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 829
VegaMan schreef :
Kennelijk moet je ze eerst converteren naar een mbtiles-formaat. Dit tooltje zou dat moeten kunnen: github.com/LarsSchy/SMAC-M
Kreeg dit een soort van aan de gang, de documentatie klopt hier en daar niet, maar goed. Uiteindelijk resulteerde het in een trits foutmeldingen (zie bijlage), kan er geen chocola van maken.
Bijlagen:
Laatst bewerkt: 09 feb 2023 20:53 door VegaMan.
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 09 feb 2023 20:30 #1458169

  • VegaMan
  • VegaMan's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 829
BlackSea schreef :
for those who want to use Dutch iENC, RWS offers WMS service (analogous to Germans WSV). In the attachment you will find the corresponding layer for Mapproxy Plugin
How am I supposed to use this? Can I download the bitmap-files directly?
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 09 feb 2023 21:27 #1458192

  • VegaMan
  • VegaMan's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 829
Vanuit de documentatie van AVnav www.wellenvogel.net/software/a...tml?lang=en#mapproxy, wordt er verwezen naar gdal gdal.org/

Daar maar eens naar kijken....
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 11 feb 2023 08:40 #1458509

  • BlackSea
  • BlackSea's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 104
VegaMan schreef :
How am I supposed to use this? Can I download the bitmap-files directly?

- If you have raspberry with avnav
github.com/wellenvogel/avnav-m...lob/master/Readme.md

- If not ( Android?):

Since the RWS offers online WMS, the conversion s-57 is not required. How to proceed then is their choice:

1) Using either MOBAC or Sas.Planet (you should still take care of corresponding mapsources) create MBTiles or Gemf. Watch out: RWS uses EPSG:102100


2) Also very charming the use of QGIS
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 12 feb 2023 09:57 #1458783

  • VegaMan
  • VegaMan's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 829
BlackSea schreef :
VegaMan schreef :
How am I supposed to use this? Can I download the bitmap-files directly?

- If you have raspberry with avnav
github.com/wellenvogel/avnav-m...lob/master/Readme.md

Since the RWS offers online WMS, the conversion s-57 is not required.
As I read it, the MapProxy-plugin makes contact through internet with a WMS-service which provides the chart-information for AVnav. RWS has an active WMS-implementation so that should work out of the box.

Next, charts will be or forced to be cached by AVnav, for offline access. Question: can these chart-caches also be used by the android-client?
- If not ( Android?):
If this plugin is not availalable in the app, I will procede with the server.
Laatst bewerkt: 12 feb 2023 10:13 door VegaMan.
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 13 feb 2023 20:00 #1459152

  • BlackSea
  • BlackSea's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 104
yes, you can also use cache mbtiles from mapproxy.

Special feature: mapproxy stores tiles in "xyz" scheme not in "tms". But AvNav can handle it...unlike OpenCPN ;-)
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 13 feb 2023 21:16 #1459179

  • PietO
  • PietO's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 319
BlackSea schreef :

Since the RWS offers online WMS, the conversion s-57 is not required. How to proceed then is their choice:

If i understand correctly the "standard" WMS-viewer is app.pdok.nl/viewer/; you can open layers voor "drijvende vaarwegmarkeringen", "vaste markeringen", "Bruggen", Sluizen", "Bevaarbaarheid", etc. but the crucial info "Waterdiepte" depth does not seem to be available . . . . thus useless of do i miss something?
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 13 feb 2023 21:30 #1459185

  • PietO
  • PietO's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 319
BlackSea schreef :
1) Using either MOBAC or Sas.Planet (you should still take care of corresponding mapsources) create MBTiles
Indeed, but SASplanet offers many more options than mapproxy/mobac to generate MBtiles for Opencpn / AvNav from a great number of mapsources. Thus my favorite charts for the Netherlands are generated this way, even with colour processing on tiles.

Btw. i'm following the www.segeln-forum.de/board/195-open-boat-projects-org, wrote issues on github, discussed special mapsources with Andreas, wrote own Widgets en thus familiar with Avnav especially on Android + Windows (not Pi). Thanks for your contributions!! Regards
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 14 feb 2023 05:31 #1459220

  • BlackSea
  • BlackSea's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 104
but the crucial info "Waterdiepte" depth does not seem to be available . . . . thus useless of do i miss something?
of course not. This is the state of affairs in NL iENC from RWS. Water depths are available only in Zeeland. So WMS also shows only depths there
Indeed, but SASplanet offers many more options than mapproxy/mobac to generate MBtiles for Opencpn / AvNav
each tool has its advantages and disadvantages. I miss e.g. in SAS the possibility to automate the process. I always define boundboxes and then have GEMF/MBtiles created and only MOBAC and Mapproxy (mapproxy-seed) can do that.
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 14 feb 2023 06:17 #1459224

  • VegaMan
  • VegaMan's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 829
Heb even snel een AVnav-server opgezet op mijn (Ubuntu/Linux) laptop, via de package-installer. Installatie ging moeiteloos en vlekkeloos. Daarna kan je meteen AVnav benaderen via de browser, poort 8080.

Mijn eerste indrukken:
  • look-and-feel *exact* gelijk aan de app (zie verder hieronder)
  • tegelijkertijd toegang via meerdere apparaten via de browser; je hoeft niets te installeren, ideaal voor gasten op de boot die dan live kunnen meekijken op hun eigen foon
  • performance is goed, bediening gaat zeer soepel, geen verschil met native app + locale kaart
  • knopje voor full-screen zit gewoon in de interface => illusie van een native app
  • GPS moet komen van het apparaat waar de server op draait
  • lijkt een wifi-punt oid op te zetten (veel verbindings-notificaties) => nog uitzoeken
De GPS moet dus komen van het apparaat waar de server op geïnstalleerd is, dat is dus voor nu even mijn laptop. Emulatie van GPS wat je vaak in de browser hebt werkt niet, er is echt een (externe) hardware-matige GPS nodig. Heb een simpele GPS-onvanger besteld om wat mee te spelen, deze zal later vervangen worden door stick of kaartje met de combi GPS/AIS. Die zal dan aangesloten worden op de Pi.

Wat best wel wonderbaarlijk is, dat de browser-versie EXACT gelijk is aan de app. Het zal dan ook dezelfde software zijn die multi-functioneel toegepast wordt op verschillende stacks (headless server/android). Dat geeft aan dat de maker weet wat hij doet. Vooralsnog is de software een technologisch superieure oplossing, zeer doordacht.

De eerstvolgende stap (naast die hardware-GPS) is het installeren en toepassen van de mapproxy-plugin waarmee ik toegang krijg tot diverse online kaartbronnen, oa die van RWS. Deze data (kaarten) kun je cachen, en dan zijn ze offline beschikbaar.
Laatst bewerkt: 14 feb 2023 08:02 door VegaMan.
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 14 feb 2023 08:11 #1459230

  • XanderB
  • XanderB's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 2158
Ik ga er nu ook een beetje mee spelen. Het blijkt dat op mijn OpenPlotter installatie ook een package van AVnav zit, dus de server draait nu al en is toegankelijk via 8080. Met een O-chart plugin op 8082. Nu maar uitzoeken hoe eea werkt.
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 14 feb 2023 11:46 #1459287

  • PietO
  • PietO's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 319
BlackSea schreef :
each tool has its advantages and disadvantages. I miss e.g. in SAS the possibility to automate the process. I always define boundboxes and then have GEMF/MBtiles created and only MOBAC and Mapproxy (mapproxy-seed) can do that.
Please check the functionality of polygons in placemark manager (= "boundboxes"?) which can be modified, merged etc. The only function not automated decently is the handling of different zoomlevels for specific areas (harbours etc.); last year i did the manual zooming in on level 17 for these specific areas. That is presumably done by mapproxy better according to Andreas, but i could not confirm this.

Furthermore, did you already try to process the tile-images with mapproxy/mobac?
Laatst bewerkt: 14 feb 2023 11:59 door PietO.
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 14 feb 2023 16:18 #1459334

  • BlackSea
  • BlackSea's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 104
Furthermore, did you already try to process the tile-images with mapproxy/mobac?
I didn't quite understand what you meant. What should be done? Reduce the size of the tiles?

P.S. RWS mapsource included in avnav-mapproxy version >= 20230214
Laatst bewerkt: 14 feb 2023 16:21 door BlackSea.
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 14 feb 2023 18:35 #1459363

  • VegaMan
  • VegaMan's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 829
As I said, I installed AVnav through the package-installer. I tried to reach the user apps-page, as following:


But then I'm greeted with an error: localhost:3000 cannot be found. This is correct b/c nmap (the commandline tool for scanning ports) reveals only the 8080-port. What is wrong here?

PS
I'm trying to install the mamproxy-plugin. On startup, the log telle me that the plugin is found and activated. But as I cannot configure the plugin through a user app, the plugin is useless.
Laatst bewerkt: 14 feb 2023 18:38 door VegaMan.
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 14 feb 2023 18:58 #1459371

  • VegaMan
  • VegaMan's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 829
Hmmm, the mapproxy-plugin does not seem to load at all:
2023-02-14 19:53:35,341-426616-426637-PluginHandler-ERROR-unable to load /home/mark/avnav/plugins/avnav-mapproxy-plugin-master/plugin.py:Traceback (most recent call last):
  File "/usr/lib/avnav/server/handler/pluginhandler.py", line 569, in loadPluginFromDir
    rt = imp.load_source(name, moduleFile)
  File "/usr/lib/python3.10/imp.py", line 172, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 719, in _load
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/mark/avnav/plugins/avnav-mapproxy-plugin-master/plugin.py", line 54, in <module>
    mapproxyWrapper=loadModuleFromFile('mapproxy_wrapper.py')
  File "/home/mark/avnav/plugins/avnav-mapproxy-plugin-master/plugin.py", line 48, in loadModuleFromFile
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/mark/avnav/plugins/avnav-mapproxy-plugin-master/mapproxy_wrapper.py", line 32, in <module>
    from mapproxy.wsgiapp import make_wsgi_app
ModuleNotFoundError: No module named 'mapproxy'
Laatst bewerkt: 14 feb 2023 20:55 door VegaMan.
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 14 feb 2023 19:42 #1459384

  • PietO
  • PietO's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 319
BlackSea schreef :
I didn't quite understand what you meant.
Ref.: zeilersforum.nl/index.php/foru...ng-van-avnav#1459185
Colour processing on all tiles of a chart
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 14 feb 2023 20:01 #1459394

  • BlackSea
  • BlackSea's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 104
@VegaMan

1. You are missing SignalK server. If it is OK for you, you can disable built-in SignalK plugin

2. You are missing python3-mapproxy package
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 14 feb 2023 21:13 #1459415

  • VegaMan
  • VegaMan's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 829
BlackSea schreef :
@VegaMan

1. You are missing SignalK server. If it is OK for you, you can disable built-in SignalK plugin
For what problem is this the solution? How do I disable a plugin (as the user app-page is better but stil broken, see below)?
2. You are missing python3-mapproxy package
OK, after loading python3-mapproxy, now I have several mapproxy-sources, including the one from rws, so we are making progress!

But concerning the rws mapproxy-map, I'm a little underwhelmed. The buoys are drawn but not coloured so you can hardly recognise them. And if you zoom out a little too much, the map completely disappears. This does not happen with openseamap, both local or mapproxy.
Bijlagen:
Laatst bewerkt: 14 feb 2023 21:37 door VegaMan.
Alleen ingelogde leden kunnen reageren.

Toepassing van AVnav 15 feb 2023 07:52 #1459461

  • BlackSea
  • BlackSea's Profielfoto
  • Offline
  • Gebruiker
  • Berichten: 104
For what problem is this the solution? How do I disable a plugin (as the user app-page is better but stil broken, see below)?
refers to
But then I'm greeted with an error: localhost:3000 cannot be found.
either in avnav_server.xml with the editor of your choice or via GUI (mainpage->bar icon->pencil next to SignalK handler)
But concerning the rws mapproxy-map, I'm a little underwhelmed. The buoys are drawn but not coloured so you can hardly recognise them. And if you zoom out a little too much, the map completely disappears.
you can certainly address your complaint to RWS. Why only from zoom >= 12 everything is visible and why paint the buoys black / white. Mapproxy only passes on what he has received
Alleen ingelogde leden kunnen reageren.
Tijd voor maken pagina: 0.303 seconden
Gemaakt door Kunena
   
   
   
   
© Zeilersforum.nl