Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 17-02-2019, 08:15   #196
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 581
Re: Hydrographic Survey Plugin

Mike, thanks, everything works

when you go to the Profile Crash tab
I do not see the plugin in Crowdin for translation into other languages

feature request
Ability to delete recorded depth marks on the map. We move the cursor to the mark, the right button is the command to delete.
When you hover the cursor over the depth mark, information is displayed with the date of measurement, the name of the Survey.
Setting the display of depth marks without a symbol only a number with the possibility of coloring depending on the depth.
Adjustment of coloring according to depth Automatically and in the set range from and to
Baikal is offline   Reply With Quote
Old 22-02-2019, 02:36   #197
Registered User

Join Date: May 2012
Posts: 1,207
Re: Hydrographic Survey Plugin

Mea Culpa.

In the early days of this plugin I did not understand the format of the Spatialite Point object. For this reason I used lat, lon instead of lon, lat. This has now come back to bite me when trying to calculate distances between soundings.

For this reason I have decided to completely withdraw the plugin, pending a full re-write. The page in the dev manual has been removed and the github source renamed.

Hydromagic files made by the plugin should be correct and this will be the format to transfer to any new plugin.

Apologies for any problems caused.

Mike
Rasbats is offline   Reply With Quote
Old 22-02-2019, 11:07   #198
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,637
Images: 2
Re: Hydrographic Survey Plugin

Mike, sorry to hear about this.

Is it so bad a problem to switch the format? It seems to me that using an editor search function would find the instances pretty quickly.

The old page is still available under Old revisions.
I see that you have summarized the problem here
rgleason is offline   Reply With Quote
Old 13-03-2019, 12:45   #199
Registered User

Join Date: May 2012
Posts: 1,207
Re: Hydrographic Survey Plugin

Version 3 of this plugin for OpenCPN 5, with many changes, is available here:

https://github.com/Rasbats/survey_pi/releases/tag/v3.0

Still a beta release which needs a lot of testing.
Still working on the Linux version.

Uses SVG icons.

Changes
Soundings are now saved in point format lon-lat. This affects any soundings saved in the sqlite file, with version 2. To fix this, export the survey to a Hydromagic,xyz or csv file. Delete the old survey and add a new survey. Import from the saved file into the new survey.

The sqlite database file is now built and saved in the appdata folder 'opencpn/plugins/survey'. libspatialite-amalgamation is not recommended and has been replaced by mod_spatialite. This change was necessary to use the full range of spatialite functions.

The lon-lat point format for the geometry objects can now be used with these functions.

A tidal correction is still in the code but it is not satisfactory. Intention is to replace this with tidal corrections entered in a text file that can be read and used by the plugin. This will allow separation between raw data and adjusted data.

Using OpenGL the soundings can be viewed without a sounding mark.
It is now possible to delete a sounding using right-click.

Windows
The plugin builds standalone without additional files.

Usage on Windows
Download the file 'mod_spatialite-4.3.0a-win-x86.7z' from Index of /gaia-sins/windows-bin-x86. Extract the files and place them in the main OpenCPN program (The folder containing 'opencpn.exe'). Then install the plugin.

Mike
Rasbats is offline   Reply With Quote
Old 14-03-2019, 01:33   #200
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 581
Re: Hydrographic Survey Plugin

Mike thanks for the update!

After adding mod_spatialite-4.3.0a-win-x86 files
CPN does not start swears at libpng16.dll
Baikal is offline   Reply With Quote
Old 14-03-2019, 03:46   #201
Registered User

Join Date: May 2012
Posts: 1,207
Re: Hydrographic Survey Plugin

Sorry, I see the problem. The zlib1.dll from 'mod_spatialite' overwrites the zlib1.dll from the OpenCPN installation. Reinstalling OpenCPN beta restores the correct zlib1.

BUT ... there is still a module missing and the plugin does not start. Now working on the reason for this.

Mike
Rasbats is offline   Reply With Quote
Old 14-03-2019, 04:15   #202
Registered User

Join Date: May 2012
Posts: 1,207
Re: Hydrographic Survey Plugin

Usage on Windows (Amended)
Download the file 'mod_spatialite-4.3.0a-win-x86.7z' from Index of /gaia-sins/windows-bin-x86. Extract the files. Place all the files EXCEPT 'zlib1.dll' and 'sqlite3.exe' in the main OpenCPN program folder (The folder containing 'opencpn.exe').

Download sqlite3.dll and place in the same folder.

Mike
Rasbats is offline   Reply With Quote
Old 14-03-2019, 08:40   #203
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 581
Re: Hydrographic Survey Plugin

It all worked! probably need to include sqlite3.dll in the source.

Here are a few comments and suggestions.
1. Delete sounding right click works through one or two points.
2. Does not apply to spotsoundings "use variamble depthcolours" or is this feature not implemented?
3. Font color does not change.
4. Switching to the "Profile" tab results in a CPN error.
5. None of the "Boat size, Sensor position" amendments
6. Auto start of the new survey from the distance of the last soundings does not work.
7. In the title of the new Survey does not understand the name in Cyrillic. Causes CPN Error
8. When the "Calculate tide" is off, the correction is still applied. Until you enter "0"
9. So it is not clear why the "+" and "-" buttons do not work.
10. The "Properties" button does not display Survey properties.
11. The "Zoom to" button does not display the entire Survey area on the screen but only the start of the recording.
12. In the Survey window, recording statistics are not updated in real time.
13. Tide values ​​in the table are always 0.
14. It should be possible to hide the Survey window.
15. There must be a working keel offset correction.
16. Two depths should be recorded raw from the sonar sensor and with the correction of the water level.

Mike, is it possible to do something like a video?
Construction of a bathymetric map in real time
Baikal is offline   Reply With Quote
Old 14-03-2019, 09:28   #204
Registered User

Join Date: May 2012
Posts: 1,207
Re: Hydrographic Survey Plugin

Baikal...

Really appreciate the feedback. All good points.
Ref #8, #13: When time permits intend removing the present tide correction logic and going with a text file that can be edited to show the corrections, say every 15 minutes. These corrections would then be applied to a new table 'corrected_soundings'. This would achieve the separation between raw and corrected data.
Ref the video: We are into uncharted territory for me! Needs some research!

Mike
Rasbats is offline   Reply With Quote
Old 14-03-2019, 13:16   #205
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,637
Images: 2
Re: Hydrographic Survey Plugin

Had same problem will reinstall Opencpn over the top. Thanks Mike and Baikal



Quote:
Originally Posted by Baikal View Post
Mike thanks for the update!

After adding mod_spatialite-4.3.0a-win-x86 files
CPN does not start swears at libpng16.dll
rgleason is offline   Reply With Quote
Old 15-03-2019, 05:39   #206
Registered User

Join Date: May 2012
Posts: 1,207
Re: Hydrographic Survey Plugin

Now compiles and runs on Linux. There are still several things to fix.

Using the XPM symbols circle, cross and square I needed to change:

Code:
static char
To the following:

Code:
static const char
(For ISO C++)

Google helps yet again!

Mike
Rasbats is offline   Reply With Quote
Old 03-04-2019, 04:35   #207
Registered User

Join Date: May 2012
Posts: 1,207
Re: Hydrographic Survey Plugin

Version 3.1 is available on Github.

https://github.com/Rasbats/survey_pi/releases/tag/v3.1

This addresses some of the points about colours/symbols for the sounding marks.

Still working on offsets and tidal corrections etc.

Mike
Rasbats is offline   Reply With Quote
Old 03-04-2019, 07:16   #208
Registered User

Join Date: Sep 2010
Posts: 153
Re: Hydrographic Survey Plugin

Quote:
Originally Posted by Rasbats View Post
Usage on Windows (Amended)
Download the file 'mod_spatialite-4.3.0a-win-x86.7z' from Index of /gaia-sins/windows-bin-x86. Extract the files. Place all the files EXCEPT 'zlib1.dll' and 'sqlite3.exe' in the main OpenCPN program folder (The folder containing 'opencpn.exe').

Download sqlite3.dll and place in the same folder.

Mike
Hi,

Thanks for you effort, could you provide me where I can find the "sqlite3.dll"?

Kubek
kubek is offline   Reply With Quote
Old 03-04-2019, 07:36   #209
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 581
Re: Hydrographic Survey Plugin

Quote:
Originally Posted by Rasbats View Post
Version 3.1 is available on Github.
https://github.com/Rasbats/survey_pi/releases/tag/v3.1
This addresses some of the points about colours/symbols for the sounding marks.
Still working on offsets and tidal corrections etc.
Mike
Coloring the depth does not work!
There is also a problem with panaroning on a scale of more than 50,000. The Chart does not move with the mouse Zoom works
Baikal is offline   Reply With Quote
Old 03-04-2019, 07:39   #210
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 581
Re: Hydrographic Survey Plugin

Quote:
Originally Posted by kubek View Post
Hi,
Thanks for you effort, could you provide me where I can find the "sqlite3.dll"?
Kubek
https://www.sqlite.org/download.html
Google!
Baikal is offline   Reply With Quote
Reply

Tags
survey


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hydrographic Survey Plugin nohal OpenCPN 326 01-12-2023 07:35
OpenCPN Radar Overlay PlugIn bdbcat OpenCPN 900 21-09-2022 00:26
Marine Survey 101 boatpoker Monohull Sailboats 42 15-07-2021 05:51
Low Cost Boat Worth a Survey ? JDRichlen Liveaboard's Forum 52 18-03-2012 10:32

Advertise Here


All times are GMT -7. The time now is 23:05.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.