Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 01-02-2020, 14:25   #1
Registered User

Join Date: Dec 2019
Posts: 24
To replace the default ownship svg with another

Hi All,

I have been working in a project which uses OpenCPN.

I would like to replace the default ownship in the chart with an another svg.

The default boat looks in gray color, I would like to replace it with an another svg.

I tried replacing the svgs in data/svg and src/bitmaps/other_svg_src folders, but none of them work for me.

Anyone please help me?
__________________

priyanka is offline   Reply With Quote
Old 01-02-2020, 14:40   #2
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 3,780
Re: To replace the default ownship svg with another

Quote:
Originally Posted by priyanka View Post
Hi All,

I have been working in a project which uses OpenCPN.

I would like to replace the default ownship in the chart with an another svg.

The default boat looks in gray color, I would like to replace it with an another svg.

I tried replacing the svgs in data/svg and src/bitmaps/other_svg_src folders, but none of them work for me.

Anyone please help me?

Did you search the manual?
https://opencpn.org/OpenCPN/info/usericons.html
__________________

bcn is offline   Reply With Quote
Old 01-02-2020, 15:09   #3
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 2,792
Re: To replace the default ownship svg with another

Quote:
Originally Posted by priyanka View Post
Hi All,
The default boat looks in gray color, I would like to replace it with an another svg.
Anyone please help me?
The ship icon is gray when no GPS is present. Turns Red while navigation. But you may have noticed?
Hakan is offline   Reply With Quote
Old 02-02-2020, 12:10   #4
Registered User

Join Date: Dec 2019
Posts: 24
Re: To replace the default ownship svg with another

Dear Hakan,

It did work for me. I could see my custom ownship in the place of red_ship.
Thank you for the help.

I have an other question now.
The ship appears in grey color. I have commented convertToGreyScale() function in chcanvas.cpp. But it didnot work.

How can I get exactly the same .png I put in UserIcons folder.?
priyanka is offline   Reply With Quote
Old 03-02-2020, 04:43   #5
Registered User

Join Date: Dec 2019
Posts: 24
Re: To replace the default ownship svg with another

Thank you all for the replies.

I have not yet worked with the GPS. I am a beginner.

If I am using my custom image, will it looks in its original color combination while navigation?
priyanka is offline   Reply With Quote
Reply

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
Ownship Scaling cblake OpenCPN 1 15-08-2012 13:37
Help with Ownship AnchorageGuy OpenCPN 6 03-06-2012 15:23
Change the OwnShip COG arrow? HTT OpenCPN 3 06-06-2011 02:32
'From Ownship' phj OpenCPN 2 06-01-2011 17:42
New OwnShip Icon Capability Skua OpenCPN 9 24-12-2010 12:46

Advertise Here


All times are GMT -7. The time now is 01:22.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.