Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 21-06-2017, 08:19   #1
Registered User
 
Capt.Don's Avatar

Join Date: Aug 2010
Location: Altadena, CA
Boat: Tartan 3500
Posts: 830
Images: 1
Waypoint management - custom field(s)

Is there a way to add custom field(s) to a wapyoint, display (add column) in route and track manager, and include these fields in the gpx export?

A bit of context - my sailing splits into separate regions, each with 100's of waypoints. I'd like to separate them out into different gpx files. This helps with the export to my gps, etc.

Fields that I'd like to add: source guide, custom group or category (e.g., Baja, Sea of Cortez...), and a date.

Thanks,
Don
Capt.Don is offline   Reply With Quote
Old 21-06-2017, 18:36   #2
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 862
Re: Waypoint management - custom field(s)

Quote:
Originally Posted by Capt.Don View Post
Is there a way to add custom field(s) to a wapyoint, display (add column) in route and track manager, and include these fields in the gpx export?

A bit of context - my sailing splits into separate regions, each with 100's of waypoints. I'd like to separate them out into different gpx files. This helps with the export to my gps, etc.

Fields that I'd like to add: source guide, custom group or category (e.g., Baja, Sea of Cortez...), and a date.

Thanks,
Don
Hi Don,

I think that the Properties of a waypoint allows you to do what you are asking about. The name can be made visible, information can be entered in the description, and a link can be inserted to a local file, such as a guidebook.

Exporting the waypoint to folders for separate areas would help in the management of the waypoints.

What am I missing?

Terry
Attached Thumbnails
Click image for larger version

Name:	17 06 22 09 30 30.jpg
Views:	57
Size:	157.0 KB
ID:	150373   Click image for larger version

Name:	17 06 22 09 31 39.jpg
Views:	51
Size:	151.7 KB
ID:	150374  

__________________
VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote
Old 21-06-2017, 19:07   #3
Registered User
 
Capt.Don's Avatar

Join Date: Aug 2010
Location: Altadena, CA
Boat: Tartan 3500
Posts: 830
Images: 1
Re: Waypoint management - custom field(s)

Terry,
Thanks for the reply -- Links are a good start but don't give a grouping of waypoints or user defined fields. When creating a link, you have to enter a URL or file reference, which makes sense. Additionally, under 'Route and Mark Manager', there's not a column displaying the link, so you can't sort, select and export based on the value. Perhaps that's the simple enhancement.

What I'm suggesting is similar to links, without the URL or file reference and having them show up as columns in 'Route and Mark Manager'. This would be a natural extension of the concept of waypoint, with a hierarchy or grouping, say on region, etc. The more I think about it, there are other custom fields, such as 'location verified', 'date visited', ....

I was hoping there's some sort of meta data file defining waypoint and I could add these additional fields. Once added, they'd automatically show up in the waypoint properties and route and mark manager.

Alternately, is there a great XML database management application that could be the repository for my waypoints, which are fed into OpenCPN?

Thanks
Don
Attached Thumbnails
Click image for larger version

Name:	x3.png
Views:	48
Size:	11.0 KB
ID:	150376   Click image for larger version

Name:	x2.png
Views:	52
Size:	11.3 KB
ID:	150377  

Click image for larger version

Name:	x1.png
Views:	46
Size:	23.4 KB
ID:	150378  
Capt.Don is offline   Reply With Quote
Old 21-06-2017, 20:16   #4
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 862
Re: Waypoint management - custom field(s)

Hi again Don,

Here's an approach that you might find useful. I do this for the hundreds of anchorages I've compiled in countries in SE Asia.

Using the .gpx Editor program I combine all anchorage waypoints into one .gpx file for a country or region.

The .gpx files are then placed in a Layers folder (in my case under Program Data).

The various files can be displayed or not in the Layers tab of the Route and Mark Manager and can be listed when desired.

See attached.

Terry
Attached Thumbnails
Click image for larger version

Name:	17 06 22 11 11 37.jpg
Views:	55
Size:	242.0 KB
ID:	150407   Click image for larger version

Name:	17 06 22 11 12 49.jpg
Views:	71
Size:	262.0 KB
ID:	150408  

__________________
VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote
Old 21-06-2017, 21:23   #5
Registered User
 
Capt.Don's Avatar

Join Date: Aug 2010
Location: Altadena, CA
Boat: Tartan 3500
Posts: 830
Images: 1
Re: Waypoint management - custom field(s)

Terry,

Layers are very nice -- I didn't appreciate this built-in functionality. I never would have connected the concept of layers with my separate lists of waypoints. For Windows users, you need to create the "layers" directory/folder: C:\ProgramData\opencpn\layers.

I think I can make layers work. I have separate GPX files for each sailing region. Using a GPX editor, I can setup/maintain the separate list of waypoints. The one thing that I still need to get my head around is the fact that "Layers are immutable, nothing can be changed". What this means to me is that OpenCPN is a consumer of the waypoint file(s) and they are owned/maintained by another process. As Terry suggested, GPX editor.

I'll experiment more with GPX editor and Layers. This is a great suggestion.

Thank you,
Don
Capt.Don is offline   Reply With Quote
Old 21-06-2017, 21:53   #6
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 862
Re: Waypoint management - custom field(s)

Quote:
Originally Posted by Capt.Don View Post
Terry,

The one thing that I still need to get my head around is the fact that "Layers are immutable, nothing can be changed".
Don
Once placed in the Layers folder the .gpx files cannot be changed from within OpenCPN. But since they probably also reside somewhere in the computer the file can be imported to the Route and Mark Manager and changed at will. Note that if you have checked the box 'Lock waypoints ...' under Options/Display/Advanced you need to right click on a waypoint and select it's Properties to be able to move or delete it. The changed file can then be exported to be saved in its new configuration (and replace the one in the Layers folder as well).

HTH, Terry
__________________
VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote
Old 22-06-2017, 00:44   #7
Registered User

Join Date: Mar 2009
Location: Currently in Malaysia
Boat: Valiant Esprit 37
Posts: 200
Re: Waypoint management - custom field(s)

Terry is absolutely correct!

I think this is an excellent way to store waypoints, particularly waypoints that are associated with a Cruising Guide. I have setup a few of these for Thailand, the Sunsail Cruising Guides and the 101 Anchorages for Indonesia.

There are a number of benefits in having them in layer files. I view the fact that they can't be changed to be a benefit. You never have to worry about inadvertently clicking on a waypoint and dragging it to a new location. Another advantage of layers is that you can very easily hide and display all the waypoints in the layer with one click. This helps keep the display from being so cluttered when planning longer trips or creating a new route.

It also allows you to remove these waypoints from the Route Manager waypoint file so you don't have 5000 waypoints there, making it easier to maintain your personal and temporary waypoints.

When I give a waypoint a name linked to a Cruising Guide, I try to give all the waypoints for that guide a prefix that indicates the Cruising Guide that it references. If I have two cruising guides that have the same anchorage listed, they are easily identified by the prefix. Here's an example of a waypoint name for an entry in the 101 Anchorages for Indonesia Guide.

101 #14 Palau Besar 6

The 101 is the prefix I used to identify the 101 Anchorages guide. The #14 is the number of the anchorage that matches the guide. Obviously, Palau Besar is the name of the anchorage. The number 6 in this example is a little piece of additional data that is included in the Cruising Guide. It is a number 1-10 used in the guide book to indicate the relative quality of the anchorage. Since it was included in the guide book, I felt it made sense to include it in the waypoint name so while planning a route I would easily be able to see if the anchorage was questionable. If the anchorage is questionable, I can refer to the guide book to see if I really want to use it as an overnight anchorage.

In the waypoint properties in the link section for the Link Description, I use the name of the Cruising Guide, In this case 101 Anchorages of Indonesia.

Now, in the URL field I include the location of the actual PDF file of the Cruising Guide. For lack of a place in an OpenCPN directory that I could depend on where it might not get overridden or deleted during an update, I just copied all the cruising guides to the C: drive root folder. You could pick any folder to store the guides but you need to correctly specify the path to the files, C: was easy!!

I always try to use a PDF file for a Cruising Guide. If it is not in PDF format, I convert it to PDF for my use. I've been working on doing this for the Sail Malaysia guide which is distributed in a DOC file. When I finally finish setting up all the waypoint with names and anchorage numbers(they seem to change them every year), I'll convert the DOC file to a PDF. There is a reason I use the PDF format. The PDF format allows you specify a page number that will be opened when the link is clicked. Here is the URL associated with the Pulau Besar anchorage listed above.

C:/Indonesia - 101 Anchorages.pdf#page=16

When you right click on a layer waypoint, you can select Properties and when you click the link, it opens the PDF file to page=16 where the description of the anchorage is located. Note: The page number is the actual page number of the PDF file and may not be the page number in the guide if the PDF file includes a cover picture or preface in the beginning. It may also change if the guide book has advertisements that are not given a page number in the guide.

I never found a perfect way to edit the GPX file easily. I generally start by getting all the waypoints on the chart with proper names and locations. I don't worry about the link names and URL's until all the waypoints are setup. Then I export all of the waypoints to a GPX file and from there manually edit the file to add link names and URL's. I found that using a GPX editor caused a problem as it wouldn't accept the values used by OpenCPN for the style of Icon. I only use 2, the standard Anchorage Symbol and the Dive Flag symbol for anchorages that are also good dive sites. The GPX editor I tried to use choked on the values used by OpenCPN. Maybe Terry has some ideas on this.

I've always thought it would be great if we could find a way to share these GPX files and their corresponding Cruising Guides. I'd also like to see OpenCPN have a directory we could use to store the Cruising Guides that we know will never be deleted or overwritten so everyone could put them in the same place. That would also allow us to only need to specify the PDF name and page number of the guide and OpenCPN could then supply the path name.

Good luck!!

Gene
reflectionsv37 is offline   Reply With Quote
Old 22-06-2017, 01:13   #8
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 862
Re: Waypoint management - custom field(s)

Gene said "The GPX editor I tried to use choked on the values used by OpenCPN. Maybe Terry has some ideas on this."

Perhaps it was an old version of .gpxEditor?

Attached file is of three waypoints; an anchorage symbol, a dive flag symbol and a sand symbol.

They were combined into the one .gpx file with .gpxEditor.

The anchorage waypoint has a link to a .pdf file on my computer (which won't work for you but does work for me).

Perhaps others might have a problem?

Terry
Attached Files
File Type: gpx TestWP.gpx (1.7 KB, 22 views)
__________________
VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote
Reply

Tags
men

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
Raymarine C-Series Waypoint and Route Import + Export scotte Marine Electronics 42 18-09-2012 20:30
Waypoint Security sinbad7 OpenCPN 0 28-02-2011 06:58
Fugawi Route/Waypoint Question ssullivan Navigation 7 03-01-2007 13:27
Waypoint Lists GordMay Navigation 0 04-11-2005 04:38

Advertise Here


All times are GMT -7. The time now is 18:26.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.