diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2018-09-06 21:37:37 +0200 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2018-09-07 15:21:32 +0200 |
| commit | 4f961f5d87ba998c19e166de4d077016b0f24e31 (patch) | |
| tree | 85b0dcd811a0da5c18fa58ef266cf8c31ad64139 /docs/source/development/reference/cpp | |
| parent | c50a573be3846754fb196893e3c9b216c3123cf5 (diff) | |
| download | PROJ-4f961f5d87ba998c19e166de4d077016b0f24e31.tar.gz PROJ-4f961f5d87ba998c19e166de4d077016b0f24e31.zip | |
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
Diffstat (limited to 'docs/source/development/reference/cpp')
0 files changed, 0 insertions, 0 deletions
