<!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:09, Javier Jimenez
      Shaw via PROJ a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CADRrdKsa5sBADfXQrBDB-2R532ZdSypZrHzCGuYXepoitNmCig@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Hi Antonio.</div>
        <br>
        <div class="gmail_quote gmail_quote_container">
          <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" 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"
              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 class="moz-txt-link-freetext" href="EPSG:4258">EPSG:4258</a>
    <a class="moz-txt-link-freetext" href="EPSG:5514+8357">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"
cite="mid:CADRrdKsa5sBADfXQrBDB-2R532ZdSypZrHzCGuYXepoitNmCig@mail.gmail.com">
      <pre wrap="" class="moz-quote-pre">
</pre>
    </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>