diff options
Diffstat (limited to 'man/man1/cct.1')
| -rw-r--r-- | man/man1/cct.1 | 296 |
1 files changed, 205 insertions, 91 deletions
diff --git a/man/man1/cct.1 b/man/man1/cct.1 index d0553104..5ab6d314 100644 --- a/man/man1/cct.1 +++ b/man/man1/cct.1 @@ -1,112 +1,226 @@ -.\" release 5 -.\" -.ad b -.hy 1 -.TH CCT 1 "2018/02/25 Rel. 5.0.0" +.\" Man page generated from reStructuredText. +. +.TH "CCT" "1" "Mar 18, 2018" "5.0.0" "PROJ.4" .SH NAME -cct \- 4D equivalent to the "proj" projection program +cct \- Coordinate Conversion and Transformation +. +.nr rst2man-indent-level 0 +. +.de1 rstReportMargin +\\$1 \\n[an-margin] +level \\n[rst2man-indent-level] +level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] +- +\\n[rst2man-indent0] +\\n[rst2man-indent1] +\\n[rst2man-indent2] +.. +.de1 INDENT +.\" .rstReportMargin pre: +. RS \\$1 +. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] +. nr rst2man-indent-level +1 +.\" .rstReportMargin post: +.. +.de UNINDENT +. RE +.\" indent \\n[an-margin] +.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] +.nr rst2man-indent-level -1 +.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] +.in \\n[rst2man-indent\\n[rst2man-indent-level]]u +.. .SH SYNOPSIS -.B cct -[\-options]... [+operator_specs]... infile... +.INDENT 0.0 +.INDENT 3.5 +\fBcct\fP [ \fB\-cotvz\fP [ args ] ] \fI+opts[=arg]\fP file[s] +.UNINDENT +.UNINDENT .SH DESCRIPTION -.I cct -is a 4D equivalent to the proj(1) projection program. -.PP -cct is an acronym meaning "Coordinate Conversion and Transformation". -.PP -The acronym refers to definitions given in the OGC 08-015r2/ISO-19111 -standard "Geographical Information -- Spatial Referencing by Coordinates", -which defines two different classes of coordinate operations: -.PP -*Coordinate Conversions*, which are coordinate operations where input +.sp +\fBcct\fP a 4D equivalent to the \fBproj\fP projection program, +performs transformation coordinate systems on a set of input points. The +coordinate system transformation can include translation between projected +and geographic coordinates as well as the application of datum shifts. +.sp +The following control parameters can appear in any order: +.INDENT 0.0 +.TP +.B \-c <x,y,z,t> +Specify input columns for (up to) 4 input parameters. Defaults to 1,2,3,4. +.UNINDENT +.INDENT 0.0 +.TP +.B \-o <output file name>, \-\-output=<output file name> +Specify the name of the output file. +.UNINDENT +.INDENT 0.0 +.TP +.B \-t <time>, \-\-time=<time> +Specify a fixed observation time to be used for all input data. +.UNINDENT +.INDENT 0.0 +.TP +.B \-z <height>, \-\-height=<height> +Specify a fixed observation height to be used for all input data. +.UNINDENT +.INDENT 0.0 +.TP +.B \-v, \-\-verbose +Write non\-essential, but potentially useful, information to stderr. +Repeat for additional information (\fB\-vv\fP, \fB\-vvv\fP, etc.) +.UNINDENT +.sp +The \fI+args\fP arguments are associated with coordinate operation parameters. +Usage varies with operation. +.sp +\fBcct\fP is an acronym meaning \fICoordinate Conversion and Transformation\fP\&. +.sp +The acronym refers to definitions given in the OGC 08\-015r2/ISO\-19111 +standard “Geographical Information – Spatial Referencing by Coordinates”, +which defines two different classes of \fIcoordinate operations\fP: +.sp +\fICoordinate Conversions\fP, which are coordinate operations where input and output datum are identical (e.g. conversion from geographical to cartesian coordinates) and -.PP -*Coordinate Transformations*, which are coordinate operations where +.sp +\fICoordinate Transformations\fP, which are coordinate operations where input and output datums differ (e.g. change of reference frame). -.PP -\fBcct\fR, however, also refers to Carl Christian Tscherning (1942--2014), +.SH EXAMPLES +.INDENT 0.0 +.IP 1. 3 +The operator specs describe the action to be performed by \fBcct\fP\&. So +the following script +.UNINDENT +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +echo 12 55 0 0 | cct +proj=utm +zone=32 +ellps=GRS80 +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +will transform the input geographic coordinates into UTM zone 32 coordinates. +Hence, the command +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +echo 12 55 | cct \-z0 \-t0 +proj=utm +zone=32 +ellps=GRS80 +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Should give results comparable to the classic proj command +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +echo 12 55 | proj +proj=utm +zone=32 +ellps=GRS80 +.ft P +.fi +.UNINDENT +.UNINDENT +.INDENT 0.0 +.IP 2. 3 +Convert geographical input to UTM zone 32 on the GRS80 ellipsoid: +.UNINDENT +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +cct +proj=utm +ellps=GRS80 +zone=32 +.ft P +.fi +.UNINDENT +.UNINDENT +.INDENT 0.0 +.IP 3. 3 +Roundtrip accuracy check for the case above: +.UNINDENT +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +cct +proj=pipeline +proj=utm +ellps=GRS80 +zone=32 +step +step +inv +.ft P +.fi +.UNINDENT +.UNINDENT +.INDENT 0.0 +.IP 4. 3 +As (2) but specify input columns for longitude, latitude, height and time: +.UNINDENT +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +cct \-c 5,2,1,4 +proj=utm +ellps=GRS80 +zone=32 +.ft P +.fi +.UNINDENT +.UNINDENT +.INDENT 0.0 +.IP 5. 3 +As (2) but specify fixed height and time, hence needing only 2 cols in +input: +.UNINDENT +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +cct \-t 0 \-z 0 +proj=utm +ellps=GRS80 +zone=32 +.ft P +.fi +.UNINDENT +.UNINDENT +.SH BACKGROUND +.sp +\fBcct\fP also refers to Carl Christian Tscherning (1942–2014), professor of Geodesy at the University of Copenhagen, mentor and advisor for a generation of Danish geodesists, colleague and collaborator for two generations of global geodesists, Secretary General for the -International Association of Geodesy, IAG (1995--2007), fellow of the +International Association of Geodesy, IAG (1995–2007), fellow of the American Geophysical Union (1991), recipient of the IAG Levallois Medal (2007), the European Geosciences Union Vening Meinesz Medal (2008), and of numerous other honours. -.PP -cct, or Christian, as he was known to most of us, was recognized for his +.sp +\fIcct\fP, or Christian, as he was known to most of us, was recognized for his good mood, his sharp wit, his tireless work, and his great commitment to -the development of geodesy - both through his scientific contributions, +the development of geodesy – both through his scientific contributions, comprising more than 250 publications, and by his mentoring and teaching of the next generations of geodesists. -.PP +.sp As Christian was an avid Fortran programmer, and a keen Unix connoisseur, he would have enjoyed to know that his initials would be used to name a modest Unix style transformation filter, hinting at the tireless aspect of his personality, which was certainly one of the reasons he accomplished so much, and meant so much to so many people. -.PP -Hence, in honour of cct (the geodesist) this is cct (the program). -.SH OPTIONS -.IP "\fB\fB\-o /path/to/file\fR\fR" 1c -Specify output file name\& -.IP "\fB\fB\-c x,y,z,t\fR\fR" 1c -Specify input columns for (up to) 4 input parameters. -Defaults to 1,2,3,4\& -.IP "\fB\fB\-z value\fR\fR" 1c -Provide a fixed z value for all input data (e.g. \-z 0)\& -.IP "\fB\fB\-t value\fR\fR" 1c -Provide a fixed t value for all input data (e.g. \-t 0)\& -.IP "\fB\fB\-I\fR\fR" 1c -Do the inverse transformation\& -.IP "\fB\fB\-v\fR\fR" 1c -Verbose: Provide non-essential informational output. -Repeat \-v for more verbosity (e.g. \-vv)\& -.SH LONG OPTIONS -.IP "\fB\fB\-\-output\fR\fR" 1c -Alias for \-o\& -.IP "\fB\fB\-\-columns\fR\fR" 1c -Alias for \-c\& -.IP "\fB\fB\-\-height\fR\fR" 1c -Alias for \-z\& -.IP "\fB\fB\-\-time\fR\fR" 1c -Alias for \-t\& -.IP "\fB\fB\-\-verbose\fR\fR" 1c -Alias for \-v\& -.IP "\fB\fB\-\-inverse\fR\fR" 1c -Alias for \-I\& -.IP "\fB\fB\-\-help\fR\fR" 1c -Alias for -h\& -.SH OPERATOR SPECS -The operator specs describe the action to be performed by cct, e.g: -.IP -+proj=utm +ellps=GRS80 +zone=32 -.PP -instructs cct to convert input data to Universal Transverse Mercator, zone 32 -coordinates, based on the GRS80 ellipsoid. -.PP -Hence, the command -.IP -echo 12 55 | cct -z0 -t0 +proj=utm +zone=32 +ellps=GRS80 -.PP -Should give results comparable to the classic proj command -.IP -echo 12 55 | proj +proj=utm +zone=32 +ellps=GRS80 -.SH EXAMPLES -1. convert geographical input to UTM zone 32 on the GRS80 ellipsoid: -.IP -cct +proj=utm +ellps=GRS80 +zone=32 -.PP -2. roundtrip accuracy check for the case above: -.IP -cct +proj=pipeline +proj=utm +ellps=GRS80 +zone=32 +step +step +inv -.PP -3. as (1) but specify input columns for longitude, latitude, height and time: -.IP -cct -c 5,2,1,4 +proj=utm +ellps=GRS80 +zone=32 -.PP -4. as (1) but specify fixed height and time, hence needing only 2 cols in input: -.IP -cct -t 0 -z 0 +proj=utm +ellps=GRS80 +zone=32 +.sp +Hence, in honour of \fIcct\fP (the geodesist) this is \fBcct\fP (the program). +.SH SEE ALSO +.sp +\fBproj(1)\fP, \fBcs2cs(1)\fP, \fBgeod(1)\fP, \fBgie(1)\fP +.SH BUGS +.sp +A list of know bugs can be found at \fI\%http://github.com/OSGeo/proj.4/issues\fP +where new bug reports can be submitted to. .SH HOME PAGE -http://proj4.org/ +.sp +\fI\%http://proj4.org/\fP +.SH AUTHOR +Thomas Knudsen +.SH COPYRIGHT +1983-2018 +.\" Generated by docutils manpage writer. +. |
