[PROJ] cs2cs options

Javier Jimenez Shaw j1 at jimenezshaw.com
Wed Mar 4 09:24:14 PST 2026


Thanks Even.

But that is not always:

echo 40 0 | PROJ_DEBUG=2 ./cs2cs  etrs89 epsg:25830
pj_open_lib(proj.ini): call fopen(...proj.ini) - succeeded
pj_open_lib(proj.db): call fopen(...proj.db) - succeeded
756099.65 4432069.06 0.00

And I understand (way) better the proj pipeline ;)


On Wed, 4 Mar 2026 at 18:12, Even Rouault <even.rouault at spatialys.com>
wrote:

>
> 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/e494830a/attachment.htm>


More information about the PROJ mailing list