Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

The 'mapcode' Codec Tool

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

gcc -O mapcode.cpp -lm -lpthread -o mapcode

(Or if you need to make sure there are no warnings:)

gcc -Wall -O mapcode.cpp -lm -lpthread -o mapcode

For help, simply execute:

./mapcode

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:

NO_POSIX_THREADS
_CRT_SECURE_NO_WARNINGS
_CRT_NONSTDC_NO_DEPRECATE