Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-08-2012, 11:57   #16
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
Re: Integration with QtVlm - Data files and import/export

Quote:
Originally Posted by sinbad7 View Post
maitai..

Sorry to interrupt you guys trying to improve the integration,BUT, using the Routing function,having first selected and downloaded the Grib area,I keep getting the attached message. The grib is set for 8 days and the area marcation covers the indicated route. (Own boat - POI-1)

I have adjusted the length of the route down to a day or two sailing but still the same error message. What am I doing wrong?

Tore
Tore

Please ask these questions in the dedicated qtVlm thread in the Navigation forum. I'm sure Maitai is happy to answer you there.
Show some respect for JesperWe, and his attempt to coordinate programming efforts and integration with qtVlm.
Thank you for your cooperation.

Thomas
__________________

__________________
cagney is offline   Reply With Quote
Old 02-08-2012, 14:50   #17
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: Integration with QtVlm - Data files and import/export

OK, I have pushed some initial code to https://github.com/JesperWe/OpenCPN/tree/KMLSupport

It only has 40% of the functionality so far but importantly you can Copy a route. (Cursor on route, Context menu > Route > Copy to QtVlm)

Copy to Google Earth will give you a pure KML without the QtVlm <extradata>

Paste of waypoints works too, including merging of <extradata> onto existing waypoints.

Copy waypoint (simple) and paste/merge track/route (lots of work) left to do.

Too bad you will be using QtXml to parse, otherwise you could have taken some of my parser code
__________________

__________________
JesperWe is offline   Reply With Quote
Old 02-08-2012, 16:33   #18
Registered User

Join Date: Jan 2012
Posts: 450
Re: Integration with QtVlm - Data files and import/export

Don't worry with QtXml, it will do the job (probably after some contorsions, ok). I'll be on that one next week
__________________
maitai is offline   Reply With Quote
Old 03-08-2012, 02:26   #19
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: Integration with QtVlm - Data files and import/export

Here's a question for you: I suppose that when you export your routing, there will be a lot of points that are the calculated intermediate points between the original route's waypoints.

Is it OK that I assume that any points that has <extradata> tags in their description are original route points, and the points between them will have no content in their <description>?

(I need a way to tell the route points and the routing points apart...)
__________________
JesperWe is offline   Reply With Quote
Old 03-08-2012, 02:36   #20
Registered User

Join Date: Jan 2012
Posts: 450
Re: Integration with QtVlm - Data files and import/export

Yes.

In fact there is such a point every "vacation step". In case of a boat-real it is hardcoded to 5mn, I can make that a parameter if needed.

When you have something ready can you send me an XML sample so I can compare with mine and test a bit the iimport? I'll send you my email by PM.
__________________
maitai is offline   Reply With Quote
Old 03-08-2012, 04:31   #21
Registered User

Join Date: Jan 2012
Posts: 450
Re: Integration with QtVlm - Data files and import/export

In fact there is a subtle issue:

The route almost never passes exactly on a POI. In fact if a POI is within a vacation step (5mn) it is considered as reached, and we head toward the next one. So the route actually passes very close to the POIs, but not exactly on it. This is because since we work with a step of 5mn, it is almost impossible to be exactly on a POI.

That's the reason why when exporting a route in qtVlm, it asks you whether you want to export the POI list, or the vlmPoint list (the details option).

Maybe best is to send you 2 lists separatly? One would be the POIs list to be imported as WPs but not a track/route, and another one containing the vlmPoints that would be the track? Or I can send you only the vlmPoints, but with a tag indicating in each vlmPoint which are the current coordinates, name, etc of the target POI. A bit like the route's log in route->edit.

When you send me back the route I need just the POI list in fact.
__________________
maitai is offline   Reply With Quote
Old 03-08-2012, 04:41   #22
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: Integration with QtVlm - Data files and import/export

I like the second alternative, but with small modification: A tag on every vlmPoint makes the logic more complicated. Can you just put a POI tag on the last vlmPoint before a POI should be reached? (And also one on the very first vlmPoint corresponding to the starting POI)

Then I import the pointlist as a track, and for each point with the POI tag I can check and merge data against the route waypoints.
__________________
JesperWe is offline   Reply With Quote
Old 03-08-2012, 04:49   #23
Registered User

Join Date: Jan 2012
Posts: 450
Re: Integration with QtVlm - Data files and import/export

Oki then.

The first vlmPoint and the first POI (which maybe is not a POI, but the boat), are on the same position exactly. We cannot arrive exactly on a POI, but there is no problem to start exactly from a position.
__________________
maitai is offline   Reply With Quote
Old 03-08-2012, 11:25   #24
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: Integration with QtVlm - Data files and import/export

Moving forward fast....



Routes and tracks from QtVlm and Google Earth can be pasted straight into O!
Single waypoints too.
QtVlm settings on the routes are preserved, even if a route is originally created in O, Copied to QtVlm, and then pasted back.
__________________
JesperWe is offline   Reply With Quote
Old 08-08-2012, 10:31   #25
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: Integration with QtVlm - Data files and import/export

Success! Bidirectional copy/paste between O and QtVlm.
The actual weather routing does not make sense to me for now, but I probably need to learn QtVlm better :-).
But the integration works fine! Will be in next beta release.

__________________
JesperWe is offline   Reply With Quote
Old 08-08-2012, 11:00   #26
Registered User

Join Date: Jan 2012
Posts: 450
Re: Integration with QtVlm - Data files and import/export

Yes it's nice, and it copy/paste to GE too

When is the next beta and release of O due?
__________________
maitai is offline   Reply With Quote
Old 08-08-2012, 11:07   #27
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: Integration with QtVlm - Data files and import/export

That's Dave's call. We just did one a week or so ago, but it had a high impact bug in Tides&Currents and some other issues, so would I guess we want a new rather sooner than later.
__________________
JesperWe is offline   Reply With Quote
Old 08-08-2012, 12:10   #28
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: Integration with QtVlm - Data files and import/export

All...

Sooner. Maybe 12 August or so.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 08-08-2012, 15:51   #29
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: Integration with QtVlm - Data files and import/export

Great,but what is the difference between exporting/importing between qtVlm and OCPN and the same using copy/paste? In both cases you have to store the .gpx files somewhere.

My examples attached uses a POI in a suitable place on the map to call up the latest page of route properties.

I have done the same for the Android OruxMaps on my Galaxy S II.

Tore
Attached Images
   
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 08-08-2012, 16:30   #30
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: Integration with QtVlm - Data files and import/export

Here is another optimized route exported/imported to OruxMaps covering the stretch English Channel to Gibraltar Strait. I have the same for OCPN.

Tore
Attached Thumbnails
Click image for larger version

Name:	2012-08-08 19.25.03.jpg
Views:	109
Size:	357.6 KB
ID:	44559   Click image for larger version

Name:	ScreenHunter_202 Aug. 08 19.43.jpg
Views:	104
Size:	326.0 KB
ID:	44560  

__________________

__________________
"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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 16:09.


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.