Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-07-2012, 02:44   #151
Registered User
 
globalkeith's Avatar

Join Date: Sep 2010
Location: Zhuhai, China
Boat: Prout G55
Posts: 76
Re: Route Planning with GRIB - Work in Progress

Quote:
Originally Posted by nohal View Post
Keith...
Whatever I could merge is merged in the main tree, the weather routing part was too intrusive to merge and it has to be reimplemented as a plugin. If you want Pjotr's code, let me know (it's incompatible with the main source tree though)

Pavel
Bit busy with the OSM plugin at the moment, as you know, but certainly a good project for next year. If you have a mo, can you check out the osm_pi thread, got a bit of a C++ problem I'm sure you could help me with.
__________________

__________________
globalkeith is offline   Reply With Quote
Old 05-07-2012, 12:04   #152
Registered User

Join Date: Feb 2010
Posts: 619
Re: Route Planning with GRIB - Work in Progress

The bad news is that for the forseeable future the development window seems closed for me... (unless SW Monsoon does not stop this year, or something like that...).

The good news is that I used 2.5.1318 a lot underway and I came to like it. I got so much used to browsing the GRIBs via the synchronized route perspective, that I never use the GRIB display control anymore, except for pointing to the file.

So it is a bit of chicken-and-egg dilemma. The 2.5.1318 is intrusive to OCPN core, no doubt. But making a detached route-planning plugin will have its caveats, too. For one, it is beyond my ability today. Secondly, a completely new functionality module will create many (too many?) new temptations for the author. An example is QtVlm 3.2-3, which I cannot stop admiring for its superb functionality in interactive planning and feedback (once one gets to actually use it - I can _rarely_ repeat that success in daily needs). But once I have it working, it is brillant!

I did not use the GRIB currents from BSH enough to see how to use them best. Technically, this works in 2.5.1318, and for the sake of completeness it should probably be used, even given that some serious people say that interpolating tidal currents is too tricky to be done lightly.

So, on the constructive note, I hope that someone will develop a simple route properties plugin, more or less exactly as it is now: a simple table of waypoints, open for many properties for each one, coming from the static route definition, or computed from other available sources, most notably - GRIBs and tidal data. I definitely believe this is how I like to see it.

Cheers,

P.
Attached Thumbnails
Click image for larger version

Name:	routeplan.jpg
Views:	131
Size:	175.9 KB
ID:	43074  
__________________

__________________
PjotrC is offline   Reply With Quote
Old 13-07-2012, 02:48   #153
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: Route Planning with GRIB - Work in Progress

There is an alternative approach to routing.
Use QtVlm!
See this tread http://www.cruisersforum.com/forums/...are-74738.html
Instructions in English here QtVlm/en - VlmWiki

Create and optimize a route in QtVlm. Export it to OpenCPN.
1 in QtVlm Routes->Export route-> "the route"
2 give the route a name ending in .gpx
3 only export the POI:s
4 Import as usual to OpenCPN

QtVlm don't seem to recognize .gpx for import, so creating a route in O and optimizing it in QtVlm does not work - yet!

Thomas
__________________
cagney is offline   Reply With Quote
Old 13-07-2012, 04:50   #154
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: Route Planning with GRIB - Work in Progress

I hope someone can put qtVlm and OCPN together. Sadly they use different frameworks, OCPN uses wxWidgets and qtVlm uses Qt.

qtVlm has a far better Grib functionallity than OCPN and it provides what a sailor needs: A real route planning using Grib and Polars. Furthermore it has a far better user interface than OCPN. It lacks of seamaps however.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 13-07-2012, 13:43   #155
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: Route Planning with GRIB - Work in Progress

Thomas..

Re your #153. GpsBabel does the conversion .gpx .xml and v.v.
I imported an old .gpx route I converted to .xml with GpsBabel and it works a treat.

However, I am having great difficulty creating a route with qtVlm which I find is not intuitive in the way I am used to? I can creata waypoints but how do you turn it into a route connecting the wptīs?

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 13-07-2012, 16:10   #156
Registered User

Join Date: Jan 2012
Posts: 450
Re: Route Planning with GRIB - Work in Progress

There are several ways to create a route in qtVlm. You can create a routing and then convert it to a route, that's usually what you do on open-sea/rather long distance. Then you can edit the route, modify/optimize/simplify/etc.
If you are to create the route manually, then you have to create the route first . Then you have to add POIs (i.e. WPs) to it. To do so you have to right-click on an existing POI and add it to the route. The order is alphabetical, so it all depends on the POI name. POI_1 will be reached before POI_2 but after POI_03... Such a manually created (or imported) route can also be optimized/modified/etc. You can always move a POI (=Point Of Interest) with shift-right-click&drag. There are many other possibilities...
__________________
maitai is offline   Reply With Quote
Old 13-07-2012, 18:03   #157
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: Route Planning with GRIB - Work in Progress

Maitai..

OK,finally I think I managed... Looks great!!!

How do I get the origianl date/time to display.
How do you export in Track modus with times?

Thanks

Tore
Attached Thumbnails
Click image for larger version

Name:	ScreenHunter_156 Jul. 13 21.02.jpg
Views:	105
Size:	198.8 KB
ID:	43401  
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 13-07-2012, 20:08   #158
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: Route Planning with GRIB - Work in Progress

Piotr...

The latest version of OpenCPN is not able to activate POIīs containing links to local files. For example C:\INSTALLED PROGRAMS\TRIP PLANNING\qtVlm.exe does not work.

Suggestions?

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 14-07-2012, 01:57   #159
Registered User

Join Date: Jan 2012
Posts: 450
Re: Route Planning with GRIB - Work in Progress

Quote:
Originally Posted by sinbad7 View Post
Maitai..

OK,finally I think I managed... Looks great!!!

How do I get the origianl date/time to display.
How do you export in Track modus with times?

Thanks

Tore
When exporting a route in gpx format qtVlm sets the <time></time> tag as it should, so this information is in the gpx file. I don't know if ocpn can display it though.
__________________
maitai is offline   Reply With Quote
Old 14-07-2012, 04:57   #160
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: Route Planning with GRIB - Work in Progress

Quote:
Originally Posted by sinbad7 View Post
Piotr...

The latest version of OpenCPN is not able to activate POIīs containing links to local files. For example C:\INSTALLED PROGRAMS\TRIP PLANNING\qtVlm.exe does not work.

Suggestions?

Tore
There are no problems with links to local or external data files in 3.0.2.
But...
Links to executive files have never been supported.
Try to paste your link into a browser........
Thomas
__________________
cagney is offline   Reply With Quote
Old 14-07-2012, 07:18   #161
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: Route Planning with GRIB - Work in Progress

Maitai..

Unless I have misunderstood,the times entered in the route is really meaningless as you have no idea about arrival times at the various GRIB situations.

Would it not be possible to enter date/time at the start of the trip and let the GRIB and Polar settings calculate ETA at each of the waypoints? I would also here like to have a simulation option to create an animation of the boatīs movements.

The exported .gpx route only contains repeated departure time and not the times entered manually in the route.

Date/time is only displayed in Track modus in OpenCPN. When using previous trips for planning purposes,the Track modus is always used,showing waypoints as well as actual date/times. Would be very useful if your planning program also could display imported .xml (or better,.gpx) Tracks and also export them as Tracks.
OpenCPN is able to create Routes from Track files.

A very useful program indeed.

Tore
Attached Thumbnails
Click image for larger version

Name:	ScreenHunter_157 Jul. 14 10.22.jpg
Views:	95
Size:	127.6 KB
ID:	43414   Click image for larger version

Name:	ScreenHunter_158 Jul. 14 10.22.jpg
Views:	88
Size:	37.3 KB
ID:	43415  

Click image for larger version

Name:	ScreenHunter_159 Jul. 14 10.23.jpg
Views:	93
Size:	33.4 KB
ID:	43416   Click image for larger version

Name:	ScreenHunter_160 Jul. 14 10.23.jpg
Views:	89
Size:	113.3 KB
ID:	43417  

__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 14-07-2012, 08:30   #162
Registered User

Join Date: Jan 2012
Posts: 450
Re: Route Planning with GRIB - Work in Progress

Quote:
Unless I have misunderstood,the times entered in the route is really meaningless as you have no idea about arrival times at the various GRIB situations.

Would it not be possible to enter date/time at the start of the trip and let the GRIB and Polar settings calculate ETA at each of the waypoints? I would also here like to have a simulation option to create an animation of the boatīs movements
I just dont understand your question since this is just what the route is doing. You can "animate" the route by moving the grib's date.

I suspect you are not doing it the correct way, so can you describe in detail how you set-up your route?
__________________
maitai is offline   Reply With Quote
Old 14-07-2012, 08:54   #163
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: Route Planning with GRIB - Work in Progress

maitai..

I think you misunderstood. I mean animating/moving your boat along the route at speeds regulated by the Grib and Polar setting and calculating new ETAīs for each waypoint.

I know the route will change itīs shape when the Grib is altered but that was not my question.

Say you wish to know the arrival times at various points en route at a given GRIB or/and Polar setting. How would you do that?

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 14-07-2012, 09:14   #164
Registered User

Join Date: Jan 2012
Posts: 450
Re: Route Planning with GRIB - Work in Progress

Ok. Once more then:

-Close qtVlm
-Delete POI.dat so you start from zero
-Open qtVlm
-Move your boat where you want the route to start (you can start a route from a POI but let's keep it simple)
-Open a grib file covering your position, or download it from qtVlm (vlm gribs)
-Create a new route, leave all options as they are
-Insert a new POI somewhere (not 3000 milles away of course, otherwise the grib will not be long enough to reach it). To do that one good way is to right-click somewhere on the map, select "Place a new mark". Change the name of the POI to POI_001 for instance. Assign it to the route before leaving the POI dialog. Click OK to validate you new POI.
-Repeat the last step as many time as you want, just changing the name of the POI so qtVlm will know in which order they are to be reached
-Your route is done and should display ETAs according to the grib and polar. You can move one POI (shicht-click/drag) and see the ETAs changing. You can move the grib's date and see where you will be at a given date, etc.

OR

You can just insert your destination point (no need to create a route), and ask for a routing from your boat to this point (routing->create a routing). When the routing is finished edit it, and convert it in a route.
__________________
maitai is offline   Reply With Quote
Old 14-07-2012, 09:34   #165
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: Route Planning with GRIB - Work in Progress

maitai..

Thanks for your in-depth explanation. You should create a more detailed help file.
The program is not so intuitive,perhaps the French intuition is different?

I have set up a special POI for MY area including helpful tools,mostly located on my PC,and I have made a special link to qtVlm. In this way I can have a split screen where I can have a simultaneous view of both OpenCPN as well as qVlm.

I will experiment a little more with qtVlm to learn the finer point of it.

Thanks again

Tore
Attached Thumbnails
Click image for larger version

Name:	ScreenHunter_161 Jul. 14 12.05.jpg
Views:	101
Size:	150.9 KB
ID:	43424  
__________________

__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Route Planning Using Existing Waypoints edsailing OpenCPN 5 24-08-2011 03:38
iPad Route Navigation Cotemar Navigation 3 05-05-2011 07:25



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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.