<div dir="ltr"><div>Thanks Even.</div><div><br></div><div>But that is not always:</div><div><br></div><div>echo 40 0 | PROJ_DEBUG=2 ./cs2cs  etrs89 epsg:25830<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">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"><u></u>

  
    
  
  <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">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">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>EPSG:4258</a>
    <a>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">
      <pre></pre>
    </blockquote>
    <pre cols="72">-- 
<a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </div>

</blockquote></div>