Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 22-04-2015, 20:43   #61
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,762
Re: Ocpn-Draw and Boundary

Sean...

I and others agree that if it was only boundaries, it should be in the core.

However, thanks to all the hard work of Jon, this Boundary PlugIn is to become the skeleton of a generalized "drawing" plugin. The idea is that if "persistent drawn boundaries" can be made to work as a PlugIn, then it goes some way toward demonstrating that the PlugIn API is rich enough to support the general drawing overlay case.

Ultimately, we want a PlugIn that works like MS Paint, or GIMP, etc.
- A floating toolbox of pens, icons, paint guns, etc.
- The ability for the user to arbitrarily markup a chart in a georeferenced way.
- Show uncharted reefs, fishing holes, temporary ATONs, etc.
- Data to be stored in a portable format, separate from core navobjs.
- Eventually some crowd-sourcing infrastructure, say with squiddio.

That's the idea.....

Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Old 25-04-2015, 02:24   #62
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 872
Re: Ocpn-Draw and Boundary

Hi,
I have put up a new version of the plugin. This one shows a rollover box when going over a boundary. I have fixed up some issues recovery after crashes and select-ability. There may still be some issues under windows, but I think it works. If you want an installable windows version you will find it here:
https://www.dropbox.com/s/0gkqcj9zjg...win32.exe?dl=0

For Linux you will need to compile a version as I have not yet worked out the packaging for it.

Please report issues on github here:
https://github.com/jongough/ocpn_draw_pi/issues

Jon
__________________

__________________
jongough is offline   Reply With Quote
Old 27-04-2015, 06:24   #63
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,238
Re: Ocpn-Draw and Boundary

I'd like to see:
- Drawing tools for planning purposes
- Ability to create "information" points and then upload to Squiddio or Goodharbor.
- Boundaries with "Ownboat stay inside" and "Ownboat stay outside" settings so that they could be seen and used by Watchman_pi.
- Dead Reckoning Vectors that will show angle and distance.
- Ownboat Dynamic vectors that will move based on nmea input, used for true and apparent wind speed and direction, Current+Drift Dynamic vectors based on calculations and nmea data. (not completely thought out)
- Routing tools that create channels with XTE max.
- Routing tools that use adjustible Radius around points and then draw a tangent on each side for the variable width 'channel'. (allows greater lattitude dependent on botttom conditions etc)
__________________
rgleason is offline   Reply With Quote
Old 01-05-2015, 12:32   #64
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,242
Re: Ocpn-Draw and Boundary

hello jongough,

Quote:
Originally Posted by jongough View Post
Hi,
I have put up a new version of the plugin. This one shows a rollover box when going over a boundary. .... If you want an installable windows version you will find it here:
https://www.dropbox.com/s/0gkqcj9zjg...win32.exe?dl=0

....
Jon
First :
I translated all items of language file in french language. See Crowdin.

Second :
ASUS EeePC 1001H, W 7 starter, O 4.0

I install this version 0.2. The dll is present in plugin folder. But, the plugin is not present in the "Plugin tab". So impossible to use it.

Best regards. Gilletarom.

P.S. : Oups, I understand that this plugin do not run with O4.0.
__________________
Gilletarom is offline   Reply With Quote
Old 02-05-2015, 07:34   #65
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,238
Re: Ocpn-Draw and Boundary

Gille if you want me to upload opencpn beta v4.1.412 to file thingie tell me yes. You will need to install in parallel. There is something funny happening with options - setting - charts - vector (missing file) which i told pavel i would trace back, but it works for testing tbis plugin.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
__________________
rgleason is offline   Reply With Quote
Old 02-05-2015, 09:05   #66
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,242
Re: Ocpn-Draw and Boundary

Hello RGleason,

Quote:
Originally Posted by rgleason View Post
Gille if you want me to upload opencpn beta v4.1.412 to file thingie tell me yes. ...
Why not ! Yes, if you please. And if it is too big, place it in a dropbox.

Best regards

Gilletarom.
__________________
Gilletarom is offline   Reply With Quote
Old 02-05-2015, 11:07   #67
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,238
Re: Ocpn-Draw and Boundary

Gille it is up there now 28.7mb in main folder.
__________________
rgleason is offline   Reply With Quote
Old 06-05-2015, 22:24   #68
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 872
Re: Ocpn-Draw and Boundary

Gilletarom,
Is it possible for you to create a pull request against my git repository with your language file so that I can incorporate it?

Thanks
Jon

Quote:
Originally Posted by Gilletarom View Post
hello jongough,



First :
I translated all items of language file in french language. See Crowdin.

Second :
ASUS EeePC 1001H, W 7 starter, O 4.0

I install this version 0.2. The dll is present in plugin folder. But, the plugin is not present in the "Plugin tab". So impossible to use it.

Best regards. Gilletarom.

P.S. : Oups, I understand that this plugin do not run with O4.0.
__________________
jongough is offline   Reply With Quote
Old 07-05-2015, 01:13   #69
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,242
Re: Ocpn-Draw and Boundary

Hello Jongough,

I do not know how to incorporate a language file in a plugin.

The specialist for this type of action is Pavel.

So it is to him that you have to go for them.

Best regards. Gilletarom.
__________________
Gilletarom is offline   Reply With Quote
Old 07-05-2015, 05:46   #70
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,945
Re: Ocpn-Draw and Boundary

Jon...
I will push all the translations to you once you are ready for release. With the first 4.1 beta, I suppose.

Pavel
__________________
nohal is offline   Reply With Quote
Old 09-05-2015, 13:07   #71
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,242
Re: Ocpn-Draw and Boundary

Hello Jongough, Hello RGleason,

I downloaded the 4.1.412 version on the thingie but I had not had time to run open_draw_pi.

This evening, I make the test.

But impossible to test open_draw. I have no line for this plugin in the "Plugins" tab of the "options" of version 4.1.412 ..

I looked in the opencpn.ini file. Indeed, there is no row for the plugin op_draw_pi in this file.
__________________
Gilletarom is offline   Reply With Quote
Old 09-05-2015, 17:27   #72
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 872
Re: Ocpn-Draw and Boundary

Hi,
I have put a windows version of OpenCPN 4.1.412 (non-debug) and ocpn_draw_pi (debug and non-debug) up on dropbox.

OpenCPN
https://www.dropbox.com/s/yhso5l13on...setup.exe?dl=0

Non-debug ocpn_draw_pi
https://www.dropbox.com/s/hv61hb6329...win32.exe?dl=0

Debug ocpn_draw_pi
https://www.dropbox.com/s/tzi9wnmuqr...win32.exe?dl=0

I have tried them on Win 8 and it seems to work. ocpn_draw_pi is still in alpha so it is not really ready to use in real life, but it can be tested. If you have problems or suggestions for changes I would like to hear. Also, this version of OpenCPN is still in pre-beta development, so again, it may or may not work for you.

Jon
__________________
jongough is offline   Reply With Quote
Old 10-05-2015, 00:08   #73
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,824
Re: Ocpn-Draw and Boundary

Jon...
I've built yesterday on WinXP using VC2010 and O 4.1.427 including wx3.0. Builds very fine, both release and package. - Great!

I can make the boundaries but when created they are not shown on the chart. The log file says: (The system message text is translated by me)
Code:
23:05:12: Loading navobjects from C:\Documents and Settings\All Users\Application Data\opencpn\OCPNDraw\data\ODnavobj.xml
23:05:12: Done loading ODnavobjects
23:05:12: Error: File"C:\Documents and Settings\All Users\Application Data\opencpn\OCPNDraw\data\ODnavobj.xml.changes" couldn't be deleted (error 32: the file is used by another process.)
(And I don't have it open )

The xml files are attached, pls discard the .pdf extensions

A minor suggestion: Since other plugins are using "..........Application data\opencpn\plugins\...." for there data you could, for consistency reasons, store there as well? I my case it should have been: "C:\Documents and Settings\All Users\Application Data\opencpn\plugins\OCPNDraw\data\........xml"

Thanks
Håkan
Attached Files
File Type: pdf ODnavobj.xml.changes.pdf (2.6 KB, 11 views)
File Type: pdf ODnavobj.xml.pdf (2.8 KB, 19 views)
__________________
Hakan is offline   Reply With Quote
Old 10-05-2015, 01:00   #74
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,601
Re: Ocpn-Draw and Boundary

Jon,

downloaded the files from dropbox.
The debug version will install, but can´t be loaded from OCPN:
Code:
9:35:52 AM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN 4.1.412\plugins\ocpn_draw_pi.dll
9:35:52 AM: Error: Failed to load shared library 'C:\Program Files (x86)\OpenCPN 4.1.412\plugins\ocpn_draw_pi.dll' (error 126: das angegebene Modul wurde nicht gefunden.) = the indicated module has not been found
9:35:52 AM:    PlugInManager: Cannot load library: C:\Program Files (x86)\OpenCPN 4.1.412\plugins\ocpn_draw_pi.dll
Uninstall works as intended.
The error message is perhaps a bit misleading as the .dll is in place.
The plain version does install and shows up.

Installer:
tries to install at /OpenCPN and pointing it to the correct OpenCPN 4.1.412 path proposes to install under .....OpenCPN 4.1.412/OpenCPN/ so editing is required.

This a behavior we have seen with other Plug-ins, so something is wrong with the discovery of the latest install in environments with parallel installs.
__________________
bcn is offline   Reply With Quote
Old 10-05-2015, 01:34   #75
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,601
Re: Ocpn-Draw and Boundary

Jon,

is there a help file/manual with features/intended behavior?

I can draw a boundary (click the button in tool bar to start).

The lines will be shown and right clicking ends the process.
Once finished the bounderies are not visble any longer, just the markers.
Stays this way after restart of OCPN.

After a click during the drawing process the cursor will jump to some more or less distant point - have not figured out the "logic" of the target.

Can provoke a sticker with mouse-over, but it will disappear almost instantaneously. Discovery radius too small?

Hubert

Click image for larger version

Name:	boundery_draw1.png
Views:	70
Size:	7.0 KB
ID:	101720

Click image for larger version

Name:	boundery_draw2-jump.png
Views:	79
Size:	7.7 KB
ID:	101721

Click image for larger version

Name:	boundery_draw3-no area shown.png
Views:	71
Size:	9.1 KB
ID:	101722

Click image for larger version

Name:	boundery_draw4-sticker.png
Views:	76
Size:	3.5 KB
ID:	101723
__________________

__________________
bcn 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
Rookie questions - boundary circles; exporting options; GPX files fredgmeyer OpenCPN 5 23-05-2014 22:22
Buoys out in Boundary Bay, BC Carogan Liveaboard's Forum 0 27-08-2012 06:41
For Sale: Cascade Designs Seal Line Boundary 70 Dry Bag thesparrow Classifieds Archive 0 14-03-2011 15:27
Current draw and insulation of portable fridges troppo Plumbing Systems and Fixtures 6 06-03-2011 09:00
amperage draw for Garmin radar and MFD janders Marine Electronics 8 16-12-2008 17:00


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 17:44.


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.