Eye4Software Hydromagic

Professional hydrographic survey software

Download free demo

Geoid Conversion

The "Geoid File Conversion Utility" is a freeware utility which can be used to convert geoid files between different formats. The utility is shipped with Hydromagic, but can be used as a stand alone tool as well.

The main goal of the software is to enable Hydromagic users to convert their geoid files to a format which can be read by the Hydromagic software. There are so many different geoid file formats around that we decided to use our own format, and create an external tool to get files converted to our internal format.

The following geoid file formats are currently supported (both reading and writing):

Geoid Converter

The tool is installed in the "Program" folder under the installation folder of the software. It can be started using Windows Explorer, or by locating the software under the Windows Start Menu.

Geoid File Conversion Utility

Converting Files

Converting geoid files with the Geoid File Conversion Utility is very straightforward. All you have to do is to select a source and destination format. You can use any combination of source and destination formats (although it doesn't make sense to set the source and destination formats to the same).

After selecting the formats, use the "Browse..." buttons to select an input and output file. In order to use geoid files in Hydromagic, the destination file has to be written in the Hydromagic "Geoids" folder which is selected by default. For destination files other then the Hydromagic Geoid Files, you can select another location as well.

When done, click the "Start" button and the conversion process should start. Converting a single file usually only takes a couple of seconds.


The Geoid File Conversion Utility supports two ASCII geoid file formats at this moment. Because there is no real standard for ASCII geoid files, the supported files are described below:

ASCII Geoid Height Grid File (*.grd)

You should use this option for a file which contains a header value contained by separation values for each cell. The header contains six values in the following order: South boundary, north boundary, west boundary, east boundary, vertical cell size and horizontal cell size.

    27.00000    36.97500   -14.00000    -0.02500     0.02500     0.02500
    52.383    52.342    52.302    52.257    52.205    52.147    52.073    51.978
    51.864    51.742    51.619    51.498    51.378    51.261    51.144    51.029
    50.916    50.805    50.695    50.588    50.484    50.391    50.301    50.212
    50.122    50.029    49.930    49.821    49.700    49.571    49.437    49.298
    49.155    49.006    48.853    48.697    48.539    48.379    48.220    48.063
    47.912    47.767    47.631    47.503    47.385    47.275    47.175    47.083
    46.998    46.917    46.838    46.760    46.682    46.606    46.534    46.469

ASCII XYZ Geoid File (*.txt)

This option is used for geoid files which consist entirely out of ASCII XYZ pairs as shown in the example below. These files do not have a header and calculate the number of rows, columns, boundaries and cell sizes directly from the XYZ records in the file.

    41449.795 3845328.858 24.700
    43449.799 3845328.878 24.613
    45449.803 3845328.897 24.516
    47449.807 3845328.916 24.429
    49449.811 3845328.935 24.342
    51449.815 3845328.954 24.255
    53449.819 3845328.973 24.178
    55449.823 3845328.992 24.091
    57449.827 3845329.012 24.004
    59449.831 3845329.030 23.917
    61449.835 3845329.049 23.830
    63449.839 3845329.068 23.743