Commit graph

12 commits

Author SHA1 Message Date
nia
b908f95a1a geography: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
2021-10-26 10:45:05 +00:00
gdt
1edbf3a340 geography/mapcode: Update to 2.5.5
Upstream lacks NEWS, but obviously this should be a bugfix release
from 2.5.4.
2021-10-21 12:06:15 +00:00
gdt
ed9fa2dc59 geography/mapcode: Reorder lines (pkglint)
and whitespace rationalization
2021-10-21 00:50:59 +00:00
nia
530ecb7be5 geography: Remove SHA1 hashes for distfiles 2021-10-07 14:09:20 +00:00
wiz
188111f641 *: reset MAINTAINER for fhajny on his request 2020-05-27 19:37:36 +00:00
wiz
1e9caac440 *: update email for fhajny 2018-12-15 21:12:18 +00:00
fhajny
3e61d0a642 Update geography/mapcode to 2.5.4.
- Added encodeLatLonToSelectedMapcode as a convenience for languages
  that use the C library, but have difficulties dealing with
  multi-dimensional arrays (like Swift).
2017-10-03 12:15:02 +00:00
fhajny
ea09fdefe3 Update geography/mapcode to 2.5.2.
- Added unit test for floating point error with code "40822.schol".
- Added locale support.
- Added many languages.
- Hardened unit tests.
2017-01-16 13:49:40 +00:00
fhajny
9d291a704b Expand -lm arg to all platforms. Fixes build elsewhere. 2016-11-08 08:08:52 +00:00
fhajny
da8fc2ef4b Update geography/mapcode to 2.5.1. Fix cmake build.
2.5.1
- Updated unit test to compile with plain C and added some test cases.

2.5.0
- 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.
2016-11-03 15:06:41 +00:00
fhajny
fe8af99146 Update geography/mapcode to 2.4.0. Build with thread support.
Changes in 2.4.0

- 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.
- Additional bug fixes.
2016-10-26 10:50:33 +00:00
fhajny
b18df60a9d Import mapcode 2.3.0 as geography/mapcode.
Based on a PR by Aleksej Lebedev.

A mapcode represents a location. Every location on Earth can be
represented by a mapcode. Mapcodes were designed to be short,
easy to recognise, remember and communicate. They are precise
to a few meters, which is good enough for every-day use.
2016-10-25 08:22:27 +00:00