|
|
01-03-2016, 20:51
|
#1
|
Registered User
Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
|
ocpn_draw_pi now available
Hi,
The ocpn_draw_pi (OD) has now finished beta testing and version 1.0.0 is available for download from the official repositories. You will find the links on the 'Plugins for OpenCPN 4.2' page on the official web site:
PlugIns for OpenCPN 4.2 | Official OpenCPN Homepage
Please note that there may not be translations for all languages as this is still a work in progress. As more translations become available they will be added to the installation files.
This plug-in works with the Watchdog plug-in to provide a new range of alarms that include:
- 'Exclusion alarms'
- Warn when the distance to a boundary is less than a specified amount
- Warn when the vessel will enter a boundary in less than a specified time
- 'Inclusion alarm'
- Warn if you leave a boundary, this is similar to the Anchor Watch alarm except the boundary is a polygon of any shape you wish.
- 'AIS Guard Zone'
- Warn if any AIS target enters a specified boundary. The AIS target can be going in any direction, but if it enters the specified boundary you will be informed of the vessel that entered it.
This plugin works with the current Weather_routing Plug-In to allow you to setup 'Exclusion boundaries' that you do not want to enter. The routing plugin will then try to ensure that the route avoids these areas. Currently there are limitations on this functionality, so care must be exercised when using it. This is only a guide to route planning, not a fail-safe method of route planning.
NOTE
If OD is disabled or un-installed after creating boundary alarms in the Watchdog plug-in, these boundary alarms will NOT function, i.e. the alarms will not sound. There will be no other effect as OD is loosely coupled to all other plug-ins.
Jon
|
|
|
01-03-2016, 22:03
|
#2
|
Registered User
Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,964
|
Re: ocpn_draw_pi now available
Hello all,
Quote:
Originally Posted by jongough
Hi,
Please note that there may not be translations for all languages as this is still a work in progress. As more translations become available they will be added to the installation files. ... Jon
|
The items in French are currently in a "first draft" versions. A new version of the language file in French will be available soon. Probably within a week or two.
French translators present their apologies for the "ignition delay".
|
|
|
03-03-2016, 05:20
|
#3
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,494
|
Re: ocpn_draw_pi now available
Jon, Thank for all your efforts to bring this plugin to OpenCPN. Along with the news annoucement for opencpn 4.2, for which bdbcat, pavel, sean. Jean pierre, transmitter dan and many others can be proud, the ODraw brings new tools and new interaction with Watchdog and weather_routing. In addition, it has some very flexible and useful DR tools in particular EBL. Along with Sean's UI plugins and the Chartdownloader, OpenCPN 4.2 offers significant improvements, not to mention the crisper & speedier display of charts and the new SVG icons pioneered by Pavel. What a team! What great and intense an accomplishment. Thank you all. -And its almost spring. How perfect!
With the exception of a few plugs and language improvements it looks to me like the v4.2 system is working pretty well on windows
|
|
|
03-03-2016, 07:22
|
#4
|
Registered User
Join Date: Jul 2011
Posts: 12
|
Re: ocpn_draw_pi now available
Hi all. (First post)
I have been messing around with the new ocpn_draw_pi. I thought I would enclose an example of what can be done. the image shows the changes to New shipping routes on Dutch part of North Sea that was issued 1 August 2013.
I would like to thanks everyone involved in the development in O and keep up the great work.
|
|
|
10-03-2016, 08:31
|
#5
|
Registered User
Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,683
|
Re: ocpn_draw_pi now available
Jon,
a smaller hick-up with OCPN 4.2/OD 1.0 (Win, OpenGL ON):
Selecting DR from the tools, a click opens the DR window, close this either with "ok", or by the "x".
If you now try to change the tool by left-clicking on the symbols it will not do anything. Richt-clicking will hide the OD toolbar and not step through the tools as one would expect.
Hubert
|
|
|
10-03-2016, 12:39
|
#6
|
Registered User
Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
|
Re: ocpn_draw_pi now available
Hubert,
This may seem counter intuitive, but...
When you click on the main toolbar draw icon you activate the drawing process. If you have selected to have the floating toolbar you will now see that as well. Each time you right click you move to the next tool, when you left click on the chart (not the toolbar) you are selecting that tool to draw with and also, if appropriate, placing the first point. You now continue to draw using the left click. If you right click you end the drawing process, and if you have the floating toolbar set to show only when drawing, it will be hidden.
When you start drawing by using left click you will notice that the floating toolbar now greys out all the other tools, this is to stop you trying to select another tool whilst you are currently in drawing mode.
The DR tool is a special case, currently the only one. When you left click you do not place a point but you do open up the dialog to let you enter/update the information for the DR line. At this point you have selected DR as the drawing tool, so the toolbar greys out the other options. When you then click OK, Cancel or the 'x' you are closing the dialog, but you are not ending the DR drawing process. If you now left click again you will get the dialog back and can enter another set of details for another DR line. Only when you right click will the current DR drawing process finish.
If you have the floating toolbar shown all the time it may not be quite so obvious as only the buttons will 'un' grey to make them available again when you right click. Also, due to the way that screen refreshes seem to occur the cursor 'may' need to be moved to cause it to display the correct pointer AND the main toolbar 'may' not 'un' highlight the Draw tool until the next toolbar redraw. In normal use you may not see this, or notice it too much.
Jon
|
|
|
11-03-2016, 05:38
|
#7
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,112
|
Re: ocpn_draw_pi now available
Jon
Not a big issue - more a discussion point from a lazy user.
Your new localization routines are probably fine, I haven't yet get my self into it, but since it change source files, every build creates a need for a git commit.
This is what I get after a build:
Code:
C:\Builds\OCPN\ocpn_draw_pi>git status
On branch master
Your branch is ahead of 'origin/master' by 18 commits.
(use "git push" to publish your local commits)
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: include/wxWTranslateCatalog.h
Is there a way you can update gitignore to detect a difference between automated updates and own edits? It's of course simple to just include "wxTranslateCataloh.h" to gitignore but then are possible own edits not traced.
Håkan
|
|
|
11-03-2016, 12:55
|
#8
|
Registered User
Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
|
Re: ocpn_draw_pi now available
Håkan,
In the current git the wxWTranslateCatalog.h file is not tracked as it is generated by cmake in the same way that version.h is. There is a wxWTranslateCatalog.h.in file that is tracked and that is in the cmake subdirectory of the project.
Can you check that you are using the current git version? I am sure I never added teh wxWTranslate.Catalog.h file to the project as it is always generated.
When I run 'git status' I get:
Code:
On branch fixes
Your branch is up-to-date with 'origin/fixes'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
.kdev4/
Forms/ODPathProperties-old.fbp
build-deb/
build-kde/
build-win13/
data/OD & WD interaction diagram.jpg
data/od_wd_interactions.png
data/od_wd_interactions.svg
include/version.h
include/wxWTranslateCatalog.h
ocpn_draw_pi.kdev4
po/POTFILES.in.test
nothing added to commit but untracked files present (use "git add" to track)
Regards
Jon
|
|
|
11-03-2016, 13:33
|
#9
|
Registered User
Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,964
|
Re: ocpn_draw_pi now available
Hello JonGough,
I have just install O 4.2 on a little netbook, 10' screen, under linux ubuntu;
I try OD.
- Windows properties of a boundary point :
Impossible to use the button that are below this kind of objects. See screen copy
- Creating EBL
See problem with icon bar O.
Best regards. Gilletarom.
|
|
|
11-03-2016, 18:24
|
#10
|
Registered User
Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
|
Re: ocpn_draw_pi now available
Gilletarom,
Can you give me a bit more information?
- What the screen resolution is on your netbook?
- Are you using wxWidgets 2.8 or 3.0?
- Are you you using OpenGl?
- Are you using SVG or PNG icons?
- What is the version of OD?
Thanks
Jon
|
|
|
13-03-2016, 06:26
|
#11
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,112
|
Re: ocpn_draw_pi now available
Jon..
re: "Can you check that you are using the current git version? I am sure I never added teh wxWTranslate.Catalog.h file to the project as it is always generated."
Thanks for your answer. I've been away a couple of days and haven't checked more but my git version was 2.6.xx and just now updated to 2.7.2. Let's see if that makes any difference.
Håkan
|
|
|
13-03-2016, 12:14
|
#12
|
Registered User
Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,964
|
Re: ocpn_draw_pi now available
hello JonGough,
Quote:
Originally Posted by jongough
Gilletarom,
Can you give me a bit more information?
- What the screen resolution is on your netbook?
- Are you ..
- What is the version of OD?
Jon
|
Note that my linux version is update.
What the screen resolution is on your netbook?
1024 X 600
Are you using wxWidgets 2.8 or 3.0?
I do not know. I have just install linux ubuntu And Then OpenCPN 4.0 Then now, O 4.2 That I download from ppa. Then OD using the ppa.
Are you you using OpenGL?
No.
Are you using SVG or PNG icons?
? Can we choice? Really I don't know.
What is the release of OD?
The official version which is in ppa. OD: 1.0.0
|
|
|
13-03-2016, 12:39
|
#13
|
Registered User
Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,535
|
Re: ocpn_draw_pi now available
Quote:
Originally Posted by Gilletarom
hello JonGough,
Note that my linux version is update.
What the screen resolution is on your netbook?
1024 X 600
Are you using wxWidgets 2.8 or 3.0?
I do not know. I have just install linux ubuntu And Then OpenCPN 4.0 Then now, O 4.2 That I download from ppa. Then OD using the ppa.
Are you you using OpenGL?
No.
Are you using SVG or PNG icons?
? Can we choice? Really I don't know.
What is the release of OD?
The official version which is in ppa. OD: 1.0.0
|
Gilletarom,
you are not new to OpenCPN. When you will have a look in your log file you might answer all his questions.
Gerhard
|
|
|
13-03-2016, 13:50
|
#14
|
Registered User
Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,964
|
Re: ocpn_draw_pi now available
Hello JonGough,
Quote:
Originally Posted by CarCode
Gilletarom,
you are not new to OpenCPN. When you will have a look in your log file you might answer all his questions.
Gerhard
|
Contrary to Carcode think, I do not usually look in the log file. And I'm far from understanding the meaning of all lines.
That said, I looked and saw this:
22:39:31 CET: 2016-03-11
22:39:31 CET: ------- Starting OpenCPN -------
22:39:31 CET: Version 4.2.0 Build 2016-02-03
22:39:32 CET: wxWidgets version: wxWidgets 3.0.0 Linux 32 bit wxGTK
22:39:32 CET: MemoryStatus: mem_total: 992 mb, mem_initial: 28 mb
22:39:32 CET: SData_Locn is /usr/share/opencpn/
22:39:32 CET: PrivateDataDir is /home/gilletarom2/.opencpn
22:39:32 CET: Using existing Config_File: /home/gilletarom2/.opencpn/opencpn.conf
22:39:32 CET: Setting Viewpoint Lat/Lon 53.6965, -85.4266
22:39:32 CET: Setting Ownship Lat/Lon 44.7103, -42.2021
22:39:32 CET: Styles loading from /usr/share/opencpn/uidata/styles.xml
22:39:32 CET: No styles found at: /home/gilletarom2/
22:39:32 CET: No styles found at: /home/gilletarom2/.opencpn/
22:39:32 CET: Using SVG Icons
22:39:32 CET: Detected display size (horizontal): 270 mm
Best regards. Gilletarom.
|
|
|
13-03-2016, 14:54
|
#15
|
Registered User
Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
|
Re: ocpn_draw_pi now available
Hi,
I have just put up version 1.0.9 of OD. Some installables are available from the git repository in the releases section. This version fixes some display issues and a crash when exiting OCPN. There are no new translations in this version.
Jon
|
|
|
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|