GeographicLib 2.1.2
Utility programs
Back to Getting started. Forward to Code organization. Up to Contents.

Various utility programs are provided with GeographicLib. These should be installed in a directory included in your PATH (e.g., /usr/local/bin). These programs are wrapper programs that invoke the underlying functionality provided by the library.

The utilities are

The documentation for these utilities is in the form of man pages. This documentation can be accessed by clicking on the utility name in the list above, running the man command on Unix-like systems, or by invoking the utility with the --help option. A brief summary of usage is given by invoking the utility with the -h option. The version of the utility is given by the --version option.

The utilities all accept data on standard input, transform it in some way, and print the results on standard output. This makes the utilities easy to use within scripts to transform tabular data; however they can also be used interactively, often with the input supplied via a pipe, e.g.,

  • echo 38SMB4488 | GeoConvert -d

Online versions of four of these utilities are provided:

Back to Getting started. Forward to Code organization. Up to Contents.