[mapcode] 19/56: Prepare for release
Stefan Fritsch
sf at moszumanska.debian.org
Wed Nov 2 23:27:27 UTC 2016
This is an automated email from the git hooks/post-receive script.
sf pushed a commit to annotated tag v2.0.2
in repository mapcode.
commit 9de16400165f0ba3e0602a55bd160669a6b69ff7
Author: Rijn Buve <rijn at buve.nl>
Date: Thu May 21 10:20:04 2015 +0200
Prepare for release
---
NOTICE | 2 +-
README.md | 2 +-
utility/mapcode.cpp | 6 +++++-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/NOTICE b/NOTICE
index 12daceb..b61ad67 100644
--- a/NOTICE
+++ b/NOTICE
@@ -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)
diff --git a/README.md b/README.md
index 0e70aeb..df2aed9 100644
--- a/README.md
+++ b/README.md
@@ -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).
diff --git a/utility/mapcode.cpp b/utility/mapcode.cpp
index 74d3c5e..85d18cd 100644
--- a/utility/mapcode.cpp
+++ b/utility/mapcode.cpp
@@ -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");
@@ -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) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapcode.git
More information about the Pkg-grass-devel
mailing list