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 28-11-2023, 11:22   #1
ECS
Registered User

Join Date: Sep 2022
Posts: 2
Convert RoutePoint to WayPoint

I have many routes with named route points but the waypoint list is empty. How do I convert route points to waypoints?
ECS is offline   Reply With Quote
Old 28-11-2023, 23:11   #2
Registered User
 
Antipole's Avatar

Join Date: Oct 2019
Location: Emsworth, UK
Boat: Alubat Ovni 395
Posts: 287
Re: Convert RoutePoint to WayPoint

@ECS When you create a routepoint, it exists only in the route (or routes as it is possible to share a routepoint between several routes). When the last route using the routepoint is deleted, the routepoint disappears. Routepoints do not appear in the list of waypoints.

If you first create a waypoint, you can then include it in one or more routes. Such a waypoint exists in the waypoint list as well as in the route.

So you have routes with routepoints you have renamed. Are you wanting to convert these to be free-standing waypoints as well as being used in the routes. This is quite possible using a script in the JavaScript plugin. That is not difficult. But you need to work out what you want to achieve.

Is it just particular routepoints you want to become waypoints? Are their names unique?
Or do you want convert named routepoints in a particular route or all routes into waypoints? All of them? Or just some? Is there a clear distinction in the names of your named routepoints and the automatic names 001, 002, 003, NM001, etc created by OpenCPN? And are any of these routepoints shared between different routes? Might the converted waypoint be shared by more than one route?

So you need to establish what you actually want to achieve. The scripting then becomes more straight forward.
Antipole is offline   Reply With Quote
Old 29-11-2023, 05:55   #3
Registered User
 
CaptTom's Avatar

Join Date: Apr 2004
Location: Southern Maine
Boat: Prairie 36 Coastal Cruiser
Posts: 3,124
Re: Convert RoutePoint to WayPoint

I've found it's easiest to work with GPX files. From the early days of GPS, I've always had multiple GPS receivers and wanted to share waypoints and routes between them. OpenCPN is just another tool which allows me to view, modify and create GPX files full of routes and waypoints. The raw data is the GPX file, not whatever software I happen to be using it with at the moment.

So, export to GPX and fire up your favorite text editor. Preferably one which allows you to run scripts, macros or at least a robust "replace all" function. Edit each route, waypoint and route point to your heart's content. Once you've got a library of GPX files you can import them into whatever device or app you want to use.

One thing I've found very useful is a little macro I set up in my text editor to prune out all the extraneous data that OpenCPN adds to the GPX file. All I really want in there is the name, lat/long, description and, for route points, the type.

For OpenCPN, the type can be "WPRL" or "WPT." I think you can just change the type to WPT and import. But it's been a while, you should probably look it up to verify.

Once you've learned to manipulate the GPX files, you'll find a thousand ways to streamline your route planning.
CaptTom 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
Raymarine C-Series Waypoint and Route Import + Export scotte Marine Electronics 42 18-09-2012 20:30
Cheap Waypoint in Melbourne, Florida zds Atlantic & the Caribbean 15 04-04-2011 16:42
Waypoint Security sinbad7 OpenCPN 0 28-02-2011 05:58
Fugawi Route/Waypoint Question ssullivan Navigation 7 03-01-2007 12:27
Waypoint Lists GordMay Navigation 0 04-11-2005 03:38

Advertise Here


All times are GMT -7. The time now is 02:19.


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.