Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Prepare for release
  • Loading branch information
rijnb committed May 21, 2015
commit 9de16400165f0ba3e0602a55bd160669a6b69ff7
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Original C library created by Pieter Geelen. Work on Java version
of the Mapcode library by Rijn Buve and Matthew Lowden.
of the Mapcode library by Rijn Buve (original port by Matthew Lowden).

Copyright (C) 2014-2015 Stichting Mapcode Foundation (http://www.mapcode.com)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ decode Mapcodes.
Retired legacy aliases EAZ and SKM, AU-QL, AU-TS, AU-NI and AU-JB.

Retired legacy Antarctica claims AT0 through AT8.

* 1.41.1

Bugfix for “utility/mapcode” utility (-d option was case sensitive).
Expand Down
6 changes: 5 additions & 1 deletion utility/mapcode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ static void usage(const char* appName) {
printf(" and the (x, y, z) coordinates are placed on a sphere with radius 1.\n");
printf(" The (x, y, z) coordinates are primarily meant for visualization of the data set.\n");
printf("\n");
printf(" Example:\n");
printf(" %s -g 100 : produces a grid of 100 points as lat/lon pairs\n");
printf(" %s -gXYZ 100 : produces a grid of 100 points as (x, y, z) sphere coordinates)\n");
printf("\n");
printf(" Notes on the use of stdout and stderr:\n");
printf(" stdout: used for outputting 3D point data; stderr: used for statistics.\n");
printf(" You can redirect stdout to a destination file, while stderr will show progress.\n");
Expand Down Expand Up @@ -216,7 +220,7 @@ static void selfCheckLatLonToMapcode(const double lat, double lon, const char* t
}

found = (((strcasecmp(territory, foundTerritory) == 0) ||
(strcasecmp(territory, foundTerritoryMin) == 0)) &&
(strcasecmp(territory, foundTerritoryMin) == 0)) &&
(strcasecmp(mapcode, foundMapcode) == 0));
}
if (!found) {
Expand Down