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 24-09-2018, 02:34   #1
Registered User

Join Date: Aug 2018
Posts: 3
recording depths with GPS positions for bathymetry

Greetings dear forum users:

The situation:

I want to record echosounder depths with GPS points for a bathymetric survey. This way, I can process them in QGIS vai a gpx file or whatnot. But I don't want to spend thousands of bux for survey equipment, and I probably don't want an all-in-one fishfinder solution (which can usually do this kind of thing in my limited experience) because I already have a fancy GPS, and the all-in-one solutions usually have a really wide beam depth transducer; I want a narrow beam; and I want to be able to import custom made route file gpx I've made in QGIS, which isn't always supported so well.

The Questions:

-If I plug in a transducer and GPS into OpenCPN via NMEA, will the depth automatically get added to GPS trackpoints when I record a track? Or do I need this thing called a multiplexer? (I see there are hardware of software solutions for that)

-Do I need the hydrographic survey plugin for this?
http://www.cruisersforum.com/forums/...gin-79178.html

-Can I adjust the spacing of trackpoints in recorded tracks? In the tracks I've tried making with OpenCPN it seems like the interval is 30 seconds... I'd like it to be closer so I can get 10m spacing intervals or less. What determines how often these trackpoints are made?


I'd also be fine with just getting a log with tonnes of echosounder depths if they have a timestamp which I could then match up to GPS trackpoints by writing myself a little script or whatever later when I'm doing the data processing. But I still need to make sure I get enough GPS points rather than just 30 seconds.

I appreciate any advice or tips; thanks!
hydro_explorer is offline   Reply With Quote
Old 24-09-2018, 03:21   #2
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: recording depths with GPS positions for bathymetry

You can use something called voyage data recorder plugin. It will record all NMEA messages received by O regardless of the source device. Later you can write a simple tool (Python is a good choice) to extract the position and depth data. Be aware that high speed can obscure the relationship between depth location and GPS coordinate. This idea requires a lot of special sensors if the boat will be traveling at 30 knots.
transmitterdan is offline   Reply With Quote
Old 24-09-2018, 05:13   #3
Registered User

Join Date: Aug 2018
Posts: 3
Re: recording depths with GPS positions for bathymetry

Quote:
Originally Posted by transmitterdan View Post
You can use something called voyage data recorder plugin. It will record all NMEA messages received by O regardless of the source device. Later you can write a simple tool (Python is a good choice) to extract the position and depth data. Be aware that high speed can obscure the relationship between depth location and GPS coordinate. This idea requires a lot of special sensors if the boat will be traveling at 30 knots.
Thank you transmitterdan. I'll look into the vdr plugin... it could work as long as it records the depth sounding with a timestamp so i can match it to the GPS timestamp.

I intend to do it pretty slowly (5kt or less) and in a grid in the form of a gpx route.

Still though, I'm not quite sure how to make OpenCPN record more GPS points into the tracklog, but perhaps vdr plugin keeps a log of all the gps fixes that OpenCPN doesn't bother adding to the track.
hydro_explorer is offline   Reply With Quote
Old 24-09-2018, 06:29   #4
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
recording depths with GPS positions for bathymetry

The depth data has no time stamp in NMEA format. But the depth readings will be surrounded by GPS messages that include time so one can infer the time of the depth readings.

VDR plugin records all data.
transmitterdan is offline   Reply With Quote
Old 24-09-2018, 07:14   #5
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: recording depths with GPS positions for bathymetry

Quote:
Originally Posted by hydro_explorer View Post
Thank you transmitterdan. I'll look into the vdr plugin... it could work as long as it records the depth sounding with a timestamp so i can match it to the GPS timestamp.

I intend to do it pretty slowly (5kt or less) and in a grid in the form of a gpx route.

Still though, I'm not quite sure how to make OpenCPN record more GPS points into the tracklog, but perhaps vdr plugin keeps a log of all the gps fixes that OpenCPN doesn't bother adding to the track.
There's a sample VDR file on the manual page, just under "want to play?" -
https://opencpn.org/wiki/dokuwiki/do...ugins:logs:vdr

The VDR just records raw NMEA sentences (afaik) and don't think any of the DB* NMEA depth sentences have a timestamp so you might need to get the time from a nearby GPS sentence, most GPS's send about 1Hz ISTR so should be under a second out worst case. (Edit - took a while to hit send - T.dan got there first )

If you haven't come across it before, node-red can make stripping out data from files quick and easy.

This took a few minutes and will read a file then send the last GPS time before a depth message then the depth comma separated.
"062314,0060.4"

Code:
[
    {
        "id": "21769b7b.1a1064",
        "type": "inject",
        "z": "c9647b2e.674eb8",
        "name": "",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "x": 100,
        "y": 320,
        "wires": [
            [
                "a09b1cd0.0d1ba"
            ]
        ]
    },
    {
        "id": "a09b1cd0.0d1ba",
        "type": "file in",
        "z": "c9647b2e.674eb8",
        "name": "",
        "filename": "C:\\Users\\PaddyB\\Downloads\\deleteMe\\rausch_shortened.txt",
        "format": "lines",
        "chunk": false,
        "sendError": false,
        "x": 260,
        "y": 400,
        "wires": [
            [
                "414a5c71.7097d4"
            ]
        ]
    },
    {
        "id": "414a5c71.7097d4",
        "type": "switch",
        "z": "c9647b2e.674eb8",
        "name": "",
        "property": "payload",
        "propertyType": "msg",
        "rules": [
            {
                "t": "regex",
                "v": "GLL",
                "vt": "str",
                "case": false
            },
            {
                "t": "regex",
                "v": "DBT",
                "vt": "str",
                "case": false
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 150,
        "y": 520,
        "wires": [
            [
                "ce2784ba.437c08"
            ],
            [
                "63c7da01.e73f04"
            ]
        ]
    },
    {
        "id": "ce2784ba.437c08",
        "type": "function",
        "z": "c9647b2e.674eb8",
        "name": "",
        "func": "var splitString = msg.payload.split(',');\nmsg.payload = splitString[5];\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "x": 330,
        "y": 500,
        "wires": [
            [
                "3e32cdfb.aa1362"
            ]
        ]
    },
    {
        "id": "63c7da01.e73f04",
        "type": "function",
        "z": "c9647b2e.674eb8",
        "name": "",
        "func": "var splitString = msg.payload.split(',');\nmsg.payload = splitString[3];\nmsg.payload = flow.get(\"timestamp\") + \",\" +  msg.payload;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "x": 310,
        "y": 560,
        "wires": [
            [
                "fd363eb.b17f0c"
            ]
        ]
    },
    {
        "id": "3e32cdfb.aa1362",
        "type": "change",
        "z": "c9647b2e.674eb8",
        "name": "",
        "rules": [
            {
                "t": "set",
                "p": "timestamp",
                "pt": "flow",
                "to": "payload",
                "tot": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 530,
        "y": 460,
        "wires": [
            [
                "3f9fffe4.a4baa"
            ]
        ]
    },
    {
        "id": "fd363eb.b17f0c",
        "type": "debug",
        "z": "c9647b2e.674eb8",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "x": 610,
        "y": 580,
        "wires": []
    },
    {
        "id": "3f9fffe4.a4baa",
        "type": "debug",
        "z": "c9647b2e.674eb8",
        "name": "",
        "active": false,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "x": 730,
        "y": 400,
        "wires": []
    }
]
conachair is offline   Reply With Quote
Old 24-09-2018, 09:21   #6
Moderator Emeritus
 
Paul Elliott's Avatar

Cruisers Forum Supporter

Join Date: Sep 2006
Posts: 4,663
Images: 4
Re: recording depths with GPS positions for bathymetry

If you can't get OCPN plug-ins to do what you want (and you probably can), some people are using NavMonPc do depth surveys by recording time, depth, and lat/lon once per second in the spreadsheet-format log. You can then do what you wish with the logfile. You are on your own when it comes to tide height though.
__________________
Paul Elliott, S/V VALIS - Pacific Seacraft 44 #16 - Friday Harbor, WA
www.sailvalis.com
Paul Elliott is offline   Reply With Quote
Old 24-09-2018, 09:46   #7
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: recording depths with GPS positions for bathymetry

Quote:
Originally Posted by conachair View Post
........ and will read a file then send the last GPS time before a depth message then the depth comma separated.
"062314,0060.4"
.........
Which is a silly way to go about it

It's lat & long you want, so record in VDR with gps update rate set high then make a file from lat, long & next depth reading.
conachair is offline   Reply With Quote
Old 25-09-2018, 08:10   #8
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 581
Re: recording depths with GPS positions for bathymetry

CPN does not write depth data in the track

Hydrographic Survey Plugin has the ability to record depth marks at a specified distance. There is no time.
Export is possible in XYZ format

I think it will be easier for you to use a ready solution for non-professional hydrography https://reefmaster.com.au

Now the chartplotters Garmin, Lowrance, Hymminbird can build a bathymetric depth map in real time on the screen
Baikal is offline   Reply With Quote
Old 25-09-2018, 08:35   #9
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: recording depths with GPS positions for bathymetry

I have great interest in providing support to opencpn to automatically generate chart (with contours) in real time. The issue is, I do not have depth sounder with nmea data output. So for this project I managed to build my own depth sounder, but it is still experimental.

The advantage is, I have far more control over how the depth sounder works through the free software that drives it. I can use different transducers etc.. but as stated, it is still an experiment and I have not the time to complete it yet.
seandepagnier is offline   Reply With Quote
Old 25-09-2018, 10:36   #10
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 581
Re: recording depths with GPS positions for bathymetry

I am also interested in the possibility of constructing bathymetric maps in real time.
If something like this is done



is ready to make a financial contribution to the equipment and development or refinement of the hydrographic plug-in
Baikal is offline   Reply With Quote
Old 16-03-2021, 17:02   #11
Registered User
 
Simi 60's Avatar

Join Date: Jun 2016
Location: Australia
Boat: Milkraft 60 ex trawler
Posts: 4,653
Re: recording depths with GPS positions for bathymetry

Just bringing this to life again
Anyone got any updates on using Lowrance/reefmaster and exporting files to OpenCPN?
Simi 60 is offline   Reply With Quote
Old 16-03-2021, 17:22   #12
Registered User
 
sv_pelagia's Avatar

Join Date: Apr 2013
Location: British Columbia
Boat: Sceptre 41
Posts: 1,941
Re: recording depths with GPS positions for bathymetry

Reefmaster looks interesting, but costs US$200.... I downloaded trial version, and supposedly it will take in a NMEA text file (as output by OpenCPN VDR Plugin)... but it didn't work for me.

SO...
I wrote a simple program to take in an OpenCPN VDR (Voyage Data Recorder) text file containing lat/long and depth sentences, and it outputs (i) a GPX file of depth waypoints and (ii) an XYZ file.

The XYZ file can be read by SAT2CHART to place depths on a satellite image. (I too have been using QGIS (and the QGIS "reader" for Android, Qfield). But the ability of SAT2CHART to now place depths from a XYZ file makes the proces simpler.)

The simple program "NMEAtoXYZ" is available free on my blog. See this for a better description:

http://sailing-pelagia.blogspot.com/...ou-go.html?m=0
sv_pelagia is offline   Reply With Quote
Old 16-03-2021, 18:26   #13
Registered User
 
Simi 60's Avatar

Join Date: Jun 2016
Location: Australia
Boat: Milkraft 60 ex trawler
Posts: 4,653
Re: recording depths with GPS positions for bathymetry

Quote:
Originally Posted by sv_pelagia View Post

The simple program "NMEAtoXYZ" is available free on my blog. See this for a better description:

Sailing Pelagia: Saving depths as you go...
Hi, nice addition for sure but I was wanting something to scout out areas on the tenders sounder and then overlaying on ooencpn before bringing the big boat in.

Doesn't sound like your kit has that capability
Simi 60 is offline   Reply With Quote
Old 16-03-2021, 18:46   #14
Registered User
 
sv_pelagia's Avatar

Join Date: Apr 2013
Location: British Columbia
Boat: Sceptre 41
Posts: 1,941
Re: recording depths with GPS positions for bathymetry

Quote:
Originally Posted by Simi 60 View Post
Hi, nice addition for sure but I was wanting something to scout out areas on the tenders sounder and then overlaying on ooencpn before bringing the big boat in.

Doesn't sound like your kit has that capability
Does if you are running OpenCPN receiving NMEA output of dinghy sounder.
sv_pelagia is offline   Reply With Quote
Old 16-03-2021, 19:16   #15
Registered User
 
Simi 60's Avatar

Join Date: Jun 2016
Location: Australia
Boat: Milkraft 60 ex trawler
Posts: 4,653
Re: recording depths with GPS positions for bathymetry

Quote:
Originally Posted by sv_pelagia View Post
Does if you are running OpenCPN receiving NMEA output of dinghy sounder.
And how would it do that?
OpenCPN in big boat wheelhouse
Dinghy sounder in dinghy a large distance away.

What am I missing?
Simi 60 is offline   Reply With Quote
Reply

Tags
depth, gps, record

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Bathymetry data displayed over charts dmfaria OpenCPN 1 26-07-2017 14:19
Mapping depths using GPS/depthsounder troppo Navigation 8 25-02-2017 17:39
Bathymetry data for Mediterranean muammer Navigation 0 29-04-2014 05:37
Polauto Recording cansailor OpenCPN 8 17-06-2013 16:50
Recording Costs of Ownership Therapy Dollars & Cents 11 10-07-2009 11:36

Advertise Here


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


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.