Unfortunately there’s no single “magic-button” utility called “ozfx3-to-kab”, so you have to do it in two hops:
- turn the OziExplorer raster (.ozfx3) into a normal geo-referenced image (GeoTIFF, PNG + world-file, …)
- turn that image into a BSB/KAP* chart (OpenCPN/NOAA style).
(*I’m assuming you really meant KAP; there is almost no mapping software that uses a .kab suffix.
If you really do need “.kab”, just tell me which program needs it and I’ll tweak the steps.)
Below are three common ways to do the job – pick whichever tool-chain you’re happiest with.
──────────────────────────────────────────────────────────────────────────────
A. 100 % Free & Open-Source Tool-chain
──────────────────────────────────────────────────────────────────────────────
Requirements
• GDAL ≥ 3.0 compiled with OZI and BSB/ KAP drivers
• ozfextract (or ozf2img – small utility to uncompress OZF files)
• imgkap (part of the opencpn-bsb tools)
Step-by-step
-
Unpack the OZF image
ozfextract myChart.ozfx3 myChart.png # produces PNG + myChart.map
(ozfextract keeps the Ozi .map file, which contains the geo-calibration.)
-
Let GDAL build a GeoTIFF from the .map calibration
gdal_translate -of GTiff myChart.map myChart.tif
# Optionally dither it to 8-bit so it fits the BSB spec
gdal_translate -ot Byte -of GTiff -co "TILED=YES" myChart.tif myChart_8bit.tif
-
Convert GeoTIFF → KAP
imgkap myChart_8bit.tif myChart.kap
imgkap will ask you for a title, edition date, sounding units, etc.
When it finishes you have a valid *.kap file ready for OpenCPN, iNavX, qtVlm, …
──────────────────────────────────────────────────────────────────────────────
B. “Click-click-done” with mapc2mapc (Windows / macOS under Wine)
──────────────────────────────────────────────────────────────────────────────
- Download mapc2mapc (share-ware, 15-day full-function trial).
- File ➜ “Load Ozi Map” – open the .map that belongs to your .ozfx3.
The program automatically reads the .ozfx3 image.
- File ➜ “Write Charts” ➜ “BSB/KAP”.
- Fill in the chart metadata and hit OK.
Done – mapc2mapc writes a ready-to-use .KAP in one jump (it runs the GDAL
steps for you behind the scenes).
──────────────────────────────────────────────────────────────────────────────
C. With Commercial GIS (Global Mapper / QGIS + Plugin)
──────────────────────────────────────────────────────────────────────────────
Global Mapper can read .ozfx3 natively.
- File ➜ Open Data File(s)… ➜ pick the .ozfx3 or .map.
- File ➜ Export ➜ Export Raster/Image Format ➜ “BSB Nautical Charts (KAP)”.
- Fill out the small dialog (chart number, edition, units) ➜ Export.
(QGIS itself is read-only for BSB, but there’s a python plugin “kapwriter”
that can hand the raster to imgkap for you, basically mirroring method A.)
──────────────────────────────────────────────────────────────────────────────
Trouble-shooting tips
──────────────────────────────────────────────────────────────────────────────
• BSB/KAP specification is 8-bit palette; if imgkap yells about 24-bit data,
re-run gdal_translate with “-ot Byte ‑co NBITS=8 ‑co COMPRESS=LZW”.
• Geodata missing? Make sure the .map file is in the same folder as the .ozfx3
before running ozfextract/gdal.
• Chart too big? Split it with mapc2mapc’s “Tile/Split” before exporting – some
plotters choke on KAPs over ~20 000 × 20 000 px.
──────────────────────────────────────────────────────────────────────────────
Bottom line
──────────────────────────────────────────────────────────────────────────────
- Extract the raster out of the OZF3 container.
- Preserve/transfer the calibration data.
- Feed the raster + calibration into a BSB/KAP writer (imgkap, mapc2mapc,
Global Mapper, etc.).
That’s all there is to it! If the target really must be a “.kab” (not .kap),
shoot me the name of the navigation package you’re targeting and I’ll adjust
the recipe. Happy chart making ⛵️📡