Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-11-2013, 09:09   #16
Registered User

Join Date: May 2012
Posts: 405
Re: DR Plugin - splitting up GPX route files

To avoid confusion I have started a new thread - DR construction using the Route Manager.

Mike

p.s. I am only hacking this stuff for my own education. But ... I do see a need for constructing DR positions along a route. And ... then I will be looking at the construction of EP positions using tidal current data! Looking being the operative word!
__________________

__________________
Rasbats is offline   Reply With Quote
Old 08-05-2015, 06:24   #17
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,356
Re: DR Plugin - splitting up GPX route files

What has happened to this plugin? Perhaps it can be updated/enhanced by someone?
__________________

__________________
rgleason is offline   Reply With Quote
Old 30-10-2015, 08:45   #18
Registered User

Join Date: May 2012
Posts: 405
Re: DR Plugin - splitting up GPX route files

Rick ...

GitHub has been updated and DR_pi now compiles standalone for O 4.1.925+. Cmake alone always found WxWidgets 2.8.12 so I needed to use Cmake-GUI, set for 3.0.2. Still not able to build an installer package.

Modified CMakeLists.txt using Pavel's work as a template.

Mike
__________________
Rasbats is offline   Reply With Quote
Old 30-10-2015, 11:48   #19
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,356
Re: DR Plugin - splitting up GPX route files

Great Mike. I'll git and give it a try! Thanks so much.
__________________
rgleason is offline   Reply With Quote
Old 02-11-2015, 16:40   #20
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,356
Re: DR Plugin - splitting up GPX route files

Mike, It compiled successfully and I was able to package it.
I took a screenshot. I tried to put in a route name that actually exists and shows in Opencpn, and tell it to make a gpx with at 2 knots with 1 hour increments.
The plugin prompted for a name for a gpx file and then said it failed to load that file (?)

Have I got the process somewhat messed up here?
Attached Thumbnails
Click image for larger version

Name:	DR-Plugin.png
Views:	67
Size:	156.7 KB
ID:	112127  
__________________
rgleason is offline   Reply With Quote
Old 03-11-2015, 01:46   #21
Registered User

Join Date: May 2012
Posts: 405
Re: DR Plugin - splitting up GPX route files

As it stands the DR plugin is editing gpx files that have been saved on your pc. The route name is the name of the route within the GPX file.

Use Route Manager to export the route GPX.
Open DR and set the parameters.
Using DR_pi (Generate) select the GPX you exported.
With the second file dialogue save the GPX+DR as a different GPX file.
Use Route Manager to import the route + DR positions.

Previous discussion centred on building this capacity into route manager. With the enhancements made to the API recently it may be possible to avoid all the file read/save business.

The logic behind creating DR positions over a multi-leg route may be a useful start for someone working on an OpenCPN-Draw DR solution.

Mike
__________________
Rasbats is offline   Reply With Quote
Old 03-11-2015, 03:39   #22
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,356
Re: DR Plugin - splitting up GPX route files

Thankyou Mike. I think I will put your Readme-Instruction above in a file.

Your observation that the code might be useful for creating DR positions over a multileg route might be useful in Opencpn-Draw is noted. Hope jon sees this. Can you explain your DR idea a little more completely? Thanks so much for your effort.
__________________
rgleason is offline   Reply With Quote
Old 03-11-2015, 05:07   #23
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,356
Re: DR Plugin - splitting up GPX route files

Opencpn Beta File Thingie rguser rgpass
4.1.1022 PI Win directory
added DR_pi-0.1-ov4.1.1022-win32

For testing. It uses external routes in gpx.
First save an Opencpn route out to gps.
Then use it in the plugin.
This plugin was developed with an earlier API, so it can now be modified to use internal O routes...
__________________
rgleason is offline   Reply With Quote
Old 06-11-2015, 01:32   #24
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 883
Re: DR Plugin - splitting up GPX route files

Rick,
I have seen this and do have an idea of how to make it work in ocpn_draw_pi, however, I am currently trying to get exclusion/inclusion/none boundary code working and displaying so that this can then be used with the watchdog plugin. I think I will then have to do the watchdog plugin stuff so that it is usable. So I am afraid you will have to bear with me for a little while as I am slowly getting through the stuff and back up to speed after the cruise.

Can someone create a flyspray item for this?

Jon

Quote:
Originally Posted by rgleason View Post
Thankyou Mike. I think I will put your Readme-Instruction above in a file.

Your observation that the code might be useful for creating DR positions over a multileg route might be useful in Opencpn-Draw is noted. Hope jon sees this. Can you explain your DR idea a little more completely? Thanks so much for your effort.
__________________
jongough is offline   Reply With Quote
Old 06-11-2015, 11:08   #25
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,356
Re: DR Plugin - splitting up GPX route files

Thanks Jon, I totally understand and will post a tracker item so we keep the idea. I am glad you understand it.
__________________
rgleason is offline   Reply With Quote
Old 02-05-2016, 06:04   #26
Registered User

Join Date: May 2012
Posts: 405
Re: DR Plugin - splitting up GPX route files

There is a report of DR_pi not working with the Mac OS.

Would appreciate it if the compiler of DR_pi for Mac could confirm it runs ok with version 4.2 of OpenCPN for Mac.

Thanks.

Mike
__________________
Rasbats is offline   Reply With Quote
Old 02-05-2016, 10:53   #27
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: DR Plugin - splitting up GPX route files

Quote:
Originally Posted by Rasbats View Post
There is a report of DR_pi not working with the Mac OS.

Would appreciate it if the compiler of DR_pi for Mac could confirm it runs ok with version 4.2 of OpenCPN for Mac.

Thanks.

Mike
Regarding the DR_pi file from http://opencpn.navnux.org/plugins/dr...Plugin_0.1.pkg it seems someone has forgotten to use the "install_name_tool" command when compiling. So this DR_pi looks at the wrong place for the wxWidgets libraries and does not start therefore.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 04-05-2016, 05:51   #28
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: DR Plugin - splitting up GPX route files

That is of course the easiest way to fix a problem.

Gerhard
Attached Thumbnails
Click image for larger version

Name:	404.png
Views:	48
Size:	41.1 KB
ID:	123692  
__________________
CarCode is offline   Reply With Quote
Old 04-05-2016, 06:38   #29
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: DR Plugin - splitting up GPX route files

Gerhard...
Thank you for discovering that the CDN takes time to synchronize the download endpoints, we wouldn't know that without your help.

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Reply

Tags
plug, route

Thread Tools
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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 06:04.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.