From 4f961f5d87ba998c19e166de4d077016b0f24e31 Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Thu, 6 Sep 2018 21:37:37 +0200 Subject: cct: forward comments to output Any text written after the coordinate input will automatically be forwarded to the output stream. Text in columns before the coordinate input is discarded in the output. This works for any combination of -c, -t and -z parameters: $ echo 12 56 100 2018.0 comment comment | cct +proj=merc 1335833.8895 7522963.2411 100.0000 2018.0000 comment commen $ echo text 12 56 100 2018.0 comment | cct -c 2,3,4,5 +proj=merc 1335833.8895 7522963.2411 100.0000 2018.0000 comment $ echo text 12 56 comment | cct -c 2,3 -t0 -z0 +proj=merc 1335833.8895 7522963.2411 0.0000 0.0000 comment $ echo 12 56 comment | cct -t0 -z0 +proj=merc 1335833.8895 7522963.2411 0.0000 0.0000 comment Closes #918 --- docs/source/apps/cct.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/source') diff --git a/docs/source/apps/cct.rst b/docs/source/apps/cct.rst index 685e5471..25611597 100644 --- a/docs/source/apps/cct.rst +++ b/docs/source/apps/cct.rst @@ -139,6 +139,13 @@ Should give results comparable to the classic :program:`proj` command cct -t 0 -z 0 +proj=utm +ellps=GRS80 +zone=32 +6. Auxiliary data following the coordinate input is forward to the output + stream: + +.. code-block:: console + + $ echo 12 56 100 2018.0 auxiliary data | cct +proj=merc + 1335833.8895 7522963.2411 100.0000 2018.0000 auxiliary data Background ********** -- cgit v1.2.3