Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 21-05-2014, 16:00   #1
Registered User

Join Date: May 2014
Posts: 3
Rookie questions - boundary circles; exporting options; GPX files

Hi all,

New to OpenCPN - I just downloaded the software to a computer to test out for use on some upcoming research cruises (I work as a fisheries scientist for NOAA).

Is there an option, either through the main software or a plugin to do the following:

* Use nautical mile as the distance unit and fathoms as the depth unit (we work with fishermen a lot).

* Generate a boundary circle of a user-defined radius around a mark? Consider the mark the GPS coordinates for a sampling station where we need to conduct all sampling operations within a 100 yd radius of that station.

* Import marks into OpenCPN from a .xlsx or .csv file. We work with a lot of statistics and other software that output data such as stations and position in spreadsheet form, and being able to directly input stations along with their corresponding lat/lon information directly into our navigation software from a spreadsheet would be immensely helpful.

* Assuming there's no ability to import directly from a .xlsx or .csv or some other standard delimited format, is there any software out there that works directly with .GPX files and can convert to those type of standard formats?

* Exporting marks and tracks in some fashion other than "one at a time" or "everything at once". Seems like those are the only 2 options - select one and you can click "Export Wpt...", or you can "Export All Visible". What about highlighting 2 or more (but not necessarily all of them) and just exporting those highlighted ones?

Thanks - standard boilerplate about forgiving dumb questions from a newbie.

Fred
fredgmeyer is offline   Reply With Quote
Old 21-05-2014, 16:35   #2
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,208
Re: Rookie questions - boundary circles; exporting options; GPX files

Fred...

Quote:
Originally Posted by fredgmeyer View Post
Hi all,

New to OpenCPN - I just downloaded the software to a computer to test out for use on some upcoming research cruises (I work as a fisheries scientist for NOAA).

Is there an option, either through the main software or a plugin to do the following:

* Use nautical mile as the distance unit and fathoms as the depth unit (we work with fishermen a lot).
Yes, NM is default (and only changeable in the 3.3 beta, fixed in 3.2), you can set fathoms as depth unit in Vector chart properties in the toolbox.
Quote:
* Generate a boundary circle of a user-defined radius around a mark? Consider the mark the GPS coordinates for a sampling station where we need to conduct all sampling operations within a 100 yd radius of that station.
Perhaps you can use the anchor alarm functionality to some extent, although it's not exactly what you are looking for. Anchor Watch | Official OpenCPN Homepage
Quote:
* Import marks into OpenCPN from a .xlsx or .csv file. We work with a lot of statistics and other software that output data such as stations and position in spreadsheet form, and being able to directly input stations along with their corresponding lat/lon information directly into our navigation software from a spreadsheet would be immensely helpful.
No.
Quote:
* Assuming there's no ability to import directly from a .xlsx or .csv or some other standard delimited format, is there any software out there that works directly with .GPX files and can convert to those type of standard formats?
GPSBabel: convert, upload, download data from GPS and Map programs or write a VBA macro to generate a GPX file form your excel or write a simple shell script to convert CSV into GPX (something like https://github.com/nohal/OpenCPNScri...s_buoys2gpx.sh)
Quote:
* Exporting marks and tracks in some fashion other than "one at a time" or "everything at once". Seems like those are the only 2 options - select one and you can click "Export Wpt...", or you can "Export All Visible". What about highlighting 2 or more (but not necessarily all of them) and just exporting those highlighted ones?
You can select and export multiple in the 3.3 beta, in 3.2 only one or all.

Pavel
nohal is online now   Reply With Quote
Old 22-05-2014, 10:08   #3
Registered User

Join Date: May 2012
Posts: 1,205
Re: Rookie questions - boundary circles; exporting options; GPX files

Hello fredgmeyer,

Quote

* Import marks into OpenCPN from a .xlsx or .csv file. We work with a lot of statistics and other software that output data such as stations and position in spreadsheet form, and being able to directly input stations along with their corresponding lat/lon information directly into our navigation software from a spreadsheet would be immensely helpful.

Unquote

This sounds similar to work I did for the VisitMyHarbour Tidal Streams plugin. I translated a large .csv file to XML and read positions and other data from that. If you send me a sample file I would enjoy playing with a plugin to meet your situation! I will PM my email address if you want to try this out.

Regards,
Mike
Rasbats is offline   Reply With Quote
Old 22-05-2014, 10:13   #4
Registered User

Join Date: May 2014
Posts: 3
Re: Rookie questions - boundary circles; exporting options; GPX files

Thanks Pavel and Mike for the feedback - very helpful.

Fred
fredgmeyer is offline   Reply With Quote
Old 22-05-2014, 12:47   #5
Registered User

Join Date: May 2014
Posts: 3
Re: Rookie questions - quick follow-up

Mike - got your PM; will email you with a csv file and explanatory info shortly.

[EDIT: disregard question below...I didn't read the "fine print" about setting an anchor watch. The vessel needs to be within 1 nm of the mark in order for the anchor watch option to be available.]

Pavel (or others) - the anchor watch function looks like it might work. However, I don't see an option for it when right-clicking on a mark. In the manual, it shows "Set Anchor Watch" as a the last in a list of 6 options, however when I right-click, the list of available options is a little different, and there is no option for anchor watch. FYI, I am using v 3.2.2.

Thanks again!
fredgmeyer is offline   Reply With Quote
Old 23-05-2014, 22:22   #6
Registered User

Join Date: May 2012
Posts: 1,205
Re: Rookie questions - boundary circles; exporting options; GPX files

Hello Fred,

To help your evaluation I made a small plugin. This takes an xml file of positions and data and converts it to what OpenCPN calls a layer (the Fisheries.gpx.gpx file which is attached. This can be opened as a temporary layer and viewed on the chart.

If you want to edit the data points you need to export the layer as a GPX file. Then import the GPX and the waypoints produced can be modified (Fisheries_edit.gpx.gpx).

The plugin needs OpenCPN 3.3.1606 minimum (the last published beta). Remove the .doc extension from the plugin and xml files attached.

The plugin can be modified to take data in a different form if needed.

The website I use for conversion of csv to xml:

Free online CSV to XML converter

Regards,
Mike
Attached Files
File Type: gpx fisheries.gpx.gpx (1.6 KB, 59 views)
File Type: gpx fisheries_edit.gpx.gpx (1.6 KB, 71 views)
File Type: doc fisheries_win32_pi110_v0.1_pi.dll.doc (129.0 KB, 66 views)
File Type: doc fisheries.xml.doc (596 Bytes, 70 views)
Rasbats is offline   Reply With Quote
Reply


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
DR Plugin - splitting up GPX route files Rasbats OpenCPN 30 09-02-2019 11:42
Old GPX FIles Losing Information wdkester OpenCPN 9 17-11-2013 08:18
For Sale: Cascade Designs Seal Line Boundary 70 Dry Bag thesparrow Classifieds Archive 0 14-03-2011 15:27
Default Sym Value in GPX Files Gaver OpenCPN 0 09-09-2010 13:03
Looking for GPX Files for Testing Netsurfer OpenCPN 3 10-02-2010 03:18

Advertise Here


All times are GMT -7. The time now is 10:36.


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.