Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

The 'mapcode' Codec Tool

This directory contains a Mapcode encoding/decoding utility. To build the original Mapcode tool, execute:

cd ../mapcodelib
gcc -O -c mapcoder.c
cd ../utility
gcc -O mapcode.cpp -lm -o mapcode ../mapcodelib/mapcoder.o

For help, simply execute:


As an example, type:

./mapcode --decode NLD XX.XX

This tool provides a rather extensive command-line interface to encode and decode Mapcodes.

If you use Microsoft Visual C++, you may need to add the following defines to your preprocessor settings:

You can’t perform that action at this time.