1
- # Mapcode Library for C/C++
1
+ # Mapcode Library for C/C++
2
2
3
3
Copyright (C) 2014-2015 Stichting Mapcode Foundation (http://www.mapcode.com )
4
4
@@ -11,10 +11,15 @@ Copyright (C) 2014-2015 Stichting Mapcode Foundation (http://www.mapcode.com)
11
11
12
12
The directory 'mapcodelib' contains the files:
13
13
14
- mapcoder.h <-- Header file with method prototypes and defines for caller.
14
+ mapcoder.h <-- Header file with method prototypes and defines for caller.
15
15
mapcoder.c
16
16
basics.h
17
17
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
+
18
23
Together these provide routine to encode/decode Mapcodes.
19
24
20
25
Documentation, including example snippets of C source code, can be found in
@@ -50,21 +55,26 @@ decode Mapcodes.
50
55
51
56
# Release Notes
52
57
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
+
53
66
* 2.0.2
54
67
55
68
Speed-up of encoding (4 times faster than 2.0.1).
56
69
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.
62
73
63
74
Stricter processing of high-precision letters (now fails on illegal high-precision
64
75
letters, which includes the letter Z).
65
76
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;
68
78
69
79
Fix for some unrecognized aliases in ` convertTerritoryIsoNameToCode() ` .
70
80
@@ -162,3 +172,4 @@ distributed under the License is distributed on an "AS IS" BASIS,
162
172
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
163
173
See the License for the specific language governing permissions and
164
174
limitations under the License.
175
+
0 commit comments