aboutsummaryrefslogtreecommitdiff
path: root/docs/source/apps
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-04-30 11:05:14 +0200
committerKristian Evers <kristianevers@gmail.com>2018-04-30 11:05:14 +0200
commitcd23e5f1b2630ee07567bd361373ba725774061b (patch)
treeb33a6e3ad9619a1e9870cfddc316a9bb91e2a36c /docs/source/apps
parentf8aacfb513c9380c4df3b2dda124c0b1da7aaa3c (diff)
parentd0fefa4104d9b655d59e400cda616f0b4d407071 (diff)
downloadPROJ-cd23e5f1b2630ee07567bd361373ba725774061b.tar.gz
PROJ-cd23e5f1b2630ee07567bd361373ba725774061b.zip
Merge remote-tracking branch 'osgeo/master' into doc-improvements
Diffstat (limited to 'docs/source/apps')
-rw-r--r--docs/source/apps/cct.rst7
-rw-r--r--docs/source/apps/gie.rst40
2 files changed, 47 insertions, 0 deletions
diff --git a/docs/source/apps/cct.rst b/docs/source/apps/cct.rst
index dc2944f2..20aec06c 100644
--- a/docs/source/apps/cct.rst
+++ b/docs/source/apps/cct.rst
@@ -44,6 +44,13 @@ The following control parameters can appear in any order:
Specify a fixed observation height to be used for all input data.
+.. 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
+ it comes from ``STDIN``, a file or interactive user input.
+
.. option:: -v, --verbose
Write non-essential, but potentially useful, information to stderr.
diff --git a/docs/source/apps/gie.rst b/docs/source/apps/gie.rst
index eee0e22d..777c5833 100644
--- a/docs/source/apps/gie.rst
+++ b/docs/source/apps/gie.rst
@@ -260,6 +260,46 @@ gie command language
See ``gie -l`` for a list of error codes that can be ignored.
+.. option:: echo <text>
+
+ Add user defined text to the output stream. See the example below.
+
+ .. code-block:: console
+
+ <gie>
+ echo ** Mercator projection tests **
+ operation +proj=merc
+ accept 0 0
+ expect 0 0
+ </gie>
+
+ which returns
+
+ .. code-block:: console
+
+ -------------------------------------------------------------------------------
+ Reading file 'test.gie'
+ ** Mercator projection test **
+ -------------------------------------------------------------------------------
+ total: 1 tests succeeded, 0 tests skipped, 0 tests failed.
+ -------------------------------------------------------------------------------
+
+.. option:: skip
+
+ Skip any test after the first occurence of :option:`skip`. In the example below only
+ the first test will be performed. The second test is skipped. This feature is mostly
+ relevant for debugging when writing new test cases.
+
+ .. code-block:: console
+
+ <gie>
+ operation proj=merc
+ accept 0 0
+ expect 0 0
+ skip
+ accept 0 1
+ expect 0 110579.9
+ </gie>
Background
**********