[PROJ] cs2cs options

Even Rouault even.rouault at spatialys.com
Wed Mar 4 09:12:47 PST 2026


Le 04/03/2026 à 18:09, Javier Jimenez Shaw via PROJ a écrit :
> Hi Antonio.
>
> On Tue, 3 Mar 2026 at 19:25, Antonio Valanzano via PROJ 
> <proj at lists.osgeo.org> wrote:
>
>     I have used for the first time cs2cs and I have found not easy to
>     discover which transformation the sw uses for the calculations.
>
>     Here are my questions:
>
>     1. Is it possible  for cs2cs to output not only the results but also
>     the EPSG code of the transformation(s)  used to produce the output ?
>     This information could be useful for users in order to have more
>     control over the transformations and avoid using the sw as a black
>     box.
>
>
> There is projinfo https://proj.org/en/stable/apps/projinfo.html , that 
> can give you similar information. But it would be nice to have an 
> option in cs2cs that prints the last operation used calling 
> "proj_trans_get_last_used_operation".
> That way the user can know "exactly" the operation performed.
$ echo 49 15 | PROJ_NETWORK=ON PROJ_DEBUG=2 bin/cs2cs EPSG:4258 
EPSG:5514+8357 --3d
[...]
Using coordinate operation ETRS89 to S-JTSK / Krovak East North + Baltic 
1957 height
[...]
-717321.47    -1168433.34 -46.13

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20260304/fa938ad0/attachment.htm>


More information about the PROJ mailing list