<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>+proj=hgridshift can also work on NTv2 .gsb files. Cf
<a class="moz-txt-link-freetext" href="https://proj.org/operations/transformations/hgridshift.html#cmdoption-arg-grids">https://proj.org/operations/transformations/hgridshift.html#cmdoption-arg-grids</a><br>
    </p>
    <div class="moz-cite-prefix">Le 31/08/2022 à 15:41, David Fileccia a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:DM6PR06MB45883460B43B4F17CC724178BE789@DM6PR06MB4588.namprd06.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
        {font-family:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}div.WordSection1
        {page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">I need to get the grid shift of the NtV2
          files for the Australian National Grid 1984. I can use the
          .TIF files in the PROJ data but I also need to be able to use
          the original GSB file for customers that only understand the
          official government data.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">My current setup for the .TIF file is:<o:p></o:p></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">     
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:olive">const</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:purple">std::string
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:#092E64">p</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New"">=<span style="color:silver">
            </span><span style="color:green">"+proj=pipeline</span><span
              style="color:silver">
            </span><span style="color:green">"</span><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">           
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">"+step</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">+proj=unitconvert</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">+xy_in=deg</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">+xy_out=rad</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">"</span><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">           
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">"+step</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">+proj=hgridshift</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">+grids=<gridpath>.tif</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">+inv</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">"</span><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">           
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">"+step</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">+proj=unitconvert</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">+xy_in=rad</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">+xy_out=deg</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">"</span><span
            style="font-size:10.0pt;font-family:"Courier New"">;<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I tried:<o:p></o:p></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">     
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:olive">const</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:purple">std::string
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:#092E64">p</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New"">=<span style="color:silver">
            </span><span style="color:green">"+proj=pipeline</span><span
              style="color:silver">
            </span><span style="color:green">"</span><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">           
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">"+step</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">+proj=unitconvert</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">+xy_in=deg</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">+xy_out=rad</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">"</span><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">           
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">"+step</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">+nadgrids=<gridpath>.gsb</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">+inv</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">"</span><span
            style="font-size:10.0pt;font-family:"Courier New""><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">           
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">"+step</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">+proj=unitconvert</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">+xy_in=rad</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">+xy_out=deg</span><span
            style="font-size:10.0pt;font-family:"Courier
            New";color:silver">
          </span><span style="font-size:10.0pt;font-family:"Courier
            New";color:green">"</span><span
            style="font-size:10.0pt;font-family:"Courier New"">;<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Of course, this failed saying it is an
          invalid pipeline.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">What is the correct pipeline for this
          procedure?<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Best Regards,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><b><span style="font-family:"Century
              Gothic",sans-serif;color:black" lang="EN-CA">David
              Fileccia</span></b><span lang="EN-CA"><o:p></o:p></span></p>
        <p class="MsoNormal"><b><span
              style="font-size:10.0pt;font-family:"Century
              Gothic",sans-serif;color:black" lang="EN-CA">Senior
              Systems Engineer | HEMISPHERE GNSS</span></b><span
            lang="EN-CA"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Century
            Gothic",sans-serif;color:black">Office: 6860 Little
            Twin Road, Germantown, OH 45327, USA<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Century
            Gothic",sans-serif;color:black">Corporate: 8515 E.
            Anderson Drive, Scottsdale, AZ 85255, USA<o:p></o:p></span></p>
        <p class="MsoNormal"><b><span
              style="font-size:10.0pt;font-family:"Century
              Gothic",sans-serif;color:black" lang="EN-CA">M:</span></b><span
            style="font-size:10.0pt;font-family:"Century
            Gothic",sans-serif;color:black" lang="EN-CA"> +1 404
            579 4391</span><span lang="EN-CA"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Century
            Gothic",sans-serif" lang="EN-CA"><a
              href="mailto:dfileccia@hgnss.com" moz-do-not-send="true"><span
                style="color:#0563C1">dfileccia@hgnss.com</span></a><span
              style="color:black"> | </span></span><span lang="EN-CA"><a
              href="http://www.hgnss.com/" moz-do-not-send="true"><span
                style="font-size:10.0pt;font-family:"Century
                Gothic",sans-serif;color:black">www.hgnss.com</span></a><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Century
            Gothic",sans-serif;color:black" lang="EN-CA"><img
              style="width:1.5625in;height:.3229in" id="Picture_x0020_3"
              src="cid:part1.Q5miYxMy.jbagi54A@spatialys.com" class=""
              width="150" height="31" border="0"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;font-family:"Century
            Gothic",sans-serif;color:black" lang="EN-CA"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><span
              style="font-size:8.0pt;font-family:"Century
              Gothic",sans-serif;color:black" lang="EN-CA">Disclaimer:</span></b><span
            style="font-size:8.0pt;font-family:"Century
            Gothic",sans-serif;color:black" lang="EN-CA"> This
            message (including any other messages, attachments, or files
            within) contains information that may be confidential or
            privileged and is the property of Hemisphere GNSS, Inc. and
            its subsidiaries (‘Hemisphere’). It is intended for the
            person to whom it is addressed. If you are not the intended
            recipient, you are not authorized to read, copy, distribute,
            print, retain, or use this message or any part thereof. If
            you receive this message in error, please notify the sender
            immediately and delete all copies of this message. Any
            opinions or views expressed within are solely those of the
            author and do not necessarily represent those of Hemisphere.
            Thank you for your cooperation.</span><span lang="EN-CA"><o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
PROJ mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PROJ@lists.osgeo.org">PROJ@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/proj">https://lists.osgeo.org/mailman/listinfo/proj</a>
</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>