aboutsummaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorSøren Holm <sgh@sgh.dk>2018-09-05 22:17:10 +0200
committerKristian Evers <kristianevers@gmail.com>2018-09-05 22:17:10 +0200
commitc11b98b058d883df6a0ef0a052ffd7565b00f921 (patch)
treef15a8c57306ab2a5bb7db062b6a793e0ed66b751 /docs/source
parent76488c5133207045f4bf9ccd3a9b4d0daf2372f5 (diff)
downloadPROJ-c11b98b058d883df6a0ef0a052ffd7565b00f921.tar.gz
PROJ-c11b98b058d883df6a0ef0a052ffd7565b00f921.zip
Add -d option to proj, cs2cs and cct (#1109)
Specify number of decimals to display when transforming coordinates with either proj, cs2cs or cct.
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/apps/cct.rst4
-rw-r--r--docs/source/apps/cs2cs.rst4
-rw-r--r--docs/source/apps/proj.rst4
3 files changed, 12 insertions, 0 deletions
diff --git a/docs/source/apps/cct.rst b/docs/source/apps/cct.rst
index b8f63cbb..f3130c78 100644
--- a/docs/source/apps/cct.rst
+++ b/docs/source/apps/cct.rst
@@ -32,6 +32,10 @@ The following control parameters can appear in any order:
Specify input columns for (up to) 4 input parameters. Defaults to 1,2,3,4.
+.. option:: -d<n>
+
+ Specify the number of decimals in the output. Applies to both angles and distances.
+
.. option:: -I
Do the inverse transformation.
diff --git a/docs/source/apps/cs2cs.rst b/docs/source/apps/cs2cs.rst
index 83b924a8..7871b281 100644
--- a/docs/source/apps/cs2cs.rst
+++ b/docs/source/apps/cs2cs.rst
@@ -36,6 +36,10 @@ The following control parameters can appear in any order:
line to be passed through without processing. This option applicable to
ASCII input only. (# is the default value).
+.. option:: -d<n>
+
+ Specify the number of decimals in the output. Applies to both angles and distances.
+
.. option:: -e <string>
Where *string* is an arbitrary string to be output if an error is detected during
diff --git a/docs/source/apps/proj.rst b/docs/source/apps/proj.rst
index 1eb11d3b..c81a230b 100644
--- a/docs/source/apps/proj.rst
+++ b/docs/source/apps/proj.rst
@@ -37,6 +37,10 @@ The following control parameters can appear in any order
floating point words. This option is to be used when :program:`proj` is a child process
and allows bypassing formatting operations.
+.. option:: -d<n>
+
+ Specify the number of decimals in the output. Applies to both angles and distances.
+
.. option:: -i
Selects binary input only (see :option:`-b`).