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 18-01-2018, 10:20   #16
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,235
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Mike...
I have sent you the pull request implementing the detection of libgeotiff and linking against it and fixing the build an packaging on macOS

Technically the plugin works (read, builds and loads into OpenCPN), but I haven't been able to find any GeoTIFF it would show.

EDIT: Recovered my VentureFarther password (Why isn't there a link to it on the login page? ) and their GeoTIFFs seem to work...

Pavel
nohal is offline   Reply With Quote
Old 18-01-2018, 11:32   #17
Registered User

Join Date: May 2012
Posts: 1,231
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Thanks very much Pavel.

I will work with the pull request tomorrow.

No way would I have got close to a solution myself.

Didier ... Thanks. Looking at your patch will also help my education!

Mike
Rasbats is offline   Reply With Quote
Old 19-01-2018, 02:31   #18
Registered User

Join Date: May 2012
Posts: 1,231
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Now builds with Linux.

A DEB package has been added to v0.1 for Linux users.

If making a KAP chart from a GeoTiff set the number of colours in 'Preferences' to, say, 64. The default setting of '2' will not work.

There are no warnings shown when downloading VentureFarther GeoTiffs. Thanks Jon.

Mike
Rasbats is offline   Reply With Quote
Old 20-05-2018, 11:43   #19
Registered User

Join Date: Sep 2014
Location: Mexico
Boat: Passport 40
Posts: 344
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Will you be making an OS X build of this plugin?

I tried to build it myself by installing dependencies through homebrew (gettext, wxwidgets, etc), Im able to cmake, but when I try to run the makefile I get a:

In file included from /Users/fgaruti/Downloads/photolayer_pi-master/src/PhotoLayer_pi.cpp:29:
/Users/fgaruti/Downloads/photolayer_pi-master/src/PhotoLayer.h:30:10: fatal error: 'geotiffio.h' file not found
#include "geotiffio.h"


Cheers!
gaucho is offline   Reply With Quote
Old 20-05-2018, 12:12   #20
Registered User

Join Date: May 2012
Posts: 1,231
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Gaucho,


See post #16. Do you have a GeoTiff library on your system? Sorry, OS X is a mystery for me. Perhaps someone else can help.


Mike
Rasbats is offline   Reply With Quote
Old 20-05-2018, 12:13   #21
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,547
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Perhaps you have forgotten to install libgeotiff from homebrew?


Gerhard
CarCode is online now   Reply With Quote
Old 21-05-2018, 10:14   #22
Registered User

Join Date: Sep 2014
Location: Mexico
Boat: Passport 40
Posts: 344
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Of course ... for some reason I didn't think that was a gnu package. Got that working.
gaucho is offline   Reply With Quote
Old 15-06-2020, 18:15   #23
Registered User

Join Date: Jun 2020
Posts: 2
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Hi,

I'm trying to get the OpenCPN and the PhotoLayer plugin working on my Mac (OS Catalina). I've successfully installed OpenCPN and have been able to download charts from NOAA. I was able to compile the PhotoLayer plugin (dependencies installed via homebrew) and have a 'libphotolayer_pi.dylib' file in the folder OpenCPN.app/Contents/PlugIns. However, when I launch OpenCPN the plugin doesn't appear as an option in Options > PlugIns. Only the default GRIB/WMM/ChartDownloader/Dashboard plugs appear.

Can anybody point me toward a possible solution? I'm guessing maybe there's a file somehwere that needs to be updated with the libraries to check for plugins, but I'm hesitant fiddle with the OpenCPN Config file without a better understanding of what I might need to do.

Thanks for any help!
smatthews is offline   Reply With Quote
Old 15-06-2020, 21:49   #24
Registered User

Join Date: May 2012
Posts: 1,231
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

smatthews...


Thanks for looking at this. I have just started work to enable compiling on MacOSX. At the top of the list!


Mike
Rasbats is offline   Reply With Quote
Old 15-06-2020, 23:48   #25
Registered User

Join Date: May 2012
Posts: 1,231
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

smatthews...

I have put a MacOSX installer on GitHub releases:
https://github.com/Rasbats/photolaye...ses/tag/v2.1.2

I am using Catalina.

There is a problem with the images but the plugin works. The key to finding libGeoTiff was to comment out the IF(UNIX)/ENDIF(UNIX) bit in CMakeLists.txt. I will do some editing for Apple and look at those images.

Mike
Rasbats is offline   Reply With Quote
Old 16-06-2020, 03:28   #26
Registered User

Join Date: May 2012
Posts: 1,231
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Updated to allow installation on MacOSX. You will need to install the libgeotiff library.

https://github.com/Rasbats/photolaye...eases/tag/v2.2

The images problem has been resolved.

Mike
Rasbats is offline   Reply With Quote
Old 16-06-2020, 08:39   #27
Registered User

Join Date: Jun 2020
Posts: 2
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Hi Mike,

Thanks so much for posting this so quickly! I re-installed the package with the updated *.pkg and it seems to be working perfectly. Double thumbs up for the pkg installer - it made things a lot easier than zigzagging through compiling via bash.

Great package!!
smatthews is offline   Reply With Quote
Old 20-08-2020, 02:22   #28
Registered User

Join Date: May 2012
Posts: 1,231
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

PhotoLayer is now on the list of managed plugins.

For Windows users the Microsoft Paint program used to be the only graphics program that retained the geo-referencing metadata after editing.

Since version 4.2.2 'paint.net' has had this capability. I have used the program for other graphics work and it is brilliant. For editing geotiffs it is a huge leap forward. Free, but I felt it was worth a donation.

https://www.getpaint.net/

Mike
Rasbats is offline   Reply With Quote
Old 20-08-2020, 13:41   #29
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,022
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Quote:
Originally Posted by Rasbats View Post
PhotoLayer is now on the list of managed plugins.
....
Mike

But not yet available in the "Master" catalog of plugins.
It probably takes just a little patience.
Gilletarom is offline   Reply With Quote
Old 20-08-2020, 18:05   #30
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,778
Images: 2
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Mike's PR to github.com/opencpn/plugins

appears to have been accepted. Mike has UKtides awaiting now.

Quote:
Originally Posted by Gilletarom View Post
But not yet available in the "Master" catalog of plugins.
It probably takes just a little patience.
rgleason is offline   Reply With Quote
Reply

Tags
enc, photo, plug, satellite


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
VentureFarther Satellite Charts - vfkaps plugin Rasbats OpenCPN 147 27-12-2022 09:47
PhotoPlayer plugin - Satellite GeoTiffs with transparency Rasbats OpenCPN 8 06-03-2019 04:53
Plugin development... How to receive chart objects in my plugin? dmartinez OpenCPN 6 04-08-2017 00:56
Feature Request: Set KAP file transparency rgleason OpenCPN 6 31-07-2017 17:14
Satellite phone rental sneuman Marine Electronics 5 03-10-2005 16:11

Advertise Here
  Vendor Spotlight
No Threads to Display.


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


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.