<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">Le 04/03/2026 à 18:24, Javier Jimenez
Shaw a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CADRrdKvMFM+yS3CN96uwOn35ErnTT7YockWYOFHUPg1d0k-SNg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Thanks Even.</div>
<div><br>
</div>
<div>But that is not always:</div>
</div>
</blockquote>
yes, in that case there's only one single pipeline possible (a map
projection without datum change) as reported by projinfo
<blockquote type="cite"
cite="mid:CADRrdKvMFM+yS3CN96uwOn35ErnTT7YockWYOFHUPg1d0k-SNg@mail.gmail.com">
<div dir="ltr">
<div><br>
</div>
<div>echo 40 0 | PROJ_DEBUG=2 ./cs2cs etrs89 <a class="moz-txt-link-freetext" href="epsg:25830">epsg:25830</a><br>
pj_open_lib(proj.ini): call fopen(...proj.ini) - succeeded<br>
pj_open_lib(proj.db): call fopen(...proj.db) - succeeded<br>
756099.65 4432069.06 0.00</div>
<div><br>
</div>
<div>And I understand (way) better the proj pipeline ;)</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote gmail_quote_container">
<div dir="ltr" class="gmail_attr">On Wed, 4 Mar 2026 at 18:12,
Even Rouault <<a href="mailto:even.rouault@spatialys.com"
moz-do-not-send="true" class="moz-txt-link-freetext">even.rouault@spatialys.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p><br>
</p>
<div>Le 04/03/2026 à 18:09, Javier Jimenez Shaw via PROJ a
écrit :<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi Antonio.</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, 3 Mar 2026
at 19:25, Antonio Valanzano via PROJ <<a
href="mailto:proj@lists.osgeo.org" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">proj@lists.osgeo.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I
have used for the first time cs2cs and I have found
not easy to<br>
discover which transformation the sw uses for the
calculations.<br>
<br>
Here are my questions:<br>
<br>
1. Is it possible for cs2cs to output not only the
results but also<br>
the EPSG code of the transformation(s) used to
produce the output ?<br>
This information could be useful for users in order
to have more<br>
control over the transformations and avoid using the
sw as a black<br>
box.<br>
</blockquote>
<div><br>
</div>
<div>There is projinfo <a
href="https://proj.org/en/stable/apps/projinfo.html" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">https://proj.org/en/stable/apps/projinfo.html</a>
, 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".</div>
<div>That way the user can know "exactly" the
operation performed.</div>
</div>
</div>
</blockquote>
$ echo 49 15 | PROJ_NETWORK=ON PROJ_DEBUG=2 bin/cs2cs <a
moz-do-not-send="true">EPSG:4258</a> <a
moz-do-not-send="true">EPSG:5514+8357</a> --3d<br>
[...]<br>
Using coordinate operation ETRS89 to S-JTSK / Krovak East
North + Baltic 1957 height<br>
[...]<br>
-717321.47 -1168433.34 -46.13<br>
<blockquote type="cite"> </blockquote>
<pre cols="72">--
<a href="http://www.spatialys.com" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</div>
</blockquote>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
</body>
</html>