Skip to content

Commit 9de1640

Browse files
committed
Prepare for release
1 parent f9097ac commit 9de1640

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Original C library created by Pieter Geelen. Work on Java version
2-
of the Mapcode library by Rijn Buve and Matthew Lowden.
2+
of the Mapcode library by Rijn Buve (original port by Matthew Lowden).
33

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ decode Mapcodes.
5656
Retired legacy aliases EAZ and SKM, AU-QL, AU-TS, AU-NI and AU-JB.
5757

5858
Retired legacy Antarctica claims AT0 through AT8.
59-
59+
6060
* 1.41.1
6161

6262
Bugfix for “utility/mapcode” utility (-d option was case sensitive).

utility/mapcode.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@ static void usage(const char* appName) {
115115
printf(" and the (x, y, z) coordinates are placed on a sphere with radius 1.\n");
116116
printf(" The (x, y, z) coordinates are primarily meant for visualization of the data set.\n");
117117
printf("\n");
118+
printf(" Example:\n");
119+
printf(" %s -g 100 : produces a grid of 100 points as lat/lon pairs\n");
120+
printf(" %s -gXYZ 100 : produces a grid of 100 points as (x, y, z) sphere coordinates)\n");
121+
printf("\n");
118122
printf(" Notes on the use of stdout and stderr:\n");
119123
printf(" stdout: used for outputting 3D point data; stderr: used for statistics.\n");
120124
printf(" You can redirect stdout to a destination file, while stderr will show progress.\n");
@@ -216,7 +220,7 @@ static void selfCheckLatLonToMapcode(const double lat, double lon, const char* t
216220
}
217221

218222
found = (((strcasecmp(territory, foundTerritory) == 0) ||
219-
(strcasecmp(territory, foundTerritoryMin) == 0)) &&
223+
(strcasecmp(territory, foundTerritoryMin) == 0)) &&
220224
(strcasecmp(mapcode, foundMapcode) == 0));
221225
}
222226
if (!found) {

0 commit comments

Comments
 (0)