Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 17-01-2022, 10:51   #1
Registered User

Join Date: Jan 2022
Location: Antibes, FRANCE
Boat: Sunfast 3200
Posts: 2
Route Properties Bug (5.6.0)

In creating a route for a distance race (out to a mark and return) I used the same waypoints for some of the outward and return legs. I noticed that the route properties was missing some of the legs.
To test I created a simple search pattern route - when I started to backtrack using the same waypoints, the bug appeared with legs corrupted.
Attached are screen shots to assist if anyone can help.
In the interim I'm having to ensure I don't use a waypoint more than once on a route, not ideal.
Attached Files
File Type: pdf OpenCPN Route Properties Bug.pdf (437.9 KB, 29 views)
sadiiqi is offline   Reply With Quote
Old 17-01-2022, 13:59   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 6,644
Re: Route Properties Bug (5.6.0)

By "backtrack", do you mean:
a)Create another route using the same points (in reverse)
or
b)Append to the route, starting at the end, and use the existing points in reverse?


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 17-01-2022, 14:04   #3
Registered User

Join Date: Jan 2022
Location: Antibes, FRANCE
Boat: Sunfast 3200
Posts: 2
Re: Route Properties Bug (5.6.0)

backtrack - b).
Am creating a route for a race - out to a distant mark, round it, and return using the same WP.
sadiiqi is offline   Reply With Quote
Old 17-01-2022, 18:09   #4
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 6,644
Re: Route Properties Bug (5.6.0)

OpenCPN 5.60 does not fully support re-use of routepoints within a single route. The function was judged to be not frequently used, so not worth the extra coding and test time. Some situations work fine, others not so. One can imagine some truly pathological routes to stress the logic, but these have no real useful navigational utility value.
In practical navigation use, if you truly mean to retrace a route in reverse, the simple and quick solution is right-click->Reverse Route.


Dave
bdbcat is offline   Reply With Quote
Old 18-01-2022, 04:14   #5
Registered User
 
Antipole's Avatar

Join Date: Oct 2019
Location: Emsworth, UK
Boat: Alubat Ovni 395
Posts: 180
Re: Route Properties Bug (5.6.0)

I have done extensive testing of this under OCPNv5.6 on MacOS Monterey for the purposes of developing my Housekeeper script. For the creation of the routepoints themselves I have seen no issues and have been unable to fault OpenCPN on this aspect.

The issue is with the derived parameters and here OpenCPN makes mistakes. It is likely that when it needs to derive, say, bearing from 003 -> 004 and there is more than one occurrence of 003 and/or 004, it gets confused about which occurrence to use. I assume, although have not tested, that OpenCPN will navigate the route correctly. It is the derived attributes in the properties window that it gets wrong.

If you subsequently delete or remove points in such a route, you can end up with successive repeating points e.g. A -> B -> B ->A and, in this case, if you remove the Bs you can even get A -> A which is of course nonsensical. OpenCPN allows this without complaining. Housekeeper cleans these up and, in the last case, will offer to delete the nonsensical route.
Antipole is offline   Reply With Quote
Old 18-01-2022, 06:11   #6
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 16,196
Images: 2
Re: Route Properties Bug (5.6.0)

Maybe Opencpn should simply not allow selection of a WPT twice?

Should this be entered into tracker or issues?
rgleason is offline   Reply With Quote
Old 18-01-2022, 08:25   #7
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 6,644
Re: Route Properties Bug (5.6.0)

Yes, for reference and collective memory.
bdbcat is offline   Reply With Quote
Old 18-01-2022, 09:14   #8
Registered User
 
Antipole's Avatar

Join Date: Oct 2019
Location: Emsworth, UK
Boat: Alubat Ovni 395
Posts: 180
Re: Route Properties Bug (5.6.0)

Quote:
Originally Posted by rgleason View Post
Maybe Opencpn should simply not allow selection of a WPT twice?

Should this be entered into tracker or issues?
I see several uses for a closed route.

I and others use it to mark out an area such as a firing range. Yes OCPN Draw could do this but a quick closed route can be simpler.

Others create a closed route to demark an area and export it as a GPX file for generating mbTiles of satellite images or even Navionics chart tiles (dubious use but yesterday I saw it part of a recipe somewhere on this forum).

The problem only effects the Properties window - not the use of the route - I think. Tell me if that is wrong.

So perhaps that window should include a warning that the route contains repeated use of routepoints and the derived data (bearings, ties etc.) will probably be wrong. This is not ideal but, as Rick says, it is a rare situation and probably best to leave the existing uses available. After all, if you use it to mark an area, you will not be interested in the derived data anyway.
Antipole is offline   Reply With Quote
Old 18-01-2022, 09:27   #9
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 6,644
Re: Route Properties Bug (5.6.0)

Antipole...


As I said, some re-use of points is OK, some not.
Simple closed routes, as used to demark an area for whatever reason, work fine. Properties info seems accurate to me.


I have a hard time thinking of the practical application for other cases of point reuse.


I suppose we could write condition code to allow this one use-case (simple route closure, last point is first point), and disallow all others. Something to discuss, anyway.


Dave
bdbcat is offline   Reply With Quote
Reply

Tags
rope, route

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
Bug Report: Arrow key scrolling not working in Track Properties dialog jim326 OpenCPN 0 04-08-2016 07:40
Bug in waymark/properties/description text entry kas_1611 OpenCPN 11 30-05-2015 05:52
Route Properties Detail dseddn OpenCPN 10 15-06-2014 22:08
Route Properties won't take departure time ASappenfield OpenCPN 1 07-06-2012 22:55
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31

Advertise Here


All times are GMT -7. The time now is 12:31.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.