+proj=hgridshift can also work on NTv2 .gsb files. Cf https://proj.org/operations/transformations/hgridshift.html#cmdoption-arg-grids

Le 31/08/2022 à 15:41, David Fileccia a écrit :

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:

conststd::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:

conststd::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

[email protected] <mailto:[email protected]> | www.hgnss.com <http://www.hgnss.com/>

*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.


_______________________________________________
PROJ mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/proj

--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
PROJ mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/proj

Reply via email to