Spent some time with survey_pi from Pavel.
I have added to the
import feature and made an option to read from a
NMEA file, like the one produced by the VDR
plugin. Time of sounding is not implemented correctly yet.
A compiled version for Windows and
OpenCPN 4.0.0 is on GitHub, along with the files to use the
plugin. Also the source code I modified.
https://github.com/Rasbats/survey_pi
Problem...the plugin crashes O when O closes.
3:46:50 PM: PlugInManager: Deactivating PlugIn: C:\Program Files\OpenCPN\plugins\survey_pi.dll
3:46:50 PM: SURVEY_PI: Close Msg: 0
3:46:50 PM: PlugInManager: Deactivating PlugIn: C:\Program Files\OpenCPN\plugins\vdr_pi.dll
3:46:50 PM: opencpn::MyFrame exiting cleanly.
3:46:50 PM: Chart cache purge
3:46:50 PM: PlugInManager: UnLoading PlugIn: C:\Program Files\OpenCPN\plugins\survey_pi.dll
....... and then nothing.
Msg:0 indicates the database closed successfully.
Perhaps someone could take a look at the code and spot the mistake.
Working with hydromagic format files and
NMEA txt files demonstrated some limitations when inserting a large number of soundings into the sqlite database. It may be a slow process.
My interest is in small areas like Yacht Club moorings or
anchorages. In this scenario a small set of soundings could
work.
What could be interesting is if we could submit soundings to OpenSeaMap and have the option of receiving back a subset of those soundings (corrected) to
work on using the plugin.
Mike