- Where is my log file? Where is my config.ini file? Read this explanation - Installing OpenCPN
- I can't find all those files you are talking about. A big contributing factor to this problem is that Windows default settings hides system files, and also by default, don't show file extensions. These settings can be changed however. In XP go to My Computer ->Tools -> Folder Options -View. Mark "Show hidden files and folders" and untick the box "Hide extensions for known file types". Other versions of Windows are similar, but may not be exactly like this. Now you should find the files we talked about in the previous paragraph.
- I have a problem so I reinstalled - but that did not help. Try this approach instead - Installing OpenCPN
- My charts used to show up just fine in OpenCPN, but using 3.0.2 and later, they no longer work. OpenCPN used to display charts with an unknown projection as a Mercator chart. This is no longer the case. If OpenCPN don't recognize the chart projection, it will not be displayed. Potentially serious errors are thus avoided. The event is logged in the opencpn.log. Users may run into problems if a chart projection is stated as "UNKNOWN" even though it really is a prefect Mercator chart. Unfortunately, some conversion tools take a shortcut and don't enter the "PR" tag in the kap-chart-header correctly. The projection of a chart can always be found, and the "PR=UNKNOWN" should always be avoided. Official charts that OpenCPN really can't display, with a latitude < 70 degrees north/south, are very few indeed. Really only a handful of legacy, Gnomonic, large scale charts.
- I get a lot of error messages when starting OpenCPN from the Linux command line.
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)or
(opencpn:8979): Gdk-CRITICAL **: IA__gdk_drawable_get_size: assertion `GDK_IS_DRAWABLE (drawable)' failedare quite normal and have nothing to do with OpenCPN. Just ignore them!
(opencpn:8979): Gdk-CRITICAL **: IA__gdk_drawable_get_depth: assertion `GDK_IS_DRAWABLE (drawable)' failed
Error opening coefficient file
(opencpn:8979): Gdk-CRITICAL **: IA__gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed
- Why doesn't the plugin work? See http://opencpn.org/ocpn/node/233
- When will OpenCPN be ported to Android?
That is not likely to happen in the near future, if at all. There are some real issues preventing a port. Wxwidgets, which is behind everything you see on OpenCPN, has not been ported to Android. A project to do just that, is in it's infancy. Android is using a Linux kernel but on top of that is a lot Java code while OpenCPN and all the supported operating systems, are coded in C & C++. This means some substantial rewriting of existing code. Another development worth watching, is Ubuntu running on Android hardware which is in the pipeline.
- Why does it take so long time to load vector charts?
The behavior you see is expected for ENC charts. ENCs must be converted to internal SENC format before use for navigation. This takes a little bit of time, depending on your system capabilities. But it only has to be done once, and the converted SENCs are stored on your system for later use.
All ECS systems must convert ENCs to SENCs. Some take longer, (like OpenCPN), so that subsequent access is faster. Some convert faster, leaving more work to do at the time of actual chart display. Its a design decision. OpenCPN is optimized for speed in real use, not for speed in conversion.
- What are all those 'U' things all over my chart?
The feature being rendered is S57 Text relating to 'M_QUAL'.
This is a meta-object describing the quality of data shown. The Attribute of interest is CATZOC, or "Category of Zone of Confidence". The value on most US ENC's is "6", or "un-assessed". Thus, the 'U'.
You can turn this symbol off in OpenCPN by de-selecting the box next to M_QUAL in 'Tool Box' / 'Vector Charts' tab 'Mariners Standard' selection list box.
Unticking the box "Meta Objects" also hides the "U" symbols.
To learn the acronyms used in this application search the S57 'Object and Attribute' catalog at: http://www.s-57.com/
- I have routes and way points in Sea Clear and I would like to import them into OpenCPN. Can I do it?
Yes. I had originally created and maintained all my routes and waypoints in SeaClear, exported them, loaded them into GPSUtility (for Windows) and saved them as text files.
To import into OpenCPN I opened all my text files (routes and waypoints) with GPSUtility, saved that out as one big gpx file, and loaded it into OpenCPN. Works like a champ.
I've edited them and saved them back out as GPX files with no trouble.
Individual routes can be edited and saved in appropriately named GPX files.
- Whenever I try to open a particular chart OpenCPN crashes. What's going on?
Chances are the chart file is corrupted. Note the name and number of the suspect chart and replace it with a fresh download. Read the log file that may contain relevant information regarding the chart. Sometimes the bad chart blocks OpenCPN from restarting. Follow these instructions instead - Installing OpenCPN
The PortAudio sound libraries are included i OpenCPN and provides full ALSA support.
Sound on Windows and Mac are not changed.
The earlier implementation of Linux sounds is described below. It was a mess.
OpenCPN uses a simple sound feature available in wxWidgets, wxSound, that uses OSS (Open Sound System) to play sounds. If OSS is not available, SDL (Simple Direct Media Layer) will be used instead. It has no support for ALSA!
With version 11.04, Ubuntu dropped the OSS support and the OpenCPN "sound problem", started
OSS is replaced with ALSA (Advanced Linux Sound Architecture) on newer Linux distributions, and Ubunt. This is for good reasons. AlSA replaced OSS about 10 years ago!
Similarly the libwxgtk2.8-0, that OpenCPN relies on, is not compiled with support for SDL in the Ubuntu version. The same applies to many other Linux distributions. This is the core of the sound problem, when using OpenCPN on Linux.
How to get sound to work?
There are a few options available. Starting with the easiest......
1. "aoss" is a "wrapper program" that catches OSS sound and "translates" it to the default ALSA sound system. Ubuntu does not install "aoss" by default, but can be added using "sudo apt-get install alsa-oss".
To use "aoss" just start OpenCPN from the command line like this:
To make it easier, write a shell script containing the single line above, and make it executable. Change the link (icon) where you normally start OpenCPN, to point to the new script.
2 "padsp" works similar to "aoss", using the "pulseaudio server". It's available when the "pulseaudio-utils" package is installed. To get sound in OpenCPN start this way from the command line:
Of course, this can be scripted as well, as for "aoss".
3. Install a version of libwxgtk that includes support for SDL. Such versions are available from http://apt.wxwidgets.org. OpenCPN 3.0.x requires the minimum version of ibwxgtk2.8-0 to be minimum. 2.8.12, for all features to work as expected.
Download the correct package for your version of Debian or Ubuntu. Unfortunately the latest Ubuntu versions are not included, but "squeeze"(strictly a Debian package) is a good candidates. Goto apt.wxwidgets.org/dists/squeeze-wx/main/, and select 32 or 64 bits version. For example, the latest 64 bits package is apt.wxwidgets.org/dists/squeeze-wx/main/binary-amd64/libwxgtk2.8-0_220.127.116.11-0_amd64.deb
Download and then
$sudo dpkg -i ibwxgtk2.8XXXXXX (the proper name of the downloaded version), to install from the command line.
Alternatively, simply clicking on the package is enough on many Linuxes.
In both cases you may have to force "upgrade" to a lower version than the existing package, depending on your installation.
Once you have installed wxgtk with support for SDL, as described above, open Synaptic, find the installed package. Mark it an then goto "Package" and tick the "Lock Version" box. This is to prevent that your newly installed wxgtk will be replaced by a version with a higher version, that lacks support for SDL.
Do not try to update your system from the command-line, as "apt-get" will not respect the "Lock".
4. You can also recompile libwxgtk and include support for SDL. Not for the faint of heart.
5. It is possible to compile your own kernel and include support for OSS, but this solution is not for the faint of heart either.
- OpenCPN and Great Circle Navigation
Raster charts display bearings and headings as straight, measurable lines on the chart. Similarly, Vector ENC's are rendered as Mercator projections in OpenCPN and most other ECS's for the same reason.
For typical coastal navigation, errors which occur using rhumb line instead of great circle calculations are small for the distances usually covered by one chart.
Mercator Charts and Mercator navigation is the standard for most navigational purposes. Other terms used instead of "Mercator Sailing" is "Loxodrome Sailing" or "Rhumb Line Sailing".
As of OpenCPN 3.2.0 Great Circles are handled directly, Great Circle Routes can be used as explained on Planning Data page in the wiki. There is also a plugin available as well as some Supplementary Software to handle great Circles.