[mapcode] 07/32: Renamed country to territory

Stefan Fritsch sf at moszumanska.debian.org
Wed Nov 2 23:27:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

sf pushed a commit to annotated tag v1.33
in repository mapcode.

commit 6ee39c4e0b15979c30720f0c0e8fe7e912b587b6
Author: Rijn Buve <rijn at buve.nl>
Date:   Wed Aug 20 13:08:33 2014 +0200

    Renamed country to territory
---
 README.txt | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/README.txt b/README.txt
index d5ed29a..3ac1ab3 100644
--- a/README.txt
+++ b/README.txt
@@ -11,4 +11,31 @@ This directory contains the original C++ Mapcode sources and an application to
 To build the original Mapcode tool:
   gcc mapcode.c -o mapcode
 
-For help, simply execute 'mapcode' without ny arguments.
+For help, simply execute 'mapcode' without no arguments. This will show you the
+help text:
+
++----
+Usage:
+    mapcode [-d | --decode] <default-territory-ISO3> <mapcode> [<mapcode> ...]
+
+       Decode a Mapcode to a lat/lon. The default territory code is used if
+       the Mapcode is a shorthand local code
+
+    mapcode [-e | --encode] <lat:-90..90> <lon:-180..180> [territory-ISO3]>
+
+       Encode a lat/lon to a Mapcode. If the territory code is specified, the
+       encoding will only succeeed if the lat/lon is located in the territory.
+
+    mapcode [-g | --generate] <nrPoints> [<seed>]
+
+       Create a test set of a number of uniformly distributed lat/lon pairs,
+       3D x/y/z points and their Mapcodes). The output format is:
+           <nr> <lat> <lon> <x> <y> <z>
+           <territory> <mapcode>            (repeated 'nr' rtimes)
+           <1 empty line>
+
+       The points will be uniformly distributed over the 3D surface of the Earth
+       rather than using uniformly distributed lat/lon values.
+       Ranges:
+           nr > 1    lat = -90..90    lon = -180..180    x,y,z = -1..1
++----

-- 
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