File: README.md

package info (click to toggle)
mapcode 2.5.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,156 kB
  • sloc: ansic: 57,196; cpp: 626; sh: 246; makefile: 7
file content (29 lines) | stat: -rw-r--r-- 646 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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:

    ./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