Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cct: forward comments to output #1111

Merged
merged 1 commit into from Sep 7, 2018
Merged

Commits on Sep 7, 2018

  1. 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 OSGeo#918
    kbevers committed Sep 7, 2018
    Copy the full SHA
    4f961f5 View commit details
    Browse the repository at this point in the history