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 16-05-2021, 07:33   #91
Registered User

Join Date: Mar 2019
Location: Gent, Belgium
Boat: Trisbal 36
Posts: 18
Send a message via Skype™ to jbruggem60
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

mike,
I see that the package libwxbase3.0-0v5 installs the file:
libwx_gtk3u_core-3.0.so.0 (in folder /usr/lib/x86_64-linux-gnu)
whereas photolayer appears to look for

libwx_gtk2u_core-3.0.so.0


I'll try to make a symlink of 2u to 3u ...
__________________
a specialist is somebody who has made all mistakes.
jbruggem60 is offline   Reply With Quote
Old 16-05-2021, 07:47   #92
Registered User

Join Date: Mar 2019
Location: Gent, Belgium
Boat: Trisbal 36
Posts: 18
Send a message via Skype™ to jbruggem60
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

mike,


before I made the symlink:

root@idefix:/usr/lib/x86_64-linux-gnu# ls -l | grep gtk3u_core
lrwxrwxrwx 1 root root 29 Mar 24 2020 libwx_gtk3u_core-3.0.so.0 -> libwx_gtk3u_core-3.0.so.0.4.0
-rw-r--r-- 1 root root 6779624 Mar 24 2020 libwx_gtk3u_core-3.0.so.0.4.0


making the symlink:

root@idefix:/usr/lib/x86_64-linux-gnu# ln -s libwx_gtk3u_core-3.0.so.0.4.0 libwx_gtk2u_core-3.0.so.0


results in:

root@idefix:/usr/lib/x86_64-linux-gnu# ls -l | grep gtk3u_core
lrwxrwxrwx 1 root root 29 May 16 15:38 libwx_gtk2u_core-3.0.so.0 -> libwx_gtk3u_core-3.0.so.0.4.0
lrwxrwxrwx 1 root root 29 Mar 24 2020 libwx_gtk3u_core-3.0.so.0 -> libwx_gtk3u_core-3.0.so.0.4.0
-rw-r--r-- 1 root root 6779624 Mar 24 2020 libwx_gtk3u_core-3.0.so.0.4.0


but after reinstalling plugin in opencpn it still does not work, now it does not find another library:

from log file:
.....

15:39:56.518 MESSAGE pluginmanager.cpp:5709 Copying /home/jan/Downloads/photolayer-3.3.1+3103.v3.3.1_ubuntu-gtk3-20.04-x86_64.tar.gz to local cache
....

15:39:56.521 MESSAGE pluginmanager.cpp:1174 Checking plugin candidate: /home/jan/.local/lib/opencpn/libphotolayer_pi.so
15:39:56.521 MESSAGE pluginmanager.cpp:2124 Plugin is compatible by elf library scan: true
15:39:56.521 MESSAGE pluginmanager.cpp:2232 PlugInManager: Loading PlugIn: /home/jan/.local/lib/opencpn/libphotolayer_pi.so
15:39:56.522 ERROR dlunix.cpp:162 libgeotiff.so.2: cannot open shared object file: No such file or directory
15:39:56.522 MESSAGE pluginmanager.cpp:2291 PlugInManager: Cannot load library: /home/jan/.local/lib/opencpn/libphotolayer_pi.so




so now I'm delving into libgeotiff.so.2 ... I'll keep you informed ;-)
__________________
a specialist is somebody who has made all mistakes.
jbruggem60 is offline   Reply With Quote
Old 16-05-2021, 07:50   #93
Registered User

Join Date: Mar 2019
Location: Gent, Belgium
Boat: Trisbal 36
Posts: 18
Send a message via Skype™ to jbruggem60
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

mike,


I'm not really familiar with flatpak, do you mean to completely reinstall opencpn with it's plugins from flatpak, or only the photolayer 3.3.1 plugin ? How do I do that ?
__________________
a specialist is somebody who has made all mistakes.
jbruggem60 is offline   Reply With Quote
Old 16-05-2021, 08:01   #94
Registered User

Join Date: Mar 2019
Location: Gent, Belgium
Boat: Trisbal 36
Posts: 18
Send a message via Skype™ to jbruggem60
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Mike,


made another symlink, see below.

Now after restarting opencpn and reinstalling the plugin I got to see the photolayer button on the menu ! but pushing the button crashes opencpn :-( ...


/usr/lib/x86_64-linux-gnu/libgeotiff.so.5 comes from package libgeotiff5.


root@idefix:/usr/lib/x86_64-linux-gnu# ls -l | grep libgeotiff
-rw-r--r-- 1 root root 275386 Sep 4 2019 libgeotiff.a
lrwxrwxrwx 1 root root 19 Sep 4 2019 libgeotiff.so -> libgeotiff.so.5.0.1
lrwxrwxrwx 1 root root 19 Sep 4 2019 libgeotiff.so.5 -> libgeotiff.so.5.0.1
-rw-r--r-- 1 root root 211136 Sep 4 2019 libgeotiff.so.5.0.1


root@idefix:/usr/lib/x86_64-linux-gnu# ln -s libgeotiff.so.5.0.1 libgeotiff.so.2



root@idefix:/usr/lib/x86_64-linux-gnu# ls -l | grep libgeotiff
-rw-r--r-- 1 root root 275386 Sep 4 2019 libgeotiff.a
lrwxrwxrwx 1 root root 19 Sep 4 2019 libgeotiff.so -> libgeotiff.so.5.0.1
lrwxrwxrwx 1 root root 19 May 16 15:53 libgeotiff.so.2 -> libgeotiff.so.5.0.1
lrwxrwxrwx 1 root root 19 Sep 4 2019 libgeotiff.so.5 -> libgeotiff.so.5.0.1
-rw-r--r-- 1 root root 211136 Sep 4 2019 libgeotiff.so.5.0.1


from log file:

15:55:09.144 MESSAGE pluginmanager.cpp:5709 Copying /home/jan/Downloads/photolayer-3.3.1+3103.v3.3.1_ubuntu-gtk3-20.04-x86_64.tar.gz to local cache

15:55:09.146 MESSAGE pluginmanager.cpp:1174 Checking plugin candidate: /home/jan/.local/lib/opencpn/libphotolayer_pi.so

15:55:16.498 MESSAGE pluginmanager.cpp:1487 PlugInManager: Initializing PlugIn: /home/jan/.local/lib/opencpn/libphotolayer_pi.so
15:55:18.689 MESSAGE chcanv.cpp:2350 Metrics: m_display_size_mm: 508 g_Platform->getDisplaySize(): 1920:1848
15:55:18.689 MESSAGE chcanv.cpp:2355 wxDisplaySize(): 1920 1848
15:55:19.910 MESSAGE chcanv.cpp:2350 Metrics: m_display_size_mm: 508 g_Platform->getDisplaySize(): 1920:1848
15:55:19.910 MESSAGE chcanv.cpp:2355 wxDisplaySize(): 1920 1848
15:55:19.990 MESSAGE glChartCanvas.cpp:693 BuildFBO 3
15:55:19.991 MESSAGE glChartCanvas.cpp:1177 OpenGL Framebuffer OK, size = 1324
15:55:20.021 MESSAGE glChartCanvas.cpp:693 BuildFBO 3
15:55:20.022 MESSAGE glChartCanvas.cpp:1177 OpenGL Framebuffer OK, size = 1324
15:55:20.092 MESSAGE glChartCanvas.cpp:693 BuildFBO 3
15:55:20.093 MESSAGE glChartCanvas.cpp:1177 OpenGL Framebuffer OK, size = 1324
15:55:20.123 MESSAGE glChartCanvas.cpp:693 BuildFBO 3
15:55:20.124 MESSAGE glChartCanvas.cpp:1177 OpenGL Framebuffer OK, size = 1324

... and here opencpn crashed ...
__________________
a specialist is somebody who has made all mistakes.
jbruggem60 is offline   Reply With Quote
Old 16-05-2021, 10:01   #95
Registered User

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

Jan ...

Setup Linux Mint 20.1.
Installed flatpak OpenCPN.
Downloaded photolayer 3.3.1 (flatpak) from Cloudsmith -prod.

Success .. the dialog appears. Not tested with a lat/lon/wgs84 tif yet.

Mike
Rasbats is offline   Reply With Quote
Old 16-05-2021, 10:39   #96
Registered User

Join Date: Mar 2019
Location: Gent, Belgium
Boat: Trisbal 36
Posts: 18
Send a message via Skype™ to jbruggem60
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

mike,


Installed flatpak OpenCPN and downloaded photolayer 3.3.1 (flatpak) from Cloudsmith -prod (file photolayer-3.3.1+3101.v3.3.1_flatpak-18.08-x86_64.tar.gz) .



This works ! At least the plugin window pops up. I now have to repopulate my charts in this new setup before further testing, but I'm up and running again. Thanks for your help !
__________________
a specialist is somebody who has made all mistakes.
jbruggem60 is offline   Reply With Quote
Old 29-04-2022, 00:56   #97
Registered User

Join Date: Apr 2022
Location: Melbourne, Australia
Posts: 13
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Does anyone have a recommendation for a simple tool to geotag images?

As an example of the task. I'd like to be able to overlay the restricted fishing zones around New South Wales. NSW Parks publish a bunch of PDFs with a lat/lon grid included.
eg http://www.dpi.nsw.gov.au/__data/ass...Zoning_Map.pdf

I have used Weatherfax to align and overlay but the save to kap doesn't work and the overlays i create disappear after every restart.

Any suggestions?

regards Gordon
GordotheGrey is offline   Reply With Quote
Old 29-04-2022, 13:58   #98
Registered User

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

Away from my dev pc but have you looked at sat2chart?

Mike
Rasbats is offline   Reply With Quote
Old 29-04-2022, 14:14   #99
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,932
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Gordon,


you are aware about:
https://opencpn.org/wiki/dokuwiki/do...d-marine-parks
bcn is offline   Reply With Quote
Old 29-04-2022, 14:37   #100
Registered User
 
sv_pelagia's Avatar

Join Date: Apr 2013
Location: British Columbia
Boat: Sceptre 41
Posts: 2,015
Images: 1
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

As long as you have accurate lat/long of a few points, QGIS will do this (and a hell of w lot more!) (QGIS is free, open source software available for many platforms.)
sv_pelagia is offline   Reply With Quote
Old 30-04-2022, 05:45   #101
Registered User
 
rgleason's Avatar

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

Good point.

This would be a valuable enhancement if Weatherfax would save the coordinates with the image, so that the image can be re displayed without having to use the Image Wizard again.

This is what happens when you try to load from the weatherfax directory using "File >Open":

Quote:
I have used Weatherfax to align and overlay but the save to kap doesn't work and the overlays i create disappear after every restart.
Attached Thumbnails
Click image for larger version

Name:	Screenshot (379).jpg
Views:	59
Size:	418.5 KB
ID:	256875   Click image for larger version

Name:	Screenshot (380).jpg
Views:	58
Size:	410.6 KB
ID:	256876  

rgleason is online now   Reply With Quote
Old 01-05-2022, 03:02   #102
Registered User

Join Date: Apr 2022
Location: Melbourne, Australia
Posts: 13
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Quote:
Originally Posted by Rasbats View Post
Away from my dev pc but have you looked at sat2chart?

Mike
Hi Mike,
I use sat2chart often. Paul has created a great tool but, it doesn't do the georeference step but will create a chart after it's done
GordotheGrey is offline   Reply With Quote
Old 01-05-2022, 03:06   #103
Registered User

Join Date: Apr 2022
Location: Melbourne, Australia
Posts: 13
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Quote:
Originally Posted by bcn View Post
Hi BCN,
yes, I've seen that in the library and it works well.

It doesn't have NSW though ...

and that was just an example file. There are several other sources of useful info that I would like to be able to overlay or use as a chart

Other examples include the the Beacon to Beacon guides (which are are great) and small area surveys that are regularly done for some bar crossings on the way

regards
Gordon
GordotheGrey is offline   Reply With Quote
Old 01-05-2022, 03:09   #104
Registered User

Join Date: Apr 2022
Location: Melbourne, Australia
Posts: 13
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Quote:
Originally Posted by sv_pelagia View Post
As long as you have accurate lat/long of a few points, QGIS will do this (and a hell of w lot more!) (QGIS is free, open source software available for many platforms.)

Hi sv_pelagia,

I am trying the get my head around QGIS... the problem is the "hell of a lot more bit" it's a very big function application and I have found the georeferencer bit but not how to output a geotiff ...yet

pointers greatly appreciated

I was really looking for something small and simple ... just like weatherfax ...

regards
Gordon
GordotheGrey is offline   Reply With Quote
Old 01-05-2022, 03:13   #105
Registered User

Join Date: Apr 2022
Location: Melbourne, Australia
Posts: 13
Re: PhotoLayer plugin - Satellite GeoTiffs with transparency

Quote:
Originally Posted by rgleason View Post
Good point.

This would be a valuable enhancement if Weatherfax would save the coordinates with the image, so that the image can be re displayed without having to use the Image Wizard again.

This is what happens when you try to load from the weatherfax directory using "File >Open":
Hi Rick,

Yes, the function that weatherfax provides is almost perfect.
It has a really simple georef function that works perfectly and then display the output as a layer which also works perfectly.. and I can even turn it on and off but as soon as I restart OCPN ... it's gone ...

if only it would do persistent save .... so I can select it again .. or if the save to kap worked or if it would save as a geotiff the photo plugin could handle it and sat2chart could do its thing as welll
if only ....

regards
Gordon
GordotheGrey is offline   Reply With Quote
Reply

Tags
enc, photo, plug, satellite

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

Advertise Here


All times are GMT -7. The time now is 07:52.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.