diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-04-22 11:26:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-22 11:26:30 +0200 |
| commit | 94aa1fc5ea1660be3f4fd10d069c44772df165d3 (patch) | |
| tree | 5b492954020b6b23cfb98312b5ff1df2dca04031 /docs/source | |
| parent | 5142bfbf72f859832df3da691dc3e7488839b53c (diff) | |
| parent | 47458427c9a8e1bded36d5eb803153adf6ace0d2 (diff) | |
| download | PROJ-94aa1fc5ea1660be3f4fd10d069c44772df165d3.tar.gz PROJ-94aa1fc5ea1660be3f4fd10d069c44772df165d3.zip | |
Merge pull request #2168 from rouault/gie_strict_mode
gie: implement a strict mode with <gie-strict> </gie-strict> (fixes #2158)
Diffstat (limited to 'docs/source')
| -rw-r--r-- | docs/source/apps/gie.rst | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/source/apps/gie.rst b/docs/source/apps/gie.rst index af6f528e..a1c7cb56 100644 --- a/docs/source/apps/gie.rst +++ b/docs/source/apps/gie.rst @@ -324,6 +324,33 @@ gie command language expect 0 110579.9 </gie> + +Strict mode +*********** + +.. versionadded:: 7.1 + +A stricter variant of normal gie syntax can be used by wrapping gie commands +between ``<gie-strict>`` and ``</gie-strict>``. In strict mode, comment lines +must start with a sharp character. Unknown commands will be considered as an error. +A command can still be split on several lines, but intermediate lines must +end with the space character followed by backslash to mark the continuation. + + .. code-block:: console + + <gie-strict> + # This is a comment. The following line with multiple repeated characters too + ------------------------------------------------- + # A command on several lines must use " \" continuation + operation proj=hgridshift +grids=nzgd2kgrid0005.gsb \ + ellps=GRS80 + tolerance 1 mm + ignore pjd_err_failed_to_load_grid + accept 172.999892181021551 -45.001620431954613 + expect 173 -45 + </gie-strict> + + Background ********** |
