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 10-02-2017, 08:33   #1
Registered User
 
Aart K.'s Avatar

Join Date: Oct 2015
Location: the Netherlands
Posts: 121
AIS targetlist

I want to change my AIS targetlist permanently.
When I manually change the sequence in Name/Distance/SOG, the next time I re-start OCPN the sequence is default again.

Is it possible?

Aart
from the netherlands
Aart K. is offline   Reply With Quote
Old 11-02-2017, 11:52   #2
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: AIS targetlist

probably would be a nice feature request
seandepagnier is offline   Reply With Quote
Old 11-02-2017, 13:27   #3
Registered User
 
Aart K.'s Avatar

Join Date: Oct 2015
Location: the Netherlands
Posts: 121
Re: AIS targetlist

Quote:
Originally Posted by boat_alexandra View Post
probably would be a nice feature request
And HOW can I make it a feature request? Or else, who can do so?

Aart
Aart K. is offline   Reply With Quote
Old 11-02-2017, 19:06   #4
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: AIS targetlist

You can post on flyspray.

If you can do programming you could submit a pull request implementing the feature
seandepagnier is offline   Reply With Quote
Old 12-02-2017, 01:34   #5
Registered User
 
Aart K.'s Avatar

Join Date: Oct 2015
Location: the Netherlands
Posts: 121
Re: AIS targetlist

Quote:
Originally Posted by boat_alexandra View Post
You can post on flyspray.

If you can do programming you could submit a pull request implementing the feature
Programming is something I can not.
I know how to change something in the config file. Maybe there is a solution for the time being? I I only know where and what in the config file.
Aart K. is offline   Reply With Quote
Old 12-02-2017, 07:29   #6
Registered User

Join Date: Mar 2010
Location: Den Helder, the Netherlands
Boat: Drascombe Coaster (22ft) "Seanymph"
Posts: 136
Re: AIS targetlist

Quote:
Originally Posted by Aart K. View Post
Programming is something I can not.
I know how to change something in the config file. Maybe there is a solution for the time being? I I only know where and what in the config file.
Hi Aart,

In the opencpn.ini I see these lines about AIS Target List.


AISTargetListPerspective=name=AISTargetList;captio n=AIS target list;state=2103265;dir=4;layer=0;row=0;pos=0;prop= 100000;bestw=700;besth=150;minw=-1;minh=-1;maxw=-1;maxh=-1;floatx=50;floaty=50;floatw=1367;floath=438
AISTargetListRange=40
AISTargetListSortColumn=2
bAISTargetListSortReverse=0
AISTargetListColumnSpec=103;128;96;70;49;157;84;42 ;56;42;42;

Maybe changing something here can help?
I found out that in the AIS Target List the "auto sort" was active in column "Call". That is the third column. So probably the first column (Trk) is there just for the bacon and beans (as a fellow Dutchman you'll know what I mean).

In my AIS Target List the column "Call" is column nr. 3 and the column "Range" is column nr. 9. So I did a little test and changed AISTargetListSortColumn=2 to AISTargetListSortColumn=8.

I saved the ini-file and restarted OpenCPN. Now in the AIS Target List the "auto sort" is active in the column "Range". And that means the targets closest to me are on top of the list.

Not quite what you wanted, but maybe it's a start.

Roel
Roel Smidt is offline   Reply With Quote
Old 12-02-2017, 07:44   #7
Registered User
 
Aart K.'s Avatar

Join Date: Oct 2015
Location: the Netherlands
Posts: 121
Re: AIS targetlist

Roel,

I found these lines too but as long as I am not sure what all these lines means I'll do nothing.

I studied the line with:

AISTargetListColumnSpec=103;128;96;70;49;157;84;42 ;56;42;42;

but because the last two ones has the same value I think the solution is not there.

Who can tell me where the solution is?

Aart
from the Netherlands
Aart K. is offline   Reply With Quote
Old 12-02-2017, 07:56   #8
Registered User

Join Date: Mar 2010
Location: Den Helder, the Netherlands
Boat: Drascombe Coaster (22ft) "Seanymph"
Posts: 136
Re: AIS targetlist



Oops... please forget my "magnificent" tip about changing the ini file to change the sort-order. No need for that. Just found out that clicking on the column has the same effect.

I will try to experimet a bit with the AISTargetListColumnSpec. If I find something useful I will report.

Roel
Roel Smidt is offline   Reply With Quote
Old 12-02-2017, 07:59   #9
Registered User
 
Aart K.'s Avatar

Join Date: Oct 2015
Location: the Netherlands
Posts: 121
Re: AIS targetlist

Quote:
Originally Posted by Roel Smidt View Post


If I find something useful I will report.

Very usefull!!!!
Aart K. is offline   Reply With Quote
Old 12-02-2017, 08:27   #10
Registered User

Join Date: Mar 2010
Location: Den Helder, the Netherlands
Boat: Drascombe Coaster (22ft) "Seanymph"
Posts: 136
Re: AIS targetlist

AISTargetListColumnSpec is just the width of the columns. I give up...
Roel Smidt is offline   Reply With Quote
Old 12-02-2017, 08:40   #11
Registered User
 
Aart K.'s Avatar

Join Date: Oct 2015
Location: the Netherlands
Posts: 121
Re: AIS targetlist

Quote:
Originally Posted by Roel Smidt View Post
AISTargetListColumnSpec is just the width of the columns. I give up...
I already did so.

There must be some who has the answer anyhow?
Aart K. is offline   Reply With Quote
Old 12-02-2017, 11:20   #12
Registered User
 
Aart K.'s Avatar

Join Date: Oct 2015
Location: the Netherlands
Posts: 121
Re: AIS targetlist

Roel,

Are also member of the Dutch "Zeilersforum"? Maybe I'll see you then coming Saturday?

Aart
Aart K. is offline   Reply With Quote
Old 12-02-2017, 16:17   #13
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: AIS targetlist

to find the answer, use the source...

The column width is a big hint, you can probably find where it is used after grepping the variable name you grep from your column width field name. Once you can see how this value is applied and retrieved from the actual list control, it should be obvious if the column to sort by and what direction is also saved to the config ( probably not )

From here actually implementing it should be fairly straightforward. Maybe a second config variable could contain the sort column, and whether to sort ascending or descending.
seandepagnier is offline   Reply With Quote
Old 13-02-2017, 00:10   #14
Registered User
 
Aart K.'s Avatar

Join Date: Oct 2015
Location: the Netherlands
Posts: 121
Re: AIS targetlist

Quote:
Originally Posted by boat_alexandra View Post
to find the answer, use the source....
Working with the source code? For me that is a step to far .

In the config file I can change the with of the columns. But how can I change the "content" of a column?

Aart
from the Netherlands
Aart K. is offline   Reply With Quote
Old 13-02-2017, 01:58   #15
Registered User

Join Date: Mar 2010
Location: Den Helder, the Netherlands
Boat: Drascombe Coaster (22ft) "Seanymph"
Posts: 136
Re: AIS targetlist

Quote:
Originally Posted by Aart K. View Post
Roel,

Are also member of the Dutch "Zeilersforum"? Maybe I'll see you then coming Saturday?

Aart
Now that you mention it.... yes, i did enlist a couple of years ago but I completely forgot about that. Too busy sailing....

Unfortunately I can't make it next Saturday but I will try to visit to that forum more frequently. Good luck with your workshop!
Roel Smidt is offline   Reply With Quote
Reply

Tags
ais


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
AIS Targetlist Aart K. OpenCPN 4 22-01-2016 10:37
For Sale: AIS-MULTI AIS Receiver with built in Antenna Splitter kokomodenny Classifieds Archive 1 17-09-2013 08:53
For Sale: Standard Horizon Matrix AIS+ GX 2150 VHF Radio/AIS Receiver with CMP30 Ram3 Second St westsailwill Classifieds Archive 6 23-04-2013 18:21
AIS Simulation - Run VDR to play AIS Nmea file rgleason OpenCPN 16 12-01-2013 10:28
Can You Get Radar & AIS Overlay on Laptop ? AIS Transceiver Recommendations ? lunasea.ds Marine Electronics 22 27-12-2010 13:06

Advertise Here


All times are GMT -7. The time now is 09:48.


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.