Skip to content

Releases: mapcode-foundation/mapcode-cpp

2.5.5

04 Oct 12:56
Compare
Choose a tag to compare
  • Added explanation of how to use with Swift.

  • Fixed test scripts.

2.5.4

02 Oct 11:39
Compare
Choose a tag to compare

Added encodeLatLonToSelectedMapcode as a convenience for languages that use the C library, but have difficulties dealing with multi-dimensional arrays (like Swift).

2.5.2

14 Jan 14:09
Compare
Choose a tag to compare
  • Added unit test for floating point error with code "40822.schol".
  • Added locale support.
  • Added many languages.
  • Hardened unit tests.

2.5.1

02 Nov 14:25
Compare
Choose a tag to compare
  • Updated unit test to compile with plain C and added some test cases.

2.5.0

01 Nov 08:11
Compare
Choose a tag to compare
  • Added support for getting territory names in English and local alphabets.
  • Added much improved unit test scripts to run gprof, valgrind, the CLang address sanitize
    and compare the output of the new library with and older version.

2.4.0

25 Oct 10:36
Compare
Choose a tag to compare
  • Added scripts for Korean (Choson'gul / Hangul), Burmese, Khmer, Sinhalese, Thaana (Maldivan),
    Chinese (Zhuyin, Bopomofo), Tifinagh (Berber), Tamil, Amharic, Telugu, Odia, Kannada, Gujarati.
  • Renamed constants to more correct terms (Malay to Malayalam, Hindi to Devanagari).
  • Added getAlphabetsForTerritory(t), returning the most commonly used alphabets for territory t.
  • Improved some characters for Arabic and Devanagari.
  • Fixed Bengali to also support Assamese.
  • Improved readability of implementation.
  • Added conditional define option for unittest: NO_POSIX_THREADS. Add -DNO_POSIX_THREADS
    to your compiler command-line to not use pthreads.h, for example, on MSVC platforms.
  • Added conditional define option library: NO_FAST_ENCODE. Add -DNO_FAST_ENCODE to your
    compiler command-line to not use the fast encoding (default is to use fast encoding). Using
    fast encoding speeds up de encoding by a factor of 2. For normal use, there is no reason not
    to use fast encoding.
  • Added parseMapcodeString to get individual mapcode elements, like the territory code,
    the 'proper' mapcode (without the territory and precision extension) and the precision
    extension parsed from a (user) input string.
  • Fixed bug in parseMapcodeString and compareWithMapcodeFormat.

2.3.0

02 Oct 15:57
Compare
Choose a tag to compare

Added Arabic support.

2.2.2

19 Jul 10:16
Compare
Choose a tag to compare

Removed minor warnings from CLion inspections and cleaned up README files.

2.2.1

29 Sep 12:01
Compare
Choose a tag to compare
  • Fixed mapcode utility.

2.1.5

03 Sep 14:09
Compare
Choose a tag to compare

Removed isInsideTerritory by much stricter unit test