Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 30-03-2011, 06:05   #121
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 333
Re: Google Earth Plugin

Thanks that worked...unix/linux/mac systems are soo much simpler...trying to stay polite...

Many thanks, ciao

/ch
__________________

__________________
sailias is offline   Reply With Quote
Old 30-03-2011, 08:28   #122
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 333
Re: Google Earth Plugin

Greets:

Thanks for the tip that did the trick. However when I launch the plugin the screen comes up and remains empty, GE is launched automatically. Ive tried different settings and none seem to render a GE image in the separate pane. What is further interesting is that when i close the screen by pressing the icon and then zoom to a different position or scale and try to relaunch the viewer, it fails to start GE. Both GE and OPCN are latest release running on native XPSP3. Same effect on vitural machine under linux.

Screen shot attached of settings

[IMG]file:///C:/Documents%20and%20Settings/chris123/My%20Documents/My%20Pictures/ge_pluggin_settings.GIF[/IMG]ngs.
__________________

__________________
sailias is offline   Reply With Quote
Old 30-03-2011, 08:31   #123
Registered User
 
sailias's Avatar

Join Date: Mar 2010
Location: Canada
Boat: On the Hard
Posts: 333
Re: Google Earth Plugin

Apologies...that image was not very helpful. Guess I have to figure that one out too..

/ch
__________________
sailias is offline   Reply With Quote
Old 30-03-2011, 08:40   #124
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: Google Earth Plugin

sailias,
looks like the same problem Gilletarom was reporting. I can't reproduce it on any machine available here.
Try to send me your logfile, maybe I will get some clue what's up. Address in the OCPN Authors tab.

Pavel
__________________
nohal is offline   Reply With Quote
Old 30-03-2011, 09:31   #125
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: Google Earth Plugin

nohal...

Code:
Course-up mode does not work as expected (Dave, what's  PlugIn_ViewPort.rotation? Thought it will be degrees from north-up, but  never get anything outside -5/+5 range as far as I can tell...)
In the PlugIn_ViewPort structure, the rotation parameter is specified in radians. Saves a little math with the trig functions you will be using....

Sorry for the sparse documentation.

Dave
__________________
bdbcat is online now   Reply With Quote
Old 30-03-2011, 09:49   #126
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: Google Earth Plugin

Ahhhh,
could also have come to my mind...
We should probably really add a few doxygen comments at least in the API

Thanks

Pavel
__________________
nohal is offline   Reply With Quote
Old 30-03-2011, 19:22   #127
Registered User
 
manimaul's Avatar

Join Date: Feb 2008
Location: Seattle, WA
Posts: 416
Re: Google Earth Plugin

Pavel,

I'm curious if you've decided how to tackle the com/memory consumption problem.

In MMG I ended up embedding a web server. I think this might be your best bet. I used the standar python webserver, but perhaps mongoose could work for you. If you were developing for Mac/Linux exclusively, you could just use a file placed in memory(/dev/shm). You could use a file in Windows but you'll be writing to disk excessively.

Anyhow, this is a really cool plugin idea. Are the sources available publicly?

Once this plugin is working well, I think it could be useful in cross referencing how the geo-referencing of questionable charts. Especially if an option is added to track the position of the cursor instead of the boat.

Will
__________________
Marine Navigation for Android:
http://mxmariner.com
manimaul is offline   Reply With Quote
Old 30-03-2011, 20:13   #128
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 553
Re: Google Earth Plugin

Crashes when attempting to open. See attached.

ASUS1000H, XPSP3



Terry
Attached Thumbnails
Click image for larger version

Name:	11 03 31 09 36 16.jpg
Views:	101
Size:	157.2 KB
ID:	25683  
__________________
VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote
Old 31-03-2011, 01:12   #129
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: Google Earth Plugin

Quote:
Originally Posted by manimaul View Post
I'm curious if you've decided how to tackle the com/memory consumption problem.
At least in GE 6, the <NetworkLink> can point to local files - that's how google itself implemented the GPS tracking in GE - it is a separate process writing a KML file GE opens periodically while instructed so with another KML file containing a <NetworkLink> element.
I took exactly the same approach for the upcoming 0.6.
GE has enormous problems regarding performance and resources consumption when you want it to do something fast (I would say an action 5 times a second is it's limit to be at least a little reliable - it still crashes at times though)
I create the file once a second right now (and am thinking of reducing the frequency further), so it's not that costly once you are rich enough to waste the resources to run GE itself
Quote:
Are the sources available publicly?
Yes, the plugin lives in the gecomapi branch of my OpenCPN tree at github - https://github.com/nohal/OpenCPN/tre...ns/gecomapi_pi

Pavel
__________________
nohal is offline   Reply With Quote
Old 31-03-2011, 01:18   #130
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: Google Earth Plugin

Quote:
Originally Posted by yachtvalhalla View Post
Crashes when attempting to open. See attached.

ASUS1000H, XPSP3



Terry
Anything in the log? Does at least the GE splashscreen appear (may be hidden under OCPN window - should be visible in the taskbar though) when you try to use the plugin? You have GE installed and it runs when used normally, right? It's version?

Sorry for asking such a stupid questions, but in the area of COM, one never knows...

Pavel
__________________
nohal is offline   Reply With Quote
Old 31-03-2011, 02:54   #131
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,294
Re: Google Earth Plugin

Hello,

Quote:
Originally Posted by nohal View Post
sailias,
looks like the same problem Gilletarom was reporting. I can't reproduce it on any machine available here.
Pavel
I have not yet Yoruk's response to whether he can reproduce the problem but it will come.

From my side, here are my latest experiences.

On a ASUS 1001 HA, XP, SP3, normally we are 1024X600 but it is possible to adjust at any time in 1024 X 728. In this case, part of the screen is invisible but can be up or down the screen at will without any problem.
Moreover, it is possible to change, at will, at 1024X728 1024 X600 without any problems at any time and vice versa.

First : With 1024X600
GE normally does not work correctly. A message appears when you launch GE. See Attachment "first". But on my machine, in reality, it poses no problem except with GE2KP of Phiggins and with the plug-in GE OpenCPN.
If I insist, I have the screen "Second ".

Second : With 1024X728
If I go 1024X728 before tournament start the plug-in, then everything works fine. See the screen "B".

Third : With 1024X600 after 1024x728.
If I start in 1024X728, then I spend in 1024X600 after launching the plug-in GE, all perfectly continuous. See the screen "C".

I hope my English is clear enough for your understanding.

Join here : 4 jpg and a .doc but the .doc is a .zip and in the .zip there is my last .log. (because the .log is very big)

At your disposal.

Best regards

Gilletarom.
Attached Thumbnails
Click image for larger version

Name:	2011-03-31_B_1024X768.jpg
Views:	88
Size:	260.6 KB
ID:	25685   Click image for larger version

Name:	2011-03-31_C_1024X600.jpg
Views:	87
Size:	326.7 KB
ID:	25686  

Click image for larger version

Name:	2011-03-31_First_screen.jpg
Views:	85
Size:	188.7 KB
ID:	25687   Click image for larger version

Name:	2011-03-31_Second.jpg
Views:	81
Size:	255.4 KB
ID:	25688  

Attached Files
File Type: doc opencpn.zip.doc (29.6 KB, 17 views)
__________________
Gilletarom is offline   Reply With Quote
Old 31-03-2011, 03:02   #132
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: Google Earth Plugin

Gilletarom...
Bingo! This is clear - I totally forgot, that you have to get rid of that warning dialog as it clearly breaks everything and there's nothing we can do about it on plugin's side - To "repair" it once and for all, just run GE at 1024x600 and before clicking OK, check that checkbox on the left. That will prevent that dialog to show at the start-up of GE for the future. Will add it to the installation instructions...

Thanks a lot for your help

Pavel
__________________
nohal is offline   Reply With Quote
Old 31-03-2011, 03:30   #133
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,294
Re: Google Earth Plugin

Hello,

Quote:
Originally Posted by nohal View Post
Gilletarom...
Bingo! This is clear - I totally forgot, that you have to get rid of that warning dialog as it clearly breaks everything and there's nothing we can do about it on plugin's side - To "repair" it once and for all, just run GE at 1024x600 and before clicking OK, check that checkbox on the left. That

Pavel
I have try with checking "Do not alert me" on GE alert message for the size of the screen. And then all is OK with 1024X600 on initial size.

Gilletarom.
__________________
Gilletarom is offline   Reply With Quote
Old 31-03-2011, 03:42   #134
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Fuji 32 Ketch
Posts: 553
Re: Google Earth Plugin

Quote:
Originally Posted by nohal View Post
Anything in the log? Does at least the GE splashscreen appear (may be hidden under OCPN window - should be visible in the taskbar though) when you try to use the plugin? You have GE installed and it runs when used normally, right? It's version?

Sorry for asking such a stupid questions, but in the area of COM, one never knows...

Pavel
Hi Pavel,

Could not find the log. No GE splashscreen appears. GE version 6.0.1.2032 beta runs normally.

I've tried it with GE running and not running first.

Thanks for the help.
__________________
VALHALLA's Mooring Page
yachtvalhalla is offline   Reply With Quote
Old 31-03-2011, 03:52   #135
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,294
Re: Google Earth Plugin

Hello Pavel,

Truly plug-in GE works fine BUT!

On my boat, at sea, I will never have access to GE because I will not have internet access. And then, the plug-in is useless!

Is it possible to replace the Internet access through the use of such chart ".kap" like we can make with the software GE2KAP of Phiggins?

Gilletarom.
__________________

__________________
Gilletarom is offline   Reply With Quote
Reply

Tags
google earth

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
Google Earth ? phiggins Navigation 53 31-03-2012 21:39
Editing in Google Earth sinbad7 OpenCPN 5 16-02-2011 16:10
Google Earth beau Navigation 1 24-07-2010 03:10
Turkey Blocks Google Earth & Google Maps MarkJ Europe & Mediterranean 7 04-07-2010 13:30



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 11:14.


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.