.. _cct: ================================================================================ cct ================================================================================ .. Index:: cct .. only:: html Coordinate Conversion and Transformation. Synopsis ******** **cct** [**-cIostvz** [args]] *+opt[=arg]* ... file ... or **cct** [**-cIostvz** [args]] {object_definition} file ... Where {object_definition} is one of the possibilities accepted by :c:func:`proj_create`, provided it expresses a coordinate operation - a proj-string, - a WKT string, - an object code (like "EPSG:1671" "urn:ogc:def:coordinateOperation:EPSG::1671"), - an object name. e.g "ITRF2014 to ETRF2014 (1)". In that case as uniqueness is not guaranteed, heuristics are applied to determine the appropriate best match. - a OGC URN combining references for concatenated operations (e.g. "urn:ogc:def:coordinateOperation,coordinateOperation:EPSG::3895,coordinateOperation:EPSG::1618") - a PROJJSON string. The jsonschema is at https://proj.org/schemas/v0.2/projjson.schema.json .. versionadded:: 8.0.0 .. note:: Before version 8.0.0 only proj-strings could be used to instantiate operations in :program:`cct`. or **cct** [**-cIostvz** [args]] {object_reference} file ... where {object_reference} is a filename preceded by the '@' character. The file referenced by the {object_reference} must contain a valid {object_definition}. .. versionadded:: 8.0.0 Description *********** :program:`cct` is a 4D equivalent to the :program:`proj` 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. The following control parameters can appear in any order: .. program:: cct .. option:: -c Specify input columns for (up to) 4 input parameters. Defaults to 1,2,3,4. .. option:: -d .. versionadded:: 5.2.0 Specify the number of decimals in the output. .. option:: -I Do the inverse transformation. .. option:: -o , --output= Specify the name of the output file. .. option:: -t