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 27-06-2018, 19:48   #1
Registered User

Join Date: Mar 2016
Location: San Francisco
Boat: Morgan 382
Posts: 2,936
Reduce number of waypoints in route?

Is there a way to reduce the number of waypoints in a route? Something that would reduce the points based on an acceptable crosstrack error, vs just removing them at a time interval.
__________________
-Warren
wholybee is offline   Reply With Quote
Old 28-06-2018, 03:03   #2
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,208
Re: Reduce number of waypoints in route?

Warren...
Do you really speak about routes (= The manually created plan of where you would like to go, which usually has waypoints only in places where the author, a human, decided to place them)? If yes, there is no such automatic logic to change them as we anticipated the author knew what he's doing.

There is a simplification logic for recorded tracks, doing pretty much what you describe, accessible by right-clicking a track in the route and waypoint manager. It is simple to convert a route to track by editing a GPX file in a decent text editor. The reverse - generating a route from track, is directly possible in OpenCPN.

I would like to see a route that needs such treatment to understand your need better.

Pavel
nohal is offline   Reply With Quote
Old 28-06-2018, 07:54   #3
Registered User

Join Date: Mar 2016
Location: San Francisco
Boat: Morgan 382
Posts: 2,936
Re: Reduce number of waypoints in route?

The specific need is for routes created by weather routing. If I recall (not on boat right now) those are first created as tracks, so this should work for me. Thank you.

I would also like to do the same for a great circle route created by the route plugin. If that isn't created as a track, I can edit the gpx file.
__________________
-Warren
wholybee is offline   Reply With Quote
Old 28-06-2018, 08:50   #4
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,208
Re: Reduce number of waypoints in route?

Quote:
Originally Posted by wholybee View Post
The specific need is for routes created by weather routing. If I recall (not on boat right now) those are first created as tracks, so this should work for me. Thank you.

I would also like to do the same for a great circle route created by the route plugin. If that isn't created as a track, I can edit the gpx file.
Well, for routes created by weather routing that should probably be done by weather routing plugin during the actual routing process to maintain accuracy of the calculations...
nohal is offline   Reply With Quote
Old 28-06-2018, 17:46   #5
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Reduce number of waypoints in route?

In wxroute, pick Export. It exports to Track manager. Figure out which route in Track manager. The right click and pick "Reduce Data"


Not having much luck with the Great Circle Route Plugin by saltypaws. Can't seem to import a gpx of its route into route and track manager.



I am able to make a great circle route with the built-in route functions. I suppose you could remove wpts from that easily enough. I was trying to export that as a track but there is not adequate data so it just exports a gpx that when imported is brought into the route tab. I guess there is no way to convert it to a route and then reduce data.
rgleason is offline   Reply With Quote
Old 29-06-2018, 04:37   #6
Registered User

Join Date: May 2014
Boat: Shuttleworth Advantage
Posts: 2,268
Images: 2
Re: Reduce number of waypoints in route?

Quote:
Originally Posted by rgleason View Post

Not having much luck with the Great Circle Route Plugin by saltypaws. Can't seem to import a gpx of its route into route and track manager.

I am able to make a great circle route with the built-in route functions. I suppose you could remove wpts from that easily enough. I was trying to export that as a track but there is not adequate data so it just exports a gpx that when imported is brought into the route tab. I guess there is no way to convert it to a route and then reduce data.
This only becomes relevant if you manually sail the GC route. For example if you +/- an electronic pilot or use a wind vane type steering system. Most integrated AP/GPS's sail GC routes by default (check in your GPS settings). So if your AP is sailing to a WP it will adjust accordingly. Any extra WP's introduced are therefore unnecessary. The integrated approach is far superior especially in areas where there is large magnetic variation that changes throughout the journey.

To prove this create a route in OCPN where GC is relevant and it will plot the intermediate WP's (150-220Nm apart). Set the AP to sail to the last WP and it will track through each of the intermediate WP's. Your compass heading will constantly change to cope with the GC routing and the variation.

Also for long passages it is better to know how far you have to go rather than the distance to the next intermediate WP.
Tupaia is offline   Reply With Quote
Old 29-06-2018, 04:57   #7
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Reduce number of waypoints in route?

Quote:
is no way to convert it to a route and then reduce data.
I meant convert it to a Track and then reduce data.

Thanks Tup, those are interesting points, but then you wouldn't use GC routing, just rhumline. I am not so sure my 23 year old autohelm wheelpilot knows Great Circle.

I was just seeing about O functionality.
rgleason is offline   Reply With Quote
Old 29-06-2018, 07:43   #8
Registered User

Join Date: May 2014
Boat: Shuttleworth Advantage
Posts: 2,268
Images: 2
Re: Reduce number of waypoints in route?

Quote:
Originally Posted by rgleason View Post
I meant convert it to a Track and then reduce data.

Thanks Tup, those are interesting points, but then you wouldn't use GC routing, just rhumline. I am not so sure my 23 year old autohelm wheelpilot knows Great Circle.

I was just seeing about O functionality.
Your raymarine autopilot, however old it may be, if linked to GPS, does sail a great circle route with a constantly changing heading if you ask it to steer to a destination waypoint. This applies to any wp even one a very short distance away.

The main difference between GC and RL is that it is impossible for humans and wind vanes to steer a GC because the bearing will constantly change. Also you need a gnomic projection chart to lay off a GC route and most charts are mercator hence you end up with a RL.

If you select GC in OCPN all it does is plot a GC route on a mercator chart. The result is a segmented route with a different bearing for each leg.

So using a GC plot on OCPN is only of any use if you intend to sail manually, or by wind vane to a compass bearing. I suppose on a very long passage it would also allow you to make sure that a GC doesn't cause you to hit anything slightly off of the RL.

If you are using a GPS and are intending to ask your AP to steer to a WP then simply enter a single WP at your destination and it will by default sail a GC route.
Tupaia is offline   Reply With Quote
Old 29-06-2018, 13:25   #9
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Reduce number of waypoints in route?

Quote:
Originally Posted by Tupaia View Post
Your raymarine autopilot, however old it may be, if linked to GPS, does sail a great circle route with a constantly changing heading if you ask it to steer to a destination waypoint. This applies to any wp even one a very short distance away.

The main difference between GC and RL is that it is impossible for humans and wind vanes to steer a GC because the bearing will constantly change. Also you need a gnomic projection chart to lay off a GC route and most charts are mercator hence you end up with a RL.

If you select GC in OCPN all it does is plot a GC route on a mercator chart. The result is a segmented route with a different bearing for each leg.

So using a GC plot on OCPN is only of any use if you intend to sail manually, or by wind vane to a compass bearing. I suppose on a very long passage it would also allow you to make sure that a GC doesn't cause you to hit anything slightly off of the RL.

If you are using a GPS and are intending to ask your AP to steer to a WP then simply enter a single WP at your destination and it will by default sail a GC route.

Thanks for that Good, information. I hadn't thought at all about this. I wonder if there is a place for it in the manual? What would we call it? Where would it fit? How about
"GPS and Autopilots following Great Circle Routes"?
rgleason is offline   Reply With Quote
Reply

Tags
route


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
Waypoints and Route Points fgd3 OpenCPN 15 23-11-2016 23:09
Send gpx route/waypoints to GPS 76 ?? 610bob Navigation 1 14-08-2013 13:11
Waypoints Disappear when Route Eyeball Deselected ? iduff OpenCPN 6 25-08-2011 08:01
Route Planning Using Existing Waypoints edsailing OpenCPN 5 24-08-2011 02:38
Creating Track / Route from Waypoints in OpenCPN sinbad7 OpenCPN 7 23-07-2011 08:15

Advertise Here


All times are GMT -7. The time now is 17:52.


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.