Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 16-09-2014, 11:54   #31
Registered User

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

Gilletarom...
Not sure I understand. Locally what?
Just use the charts and the database will get populated in your obvious area of interest.

Pavel
nohal is offline   Reply With Quote
Old 24-09-2014, 19:21   #32
Registered User

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

Hi all...
I have prepared a new testing version for Windows, which should fix the occasional crashes of OpenCPN on exit. Please, especially if you were affected by this problem, get it from Download opencpnplugins from SourceForge.net and let me know if the problem is solved.
(New "full" release for all the platforms due in a couple of days.)

Thanks

Pavel
nohal is offline   Reply With Quote
Old 01-10-2014, 04:20   #33
Registered User
 
rooiedirk's Avatar

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

Pavel,
Worked like a charm until the last git update this morning. Now a crash on "show on chart"
Code:
*** opencpn (wxWidgets 2.8.12) crashed ***, see backtrace!
0x833c721 in wxCrashPrint::Report() at crashprint.cpp:83
0x8146e20 in MyApp::OnFatalException() at chart1.cpp:2458
0xb7656984 in wxFatalSignalHandler at ??:0
0xb76ed400 in __kernel_sigreturn at ??:0
0xb6c924d4 in  at ??:0
0xb6c3a19f in vfwprintf at ??:0
0xb6ceb1fc in __vswprintf_chk at ??:0
0xb7632ecf in wxVsnprintf(wchar_t*, unsigned int, wchar_t const*, char*) at ??:0
0xb761b2fb in wxString::PrintfV(wchar_t const*, char*) at ??:0
0xb761b471 in wxString::Format(wchar_t const*, ...) at ??:0
0xb31ae448 in objsearch_pi::FindObjects(wxString const&, wxString const&, double, double, double) at ??:0
0xb31ae81e in ObjSearchDialogImpl::OnSearch(wxCommandEvent&) at ??:0
0xb75c39a7 in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const at ??:0
0xb765325b in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) at ??:0
0xb7653671 in wxEvtHandler::SearchDynamicEventTable(wxEvent&) at ??:0
0xb765374b in wxEvtHandler::ProcessEvent(wxEvent&) at ??:0
0xb73ee76f in wxTextCtrl::OnChar(wxKeyEvent&) at ??:0
0xb75c39a7 in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const at ??:0
0xb765325b in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) at ??:0
0xb76533e5 in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) at ??:0
0xb7653770 in wxEvtHandler::ProcessEvent(wxEvent&) at ??:0
0xb738e17b in  at ??:0
0xb689888a in  at ??:0
0xb65f08e7 in g_closure_invoke at ??:0
0xb6603777 in  at ??:0
0xb660b5e9 in g_signal_emit_valist at ??:0
0xb660bb44 in g_signal_emit at ??:0
0xb69d2523 in  at ??:0
0xb69e9b00 in gtk_window_propagate_key_event at ??:0
0xb69ec8a4 in  at ??:0
0xb689888a in  at ??:0
0xb65ef71e in  at ??:0
0xb65f08e7 in g_closure_invoke at ??:0
0xb66033ce in  at ??:0
0xb660b5e9 in g_signal_emit_valist at ??:0
0xb660bb44 in g_signal_emit at ??:0
0xb69d2523 in  at ??:0
0xb68969fc in gtk_propagate_event at ??:0
0xb6896cd0 in gtk_main_do_event at ??:0
0xb6702159 in  at ??:0
0xb64f0193 in g_main_context_dispatch at ??:0
0xb64f0420 in  at ??:0
0xb64f07b3 in g_main_loop_run at ??:0
0xb6895a20 in gtk_main at ??:0
0xb737a86b in wxEventLoop::Run() at ??:0
0xb73f55a0 in wxAppBase::MainLoop() at ??:0
0xb73f5050 in wxAppBase::OnRun() at ??:0
0xb75f96d2 in wxEntry(int&, wchar_t**) at ??:0
0xb75f9777 in wxEntry(int&, char**) at ??:0
0x8141c59 in main at chart1.cpp:789
*** Crashed with return code: 0 ***
Nothing in the logfile.

There used to be a seperated thread for chart channing, wich is not there anymore.
Working under Gentoo linux
O is also the latest git.
Dirk
rooiedirk is offline   Reply With Quote
Old 01-10-2014, 05:25   #34
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: Chart Object Search plug-in

Reason is: wxString::Format() has wrong datatypes in function FindObjects() since last github changes.
This is very often observed when using wxWidgets by programmers.

Gerhard
CarCode is offline   Reply With Quote
Old 01-10-2014, 05:45   #35
Registered User

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

Dirk...
Wrong order of the parameters. Don't code at 3 AM

Pavel
nohal is offline   Reply With Quote
Old 01-10-2014, 07:45   #36
Registered User
 
rooiedirk's Avatar

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

Works again. Thanks.
rooiedirk is offline   Reply With Quote
Old 16-10-2014, 09:34   #37
Registered User

Join Date: Feb 2010
Posts: 619
Re: Chart Object Search plug-in

Pavel,

A very useful tool, that I am sure will grow...

I am wondering, if there is a way to search for objects, that have no known name attribute, just based on object type (some distance limit would then become very much needed)?

An example would be searching for marked anchorage areas, or for caution areas nearby...

I tried some regular expressions, too...

Thanks for the nice plugin!

Piotr
Attached Thumbnails
Click image for larger version

Name:	anchorage_search.jpg
Views:	198
Size:	87.6 KB
ID:	89826  
PjotrC is offline   Reply With Quote
Old 16-10-2014, 09:57   #38
Registered User

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

Pjotr...
Distance limit is already implemented. The whole implementation is limited to named objects (and _texto for CM93) and I currently don't plan to extend it, although it is technically trivial to implement.
Regex won't work, what will is SQL LIKE syntax.
BTW, in the latest code I implemented import of CSV data, so you can populate the database with pretty much anything you like. And the DB under it is SQLite, so you can play with the data using any tool that supports it...

Pavel
nohal is offline   Reply With Quote
Old 18-10-2014, 15:37   #39
Registered User

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

Hi all...
Objsearch_pi version 0.5 has just been released. Adds ability to limit the search range, import of CSV data and a scan function which automatically flies over a selected area at different scales to populate the object database.

TIA for your testing feedback.

Pavel
nohal is offline   Reply With Quote
Old 20-10-2014, 01:08   #40
Registered User

Join Date: Jul 2010
Posts: 51
Re: Chart Object Search plug-in

Quote:
Originally Posted by nohal View Post
Hi all...
Objsearch_pi version 0.5 has just been released. Adds ability to limit the search range, import of CSV data and a scan function which automatically flies over a selected area at different scales to populate the object database.

TIA for your testing feedback.

Pavel
It's awesome!

A minor feature would be that you could double click an item in the search result to show it on the chart.

Tested on Mac: The dialog in plugin settings won't close.
stensmo is offline   Reply With Quote
Old 09-11-2014, 12:20   #41
Registered User

Join Date: Oct 2014
Posts: 30
Re: Chart Object Search plug-in

I just installed the Chart Object Search plugin. Great feature--I've been wanting this for a long time!

One small usability feature you may want to add: when I hit the "Show on chart" button, it always changes the scale to 135600. It would be nice if it could keep the same scale as was being displayed before you hit the "Show on chart" button.

Also, is there any way to activate the plugin with a ctrl-F keyboard shortcut?

Thanks!

Jim
jim326 is offline   Reply With Quote
Old 10-11-2014, 02:50   #42
Registered User

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

nohal, when there is support for finding names in the national language?
Baikal is offline   Reply With Quote
Old 15-02-2019, 08:29   #43
Registered User
 
rgleason's Avatar

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

objsearch for ov50 Beta is completing chart searches OK,
however it is sensitive and prone to crashing 4.99.1408.

Particularly if the program happens to be in draw route mode and at other times when trying to "Show a location on a chart".


It needs some Rx I think to be really usable.
Attached Thumbnails
Click image for larger version

Name:	Screenshot (36).jpg
Views:	98
Size:	415.2 KB
ID:	185957  
rgleason is offline   Reply With Quote
Old 16-03-2019, 13:31   #44
Registered User

Join Date: Dec 2015
Location: Seattle, WA
Posts: 50
Re: Chart Object Search plug-in

Thanks for this very useful plugin.

Is there a way to add objects manually to the database?
DavidBurch is offline   Reply With Quote
Old 16-03-2019, 13:50   #45
Registered User

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

Quote:
Originally Posted by DavidBurch View Post
Thanks for this very useful plugin.

Is there a way to add items manually to the database?
Yes, the plugin has it's data stored in a very simple SQLite database so you can use any client that can work with it to add, delete or modify the data.

You can also import any data on the Database Maintenence tab in the plugin preferences dialog using a CSV file with the following columns:
Latitude(floating point number),Longitude(floating point number),Object name(string),Feature name(string),Source name(string)

Pavel
nohal is offline   Reply With Quote
Reply

Tags
arc, plug


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 19:09.


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.