The Navigatrix has been updated. The new website can be found at navigatrix.net.




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Import your OziExplorer Calibrated charts into OpenCPN

Joined: 21 May 2013, 14:53
Posts: 93
Some of you might have some image files calibrated for use with oziexplorer. Here is a way to convert them into a .kap file to use in OpenCPN:

First, you need to get "ruby":
Code:
sudo apt-get install ruby


If ruby is installed, you will need to download a little ruby-script from here:
http://opencpn.org/ocpn/sites/default/f ... 11.rb_.zip

Unzip the file, and copy it into a newly made folder, let`s call it maps.
Into the same maps folder, copy the ozi explorer image file, and the its .map calibration file.
if the calibration file does not have the same name as the image file, rename it so.
Now you should have 3 files in your maps folder like:
map2kap_0.1.11.rb
chart.tif
chart.map

open terminal, go to the folder "maps", and type:
Code:
ruby map2kap_0.1.11.rb chart.tif 500000 meters


replace 500000 with the scale of your chart, and meters with your soundings.

Usage of map2kap:
map2kap_0.1.11.rb picture-file scale Sounding-Units [Soundings Datum]
[lat adj to wgs84 in seconds][long adj to wgs84 in seconds]

Note that Scale and units of soundings, for example 'meters', are mandatory.
If an argument is left out and others follows put 'unknown' as a place holder.
It is alright to, for example, just give the scale and Soundinds Unit and nothing else.
There must exist a valid .map file with the same name as the picture

Dependencies: 'convert' from ImageMagic, libtiff and libbsb must be installed.

This script will create a file called chart.kap into the maps folder.

Have fun!


Top
   
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Search for:
cron

Credits © 2010 - 2024