<div dir="ltr"><div>Hi</div><div><br></div><div>I am trying to read this file, in theory based in ITRF</div><div><a href="https://webapp.csrs-scrs.nrcan-rncan.gc.ca/geod/process/download-helper.php?file_id=GSD95">https://webapp.csrs-scrs.nrcan-rncan.gc.ca/geod/process/download-helper.php?file_id=GSD95</a></div><div>(there is another one based in NAD83xxx)<br><br></div><div>However in with gdalinfo I see this:</div><div>"Warning 1: CRS EPSG:4140 is deprecated. Its non-deprecated replacement EPSG:4617 will be used instead. To use the original CRS, set the OSR_USE_NON_DEPRECATED configuration option to NO."</div><div><br></div><div>EPSG:4140 <a href="https://spatialreference.org/ref/epsg/4140/">https://spatialreference.org/ref/epsg/4140/</a> is NAD83(CSRS98), that is not ITRF, as far as I know.</div><div><br></div><div>However in byndataset.h there is this line:</div><div><br></div><div></div><div>constexpr int BYN_DATUM_0 = 4140;  /* ITRF2008 (GRS80 based WGS84) */</div><div><br></div><div><a href="https://github.com/OSGeo/gdal/blob/master/frmts/raw/byndataset.h#L168">https://github.com/OSGeo/gdal/blob/master/frmts/raw/byndataset.h#L168</a></div><div><br></div><div>Are we parsing the header wrongly?</div><div><br></div><div>There is some documentation in <a href="https://webapp.csrs-scrs.nrcan-rncan.gc.ca/geod/tools-outils/sample_doc_files/NRCan_Geoid_GridFormat_EN_2023.pdf">https://webapp.csrs-scrs.nrcan-rncan.gc.ca/geod/tools-outils/sample_doc_files/NRCan_Geoid_GridFormat_EN_2023.pdf</a></div><div>I think what I say above applies to the field 16, Datum.</div><div><br></div><div>Thanks</div><div>Javier</div></div>