aboutsummaryrefslogtreecommitdiff
path: root/docs/source/apps/cct.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/apps/cct.rst')
-rw-r--r--docs/source/apps/cct.rst28
1 files changed, 16 insertions, 12 deletions
diff --git a/docs/source/apps/cct.rst b/docs/source/apps/cct.rst
index 20aec06c..a08f1471 100644
--- a/docs/source/apps/cct.rst
+++ b/docs/source/apps/cct.rst
@@ -13,18 +13,18 @@ cct
Synopsis
********
- **cct** [ **-cotvz** [ args ] ] *+opts[=arg]* file[s]
+ **cct** [ **-cIostvz** [ args ] ] *+opts[=arg]* file[s]
Description
***********
:program:`cct` a 4D equivalent to the :program:`proj` projection program,
-performs transformation coordinate systems on a set of input points. The
-coordinate system transformation can include translation between projected
+performs transformation coordinate systems on a set of input points. The
+coordinate system transformation can include translation between projected
and geographic coordinates as well as the application of datum shifts.
-The following control parameters can appear in any order:
+The following control parameters can appear in any order:
.. program:: cct
@@ -32,23 +32,27 @@ 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:: -I
+
+ Do the inverse transformation.
+
.. option:: -o <output file name>, --output=<output file name>
Specify the name of the output file.
.. option:: -t <time>, --time=<time>
- Specify a fixed observation time to be used for all input data.
+ Specify a fixed observation *time* to be used for all input data.
.. option:: -z <height>, --height=<height>
- Specify a fixed observation height to be used for all input data.
+ Specify a fixed observation *height* to be used for all input data.
-.. option:: s <n>, --skip-lines=<n>
+.. option:: -s <n>, --skip-lines=<n>
.. versionadded:: 5.1.0
- Skip the first *n* lines of input. This applies to any kind of input, wether
+ Skip the first *n* lines of input. This applies to any kind of input, whether
it comes from ``STDIN``, a file or interactive user input.
.. option:: -v, --verbose
@@ -89,7 +93,7 @@ Examples
.. code-block:: console
- echo 12 55 0 0 | cct +proj=utm +zone=32 +ellps=GRS80
+ echo 12 55 0 0 | cct +proj=utm +zone=32 +ellps=GRS80
will transform the input geographic coordinates into UTM zone 32 coordinates.
Hence, the command
@@ -98,7 +102,7 @@ Hence, the command
echo 12 55 | cct -z0 -t0 +proj=utm +zone=32 +ellps=GRS80
-Should give results comparable to the classic proj command
+Should give results comparable to the classic :program:`proj` command
.. code-block:: console
@@ -120,14 +124,14 @@ Should give results comparable to the classic proj command
.. code-block:: console
- cct -c 5,2,1,4 +proj=utm +ellps=GRS80 +zone=32
+ cct -c 5,2,1,4 +proj=utm +ellps=GRS80 +zone=32
5. As (2) but specify fixed height and time, hence needing only 2 cols in
input:
.. code-block:: console
- cct -t 0 -z 0 +proj=utm +ellps=GRS80 +zone=32
+ cct -t 0 -z 0 +proj=utm +ellps=GRS80 +zone=32
Background