Le 04/03/2026 à 18:24, Javier Jimenez Shaw a écrit :
Thanks Even.
But that is not always:
yes, in that case there's only one single pipeline possible (a map
projection without datum change) as reported by projinfo
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 <[email protected]>
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
<[email protected]> 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.
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
PROJ mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/proj