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 09-02-2016, 23:09   #1
Registered User

Join Date: Feb 2016
Posts: 27
Question Modifying ship representation in OpenCPN

I need to modify the standard triangle representation of ships in OpenCPN
- for individual MMSIs
- for ship type/category

Can anybody tell me where to send my request
or where to start looking for an existing feature
or where to start looking for in the source code?

+++, Egon
egon.5004 is offline   Reply With Quote
Old 10-02-2016, 00:20   #2
Registered User

Join Date: Sep 2015
Location: Essex, England
Boat: Hartley Tahitian 48
Posts: 394
Re: Modifying ship representation in OpenCPN

Contact:-

Cruisers & Sailing Forums - View Profile: bdbcat

On this forum
paulajayne is offline   Reply With Quote
Old 10-02-2016, 02:28   #3
Registered User

Join Date: Oct 2009
Location: Lelystad, The Netherlands
Boat: vd Stadt 44, Ben the Boat
Posts: 233
Re: Modifying ship representation in OpenCPN

Quote:
Originally Posted by paulajayne View Post
I would just start @ OpenCPN | Official OpenCPN Homepage there is a lot to read and click
champ8242 is offline   Reply With Quote
Old 10-02-2016, 02:33   #4
Registered User

Join Date: Feb 2016
Posts: 27
Re: Modifying ship representation in OpenCPN

I have done so before.
Ships seem to be "generated" at runtime rather than being loaded from a bitmap.
So all of the info there does not apply.

Thanks anyway.

+++, Egon
egon.5004 is offline   Reply With Quote
Old 10-02-2016, 02:50   #5
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: Modifying ship representation in OpenCPN

But you know the new settings in Options/Ships/AIS Targets introduced in OpenCPN version 4.2?

Gerhard
CarCode is online now   Reply With Quote
Old 10-02-2016, 02:57   #6
Registered User

Join Date: Feb 2016
Posts: 27
Re: Modifying ship representation in OpenCPN

I suppose you are referring to the "MMSI properties" - yes, I know about these and I already have defined an MMSI record. But there is no way to add any information of how to represent that ship by a user defined icon.

+++, Egon
egon.5004 is offline   Reply With Quote
Old 10-02-2016, 03:06   #7
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: Modifying ship representation in OpenCPN

Quote:
Originally Posted by egon.5004 View Post
I suppose you are referring to the "MMSI properties" - yes, I know about these and I already have defined an MMSI record. But there is no way to add any information of how to represent that ship by a user defined icon.

+++, Egon
No, not "MMSI Properties" but as I wrote: "AIS Targets". See the "Display" section there.
If you want more changes to the symbols get the OpenCPN sources and read the file ais.cpp where the symbols are drawn.

Gerhard
CarCode is online now   Reply With Quote
Old 10-02-2016, 03:21   #8
Registered User

Join Date: Feb 2016
Posts: 27
Re: Modifying ship representation in OpenCPN

The options in the display section do not help me either - but the hint to ais.cpp looks promising.

The goal - I should have explained earlier - is to distinguisch members of different teams.

+++, Egon
egon.5004 is offline   Reply With Quote
Old 10-02-2016, 04:40   #9
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
Re: Modifying ship representation in OpenCPN

Gerhard, I don't believe there is a way to assign a different target symbols to MMSI or Ship type/category.

Would this type of change really be permitted? It seems like the symbols are predetermined and specified.
rgleason is offline   Reply With Quote
Old 10-02-2016, 04:47   #10
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,734
Re: Modifying ship representation in OpenCPN

Egon can do with the code what he likes or needs to do.
For instance placing a colored flag or needle for the different teams in addition to the standard symbol.

That this then might not getting back into mainstream is a different question.
bcn is offline   Reply With Quote
Old 10-02-2016, 05:18   #11
Registered User

Join Date: Feb 2016
Posts: 27
Re: Modifying ship representation in OpenCPN

Thanks to all of you.

Despite all standards there is no reason to disallow specific symbols for specific MMSI numbers. As I can declare specific targets as "buddies" or "followers" I really would appreciate the ability to tell OpenCPN how to represent specific targets.

The best place to do it would obviously be the "MMSI properties" tab - so that anyone could make use of that feature - if wanted, e.g. visually discern any competitor in a regatta. That would be a nice feature in general.

Right now I am trying to figure out which changes to apply to ais.cpp.
This will do for me right now.

Thanks again.
+++, Egon
egon.5004 is offline   Reply With Quote
Old 10-02-2016, 05:39   #12
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: Modifying ship representation in OpenCPN

As Hubert (bcn) pointed out already you can do with the software what you want. You can even try to sell your modified version as the main developer has done by himself already for an Android version...

Gerhard
CarCode is online now   Reply With Quote
Old 10-02-2016, 05:44   #13
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
Re: Modifying ship representation in OpenCPN

Egon,
AIS must meet certain standards, ECDIS. Perhaps you should put this AIS -Feature Request in to Tracker. Register on tracker and then login and add a Task. Maybe someone will oblige, with enough votes.
rgleason is offline   Reply With Quote
Old 10-02-2016, 05:50   #14
Registered User

Join Date: Feb 2016
Posts: 27
Re: Modifying ship representation in OpenCPN

rgleason
That sounds like a good idea to me - alas, I do not know what "tracker" is nor how to register for it. Can you give me a link?
egon.5004 is offline   Reply With Quote
Old 10-02-2016, 06:11   #15
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: Modifying ship representation in OpenCPN

Rick,
as you well know such extensions never follow the ECDIS standards and you have pointed out this already yourself above here there is no need to make a request in the Tracker. Sometimes it is very hard to follow your thoughts...

Gerhard
CarCode is online now   Reply With Quote
Reply

Tags
enc, opencpn

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
Modifying a Snowgoose Joben Multihull Sailboats 3 17-12-2013 07:57
Repairing , Modifying & Painting the Deck of Windsong Beersmith Construction, Maintenance & Refit 33 10-05-2012 12:22
Modifying Privilege 39 gpalana Multihull Sailboats 8 02-10-2011 03:03
Ideas for Fixing / Modifying Saloon Table EllanVannin Construction, Maintenance & Refit 3 26-04-2010 23:30
Modifying the Boom - Need Suggestions Roy M Deck hardware: Rigging, Sails & Hoisting 5 08-02-2010 20:26

Advertise Here


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


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.