[PROJ] PROJ and nadgrids vs hgridshift +grids

David Fileccia dfileccia at hgnss.com
Wed Aug 31 06:41:49 PDT 2022


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.

My current setup for the .TIF file is:
      const std::string p = "+proj=pipeline "
            "+step +proj=unitconvert +xy_in=deg +xy_out=rad "
            "+step +proj=hgridshift +grids=<gridpath>.tif +inv "
            "+step +proj=unitconvert +xy_in=rad +xy_out=deg ";

I tried:
      const std::string p = "+proj=pipeline "
            "+step +proj=unitconvert +xy_in=deg +xy_out=rad "
            "+step +nadgrids=<gridpath>.gsb +inv "
            "+step +proj=unitconvert +xy_in=rad +xy_out=deg ";

Of course, this failed saying it is an invalid pipeline.

What is the correct pipeline for this procedure?

Best Regards,

David Fileccia
Senior Systems Engineer | HEMISPHERE GNSS
Office: 6860 Little Twin Road, Germantown, OH 45327, USA
Corporate: 8515 E. Anderson Drive, Scottsdale, AZ 85255, USA
M: +1 404 579 4391
dfileccia at hgnss.com<mailto:dfileccia at hgnss.com> | www.hgnss.com<http://www.hgnss.com/>
[cid:image001.png at 01D8BD1D.E3B99040]

Disclaimer: 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20220831/84730a8a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 5199 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20220831/84730a8a/attachment-0001.png>


More information about the PROJ mailing list