Skip to content

Commit fb1554b

Browse files
committed
Merge pull request #2 from mapcode-foundation/dev-1.50
Move from dev-1.50 to master
2 parents 55ff4b0 + acc6dc2 commit fb1554b

File tree

6 files changed

+9842
-9779
lines changed

6 files changed

+9842
-9779
lines changed

NOTICE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
-------------------------------------------------------------------------------
2-
MAPCODE JAVA LIBRARY
2+
MAPCODE JAVASCRIPT LIBRARY
33
-------------------------------------------------------------------------------
44

55
Original C library created by Pieter Geelen. Work on Java version
6-
of the Mapcode library by Rijn Buve and Matthew Lowden.
6+
of the Mapcode library by Rijn Buve (original port by Matthew Lowden).
77

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

README.md

Lines changed: 57 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ Copyright (C) 2014 Stichting Mapcode Foundation (http://www.mapcode.com)
66

77
**Online documentation can be found at: http://mapcode-foundation.github.io/mapcode-js/**
88

9+
If you plan to use mapcodes in HTML/Javascript extensively, you may be interested in
10+
looking at running an instance of a Mapcode REST API server in your applications
11+
landscape.
12+
13+
This reduces the payload the HTML/Javascript tremendously, as the mapcode tables will
14+
not need to be transported to the client.
15+
16+
You can find the Mapcode REST API sources, ready to be deployed on any JVM server,
17+
like Tomcat or Jetty, on: **https://github.com/mapcode-foundation/mapcode-rest-service**
18+
19+
920
## License
1021

1122
Licensed under the Apache License, Version 2.0 (the "License");
@@ -26,38 +37,71 @@ of the Mapcode library by Rijn Buve and Matthew Lowden.
2637
## Javascript Files for Mapcode Support
2738

2839
mapcode.js - Key routines for mapcode support
29-
ndata.js - Data table for mapcode support
40+
ndata.js - Data table for mapcode support
3041

31-
sample.html - Sample code to interpret / generate mapcodes
32-
ctrynams.js - Optional js array with the names of territories (in English)
42+
sample.html - Sample code to interpret / generate mapcodes
43+
ctrynams.js - Optional js array with the names of territories (in English)
3344

3445
## Version History
3546

47+
* May 2015
48+
49+
* 1.50
50+
51+
Major release. This version is not backwards compatible with mapcode 1.4x: is has dropped support for
52+
Antartica AT0-8 codes and has a changed (improved) way of dealing with the Greek alphabet.
53+
54+
Added 22-chararcter post-processing of all-digit mapcodes for the Greek alphabet.
55+
56+
Retired legacy aliases EAZ and SKM, AU-QL, AU-TS, AU-NI and AU-JB.
57+
58+
Retired legacy Antarctica claims AT0 through AT8.
59+
3660
* January 2015
3761

38-
* 1.41 - Added the India state Telangana (IN-TG), until 2014 a region in Adhra Pradesh.
62+
* 1.41
63+
64+
Added the India state Telangana (IN-TG), until 2014 a region in Adhra Pradesh.
3965

4066
* August 2014
4167

42-
* 1.33 - Normalise results when longitude below -180 degrees.
68+
* 1.33
69+
70+
Normalise results when longitude below -180 degrees.
4371

44-
* 1.32 - Prevent FIJI failing to decode at exactly 180 degrees; prevent invalid filtering near the territory bounding rectangle.
72+
* 1.32
73+
74+
Prevent FIJI failing to decode at exactly 180 degrees; prevent invalid filtering near the territory bounding rectangle.
4575

4676
* April 2014
4777

48-
* 1.31 - Make iso2ccode() even more forgiving by allowing a state alias to be recognized in context.
78+
* 1.31
79+
80+
Make iso2ccode() even more forgiving by allowing a state alias to be recognized in context.
4981

50-
* 1.3 - Disable 7-char state codes for large states in India, and instead generate country mapcodes for states.
82+
* 1.3
83+
84+
Disable 7-char state codes for large states in India, and instead generate country mapcodes for states.
5185

52-
* 1.28 - Fix for starpipe "zoning" error, causing the last 2 mapcode characters to be ignored in certain areas.
86+
* 1.28
87+
88+
Fix for starpipe "zoning" error, causing the last 2 mapcode characters to be ignored in certain areas.
5389

54-
* 1.27 - Support undefined ranges in data array (useful for partial JavaScript builds).
90+
* 1.27
91+
92+
Support undefined ranges in data array (useful for partial JavaScript builds).
5593

5694
* May 2013
5795

58-
* 1.26 - Added alias OD for India, and 2.3 code for Daman and Diu.
96+
* 1.26
97+
98+
Added alias OD for India, and 2.3 code for Daman and Diu.
5999

60-
* 1.25 - Ccode2iso(c,2) support added.
100+
* 1.25
101+
102+
Ccode2iso(c,2) support added.
61103

62-
* 1.24 - Public domain release.
104+
* 1.24
105+
106+
Public domain release.
63107

0 commit comments

Comments
 (0)