Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 08-09-2014, 18:55   #1
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,197
Chart Object Search plug-in

Hi all...
I have implemented a new plug-in, collecting the named chart objects from the vector (S-57 and CM93) charts and allowing a user to search through them.

It also finally addresses the famous FS#246 feature request.

You must be running OpenCPN 3.3.2107 or later to use this plug-in - older versions do not contain the necessary API functions.

Download from the bottom part of PlugIns | Official OpenCPN Homepage

Important usage note: The chart is indexed the first time it is displayed while the plug-in is enabled, so right after the installation the search can't obviously find anything. The reasons for that are numerous, from size and performance to potential legal issues if I distributed any preprocessed datasets.

As usually, all your feedback is greatly appreciated.

Have fun

Pavel
nohal is offline   Reply With Quote
Old 08-09-2014, 22:19   #2
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 580
Re: Chart Object Search plug-in

All great!

only lacks support search in the national language
also found the object as it is necessary to highlight on the map
Baikal is offline   Reply With Quote
Old 08-09-2014, 22:32   #3
Registered User
 
AISEAG's Avatar

Join Date: May 2012
Location: Dahouet (Brittany)
Boat: BENETEAU
Posts: 491
Re: Chart Object Search plug-in

Thank Pavel for this new pluging.


serge
AISEAG is offline   Reply With Quote
Old 09-09-2014, 07:10   #4
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,703
Re: Chart Object Search plug-in

Works fine with the S63 charts. Great!

Nice to have:
- clear/tick all type of objects
- search all objects of one type (lighthouses for example)
- or that's within the same range: wildcard search
- progress indicator (perhaps in the icon) that tells you that indexing is still running

Hubert
bcn is offline   Reply With Quote
Old 09-09-2014, 07:45   #5
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,703
Re: Chart Object Search plug-in

Quote:
Originally Posted by bcn View Post
Works fine with the S63 charts. Great!

Hubert
Seems that I've been a tad too optimistic...

Some underlying CM93 chart....

So, what do we have to do to enable this for the S63 charts?
bcn is offline   Reply With Quote
Old 09-09-2014, 08:11   #6
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,197
Re: Chart Object Search plug-in

Hubert...
All that has to be done is add the call to the plug-in api into the external vector charts infrastructure. I have no S-63 charts to test it, so didn't implement that part -
Will have to finally get that testing dataset and look how the thing actually works

Pavel
nohal is offline   Reply With Quote
Old 09-09-2014, 08:16   #7
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,703
Re: Chart Object Search plug-in

Pavel,

the issue of test sets should have a solution...

Hubert
bcn is offline   Reply With Quote
Old 09-09-2014, 11:35   #8
Registered User
 
AISEAG's Avatar

Join Date: May 2012
Location: Dahouet (Brittany)
Boat: BENETEAU
Posts: 491
Re: Chart Object Search plug-in

OpenCPNers,


An entry has been created in Tracker/Flyspray for this promising new plugin.

OpenCPN::Tracker pi - ObjSearch: Tasklist

Do not hesitate to post any Feature Request, any bug or patch.


Serge
AISEAG is offline   Reply With Quote
Old 09-09-2014, 13:24   #9
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,964
Re: Chart Object Search plug-in

Hello,

I just install O 332107. Then I try rapidly it. Then I install the new Chart Object Search plug-in. Then I try it. I try also to see some marks that I place with squiddio with previous version O. (Squiddio is not present in O 332107).

And O crash. A crash report is sended.

B.R. Gilletarom
Gilletarom is offline   Reply With Quote
Old 09-09-2014, 13:35   #10
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,197
Re: Chart Object Search plug-in

Gilletarom...
Please try to make the use case simple and understandable and reproduce with just the objsearch plug-in.

Pavel
nohal is offline   Reply With Quote
Old 10-09-2014, 01:16   #11
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,964
Re: Chart Object Search plug-in

Hello Pavel,

Quote:
Originally Posted by nohal View Post
Gilletarom...
Please try to make the use case simple and understandable and reproduce with just the objsearch plug-in.

Pavel
Sorry

I had not really started trying O 332107 or Chart Object Search (COS). And I was very surprised by this crash. In fact, I was only trying O.

I hope the next test will be more positive.

Regarding the COS plugin, there is a bug in the installer. The installer provides an installation in OpenCPN, ie O322 in my home, and I wanted to put it in O332107. He offered to put it in ... \ O332107 \ OpenCPN. I had to delete OpenCPN. It will fix this in the installer.

Best regards

Gilletarom
Gilletarom is offline   Reply With Quote
Old 11-09-2014, 18:46   #12
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,532
Images: 2
Re: Chart Object Search plug-in

Dear Pavel,
First, thank you for this useful plugin. I am testing the Windows version with 3.3.2107.

I have tried Chart Object search and will continue learning and testing it.
The plugin appears to search chart object text entries in CM93 and ENC charts.
The search appears to comprise the area within the chart window.
The search will list all instances of "ft pierce" or "ft pierce inlet" for example.
Highlighting one of the items in the list of "ft pierce" does not show the location on the chart.
After highlighting one of the items in the list, clicking on "Show on chart" displays the chart in all grey with just the depths and no landmass. I think it is supposed to show the item highlighted.
I am wondering why we need "Show on chart" button?, why not show the item when the item in the list is highlighted, saving one additional step.

I have not tried using all the possible search functions yet and am still learning. The dropdown object selection "All" first appears, but disappears upon dropping down. I wonder if "All and "None" should be selections. Also I wonder if it would be easier to be able to select "None" then select certain other objects to search for. Alternatively it might be easier to be able to select "All" rather than laboriously selecting each item... perhaps there is a little more flexible and user friendly way of doing this object selection?

Here is the view when selecting "Show on Chart" (enc and cm93).
It may work in Linux, but I think there is something amiss for the Windows version.

Thanks so much for all your efforts.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2014-09-11 21.27.30.png
Views:	322
Size:	162.5 KB
ID:	88075  
rgleason is online now   Reply With Quote
Old 11-09-2014, 20:36   #13
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,197
Re: Chart Object Search plug-in

Rick & all...
All the plug-in does is tell the core OpenCPN "Go to this la & lon and scale to X", the display problem is in the core.
The usability comments noted and will mostly be implemented in the next version.

Thanks for the comments

Pavel
nohal is offline   Reply With Quote
Old 12-09-2014, 01:23   #14
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 510
Re: Chart Object Search plug-in

wow...

Compiled from git. Found a few minor hicks.
After first start up the dropdown selection box is empty. second start is was filled.
The distance is calulated wrong. If I search for my homeport, the lat long is correct but the distance calculated as 1729 nM.

wishes:
In the dropdown box the long descriptions of objects instead of the "mnenomics"
lat long in degr minutes. or use the setings from O
rooiedirk is offline   Reply With Quote
Old 12-09-2014, 01:33   #15
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,197
Re: Chart Object Search plug-in

Quote:
Originally Posted by rooiedirk View Post
wow...

Compiled from git. Found a few minor hicks.
After first start up the dropdown selection box is empty. second start is was filled.
The dropdown is filled from the data already collected. At first start, there is no data, thus nothing to fill in there.
Quote:
The distance is calulated wrong. If I search for my homeport, the lat long is correct but the distance calculated as 1729 nM.
Did you have the GPS connected? If not, the plug-in gets no ownship info and thus shows distance from an uninitialized default location. I will most likely implement a change to the core taking care of this situation.
Quote:
wishes:
In the dropdown box the long descriptions of objects instead of the "mnenomics"
Yes, it is on the list.
Quote:
lat long in degr minutes. or use the setings from O
Settings from the core it will be.

Pavel
nohal is offline   Reply With Quote
Reply

Tags
arc, plug

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Hitting an Object While Motoring sonnysoh Monohull Sailboats 38 02-03-2016 19:12
Changes on the Plug-in Download page & new plug-in packages nohal OpenCPN 8 04-07-2014 07:15
Object Query on Mac Is Empty George64 OpenCPN 7 15-03-2011 14:15
If money was no object... Llamster Construction, Maintenance & Refit 14 25-03-2009 12:30
cost no object... neither to buy or maintain - what mono would you have any why? Sterling Monohull Sailboats 36 25-10-2008 07:19

Advertise Here


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


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.