Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 30-07-2017, 13:21   #1
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Feature Request: Set KAP file transparency

For weatherfax image files, Exported as KAP, I have set up a Chart-Wxfax directory, which I've added to the Charts paths and scanned db. Then I've added a Group for wxfax kap.

Now when I load those wxfax Kap (with a right click and select the wxfaxKAP group) I get about 10 - 15 chart buttons at the bottom.

I would like to be able to right click on a chart button and adjust the transparency of that KAP.

For the time being is there a way to adjust transparency by putting something in the header?
rgleason is offline   Reply With Quote
Old 30-07-2017, 18:40   #2
Registered User
 
yachtvalhalla's Avatar

Join Date: Aug 2009
Location: Philippines
Boat: Formerly Fuji 32 Ketch
Posts: 1,017
Re: Feature Request: Set KAP file transparency

[QUOTE=rgleason;2445013
I would like to be able to right click on a chart button and adjust the transparency of that KAP.
[/QUOTE]

I like this suggestion. I have previously used the GE2KAP program to make semi-transparent KAP charts where cm93 has depth information (fairly rare in my part of the world) that would show through the GE overlay image. What you propose would be a better solution.

Thanks, Terry
yachtvalhalla is offline   Reply With Quote
Old 31-07-2017, 05:44   #3
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Feature Request: Set KAP file transparency

kap files do not support transparency. kap files do a horrible job at compressing satellite imagery.

mbtiles can solve both of these problems and more, but it's not natively supported yet...
seandepagnier is offline   Reply With Quote
Old 31-07-2017, 12:37   #4
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Feature Request: Set KAP file transparency

I believe you Sean about mbtiles and it would be great if Opencpn supported it. How much time and resources would be required to accomplish that?

- I guess there's no point in asking because you may have decided that that is the best way to solve a number of things.
rgleason is offline   Reply With Quote
Old 31-07-2017, 13:33   #5
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Feature Request: Set KAP file transparency

Sean, what if we could get kap satellite files really easily.
Is there a way to turn them into MBTILES easily?

What if we were to have Weatherfax files that are exported as KAP, would there be a way to turn them into MBTILES easily?
Would we be able to control transparency so the underlying charts can be seen?

Thanks.
rgleason is offline   Reply With Quote
Old 31-07-2017, 15:44   #6
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Feature Request: Set KAP file transparency

As many have found, sasplanet or mapproxy already creates mbtiles from many sources including satellite image.


I wrote python scripts to convert to and from kap to mbtiles (http://github.com/seandepagnier/mbtiles-nautical-tools) It makes more sense to convert mbtiles to kap. This is why I don't have much priority to support mbtiles in opencpn, because you can just convert them to kap.

When you do, you lose transparency, and also the compression is much worse, and random access (mbtiles are tiles very efficient) is lost as well, as kap you must read the whole scanline.

If you convert kap to mbtiles you almost always lose data, or end up with a larger file, because mbtiles only supports specific zoom levels.
seandepagnier is offline   Reply With Quote
Old 31-07-2017, 17:14   #7
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Feature Request: Set KAP file transparency

So that leads me to the request to make Kap files transparent. I have to digest this a bit.

On another matter, can you use a python file that will download UK Met weatherfaxes with weatherfax_pi so we can get the UK Met files?
rgleason is offline   Reply With Quote
Reply

Tags
enc


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
KAP-File Utility Netsurfer OpenCPN 8 29-10-2021 08:24
Imgkap - kap File Converter Tool MdJ OpenCPN 318 01-07-2020 05:43
Create kap file with Mac? tinpusher OpenCPN 14 13-08-2017 06:44
KAP file Open Sea MAP Hamed OpenCPN 11 10-12-2013 18:43
mm2 to kap file conversion Tristan OpenCPN 5 25-01-2013 02:43

Advertise Here


All times are GMT -7. The time now is 17:03.


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.