[PROJ] PROJ and nadgrids vs hgridshift +grids

Even Rouault even.rouault at spatialys.com
Wed Aug 31 06:53:31 PDT 2022


+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
>
> dfileccia at hgnss.com <mailto:dfileccia at hgnss.com> | 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
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20220831/02045e9b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 5199 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20220831/02045e9b/attachment.png>


More information about the PROJ mailing list