Skip to content

Commit 8b3958c

Browse files
Merge pull request #12 from mapcode-foundation/dev
Minor fix for release 2.0.2.1
2 parents df842aa + 701e662 commit 8b3958c

File tree

4 files changed

+148
-191
lines changed

4 files changed

+148
-191
lines changed

README.md

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Mapcode Library for C/C++
1+
# Mapcode Library for C/C++
22

33
Copyright (C) 2014-2015 Stichting Mapcode Foundation (http://www.mapcode.com)
44

@@ -11,10 +11,15 @@ Copyright (C) 2014-2015 Stichting Mapcode Foundation (http://www.mapcode.com)
1111

1212
The directory 'mapcodelib' contains the files:
1313

14-
mapcoder.h <-- Header file with method prototypes and defines for caller.
14+
mapcoder.h <-- Header file with method prototypes and defines for caller.
1515
mapcoder.c
1616
basics.h
1717

18+
mapcode_fastencode.h <-- include unless FAST_ENCODE is undefined
19+
20+
mapcode_countrynames.h <-- optional array with english territory names, including official names
21+
mapcode_countrynames_short.h <-- optional array with english territory names
22+
1823
Together these provide routine to encode/decode Mapcodes.
1924

2025
Documentation, including example snippets of C source code, can be found in
@@ -50,21 +55,26 @@ decode Mapcodes.
5055

5156
# Release Notes
5257

58+
* 2.0.2.1
59+
60+
Cleaned up source, removed legacy code; Renamed dividemaps.h to mapcode_fast_encode.h;
61+
62+
Improved convertToRoman and convertToAlphabet to trim and skip leading territory;
63+
64+
Rolled back 2.0.2 fix for letters "i" and "o" in Hindi, Bengali, Tibetan and Gurmukhi;
65+
5366
* 2.0.2
5467

5568
Speed-up of encoding (4 times faster than 2.0.1).
5669

57-
Added optional `mapcode_countrynames.h`, with the English short names, formal names,
58-
and name variants of all territories.
59-
60-
Added optional `mapcode_countrynames_short.h` with only the short English names and
61-
name variants.
70+
Added optional `mapcode_countrynames.h` (with the English short names, formal names,
71+
and name variants of all territories) and `mapcode_countrynames_short.h` (with only
72+
the short English names and name variants.
6273

6374
Stricter processing of high-precision letters (now fails on illegal high-precision
6475
letters, which includes the letter Z).
6576

66-
Fix to allow illegal letters "i" and "o" in Hindi, Bengali, Tibetan and Gurmukhi
67-
(so they can later be interpreted as digits 1 and 0).
77+
Fix for letters "i" and "o" in Hindi, Bengali, Tibetan and Gurmukhi;
6878

6979
Fix for some unrecognized aliases in `convertTerritoryIsoNameToCode()`.
7080

@@ -162,3 +172,4 @@ distributed under the License is distributed on an "AS IS" BASIS,
162172
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
163173
See the License for the specific language governing permissions and
164174
limitations under the License.
175+
File renamed without changes.

0 commit comments

Comments
 (0)