PhotoLayer

photolayer pi

PhotoLayer reads satellite geotiff photo overlay files (with tranparency) which can then be displayed over the top of navigation charts. The website venturefarther.com has geotiff files available.

Aim

To improve the safety of navigation in inadequately surveyed areas of the world.

Using OpenGL it is possible to adjust the transparency of the GeoTiff photo overlay.This allows the comparison of features from the photo overlay with those shown on the chart. Where hydrographic surveys have not been carried out recently and the charts are not to WGS84 standard the photo overlay may provide a better guide to pilotage.

32

This photo overlay is for a marina in the Canary Islands. Note the position of the breakwaters.

Requirements

OpenCPN 4.2.0 and above.

1. What and Why

In some areas of the world a satellite chart is more accurate than the official chart. This plugin acts as a viewer for GeoTiff files. The GeoTiffs are made from satellite photos and they can also be obtained from other sources.

3. Standard actions

GeoTiff sources and the procedure for downloading these files is shown in this section.

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.

Open the toolbox and enable 'PhotoLayer'. At the same time make sure that you are using OpenGL (Display → Advanced → Use Accelerated Graphics (OpenGL))

Apply/Ok and on the toolbar you will find the PhotoLayer icon.

1

Start the PhotoLayer plugin.

2

File → Open and select a GeoTiff. The location will change to match the photo overlay, which will appear superimposed.

3

By moving the top transparency slider the transparency can be adjusted. Complete transparency is shown here.

4

And no transparency with maximum brightness of the overlay is here.

5

If you were not using OpenGL the transparency slider would not have worked. The brightness slider would have produced a picture like this. At maximum the overlay will disappear.

6

4. Options / Warnings / Ideas

Options

The menu offers other options.

7

“Save As” allows you to save a .png image, made from the overlay file. Some distortion is noted.

8

“Goto” can be used if there are several overlays in the list, to move between the overlays.

9

“Preferences” is used in combination with the “Export” facility, which will create a kap chart file from the overlay.

10

Set the number of colours as required. 64 works well. File→Export creates and saves the kap. In order to display the kap it is necessary to update the chart database.

11

And the photo chart is displayed.

12

Because of the kap format it is not possible to adjust the transparency of the photo chart. The GeoTiff must be used.

Menu “Delete” is to remove a GeoTiff from the list of overlays that have been opened. It does not delete the image file.

GeoTiff Sources

VentureFarther

The VentureFarther website linked here allows the selection of an area, which can be downloaded as a GeoTiff.

You will need to register with VentureFarther and obtain your API key here

Please read the 'Credits' page on the VentureFarther website. 1 Credit is used for each single satellite chart download. Making a 'Multi-Chart' download will use 9 credits, because it consists of 9 satellite charts. Credits can be earned by submitting cruising information or you may choose to purchase an annual subsciption.

The source is chosen and the slider moved from “KAP” to “GEO”. “Generate Chart” creates the GeoTiff which is downloaded to your system. It will appear in the directory you have chosen for file downloads from the Internet.

30

The GeoTiff can be opened with PhotoLayer. The transparency of the overlay can be adjusted, unlike the normal kaps from VentureFarther.

31
SASPlanet

The SASPlanet program can be downloaded here The download is a zip file. Extracting the zip creates a folder “SAS.Planet.xxxxxxx”, in which is “SASPlanet.exe” which starts the program (from the folder).

20.0

Open the map which will be used to create the GeoTiff. This time a topographical map from OpenTopoMaps is used.

20

Select the area of the map to export as a GeoTiff.

21

Save as a GeoTiff in WGS84 Lat/Lon format.

22

Remember to specify the file name and location for the GeoTiff!

23

The GeoTiff produced can be viewed in OpenCPN using PhotoLayer.

25

The hatching shows the limit if you try and zoom in too far with OpenTopoMaps in SASPlanet.

24