<div dir="ltr"><div>Hi</div><div><br></div><div>I am trying to migrate an application from PROJ 9.1.0 to PROJ 9.2.0, and I found a change in behaviour, that I was not expecting in this release:</div><div>Transform a coordinate not having the proper geoid file (the Spanish one in this test). I was expecting that the z component is not changed. But I am getting an error instead, and "* * inf" value.</div><div>I know that ONLY_BEST is there, but I understood that the default was to keep the same behaviour as before, and show a warning asking for a "definition".</div><div>But that is not what I experience. See this command lines:</div><div><br></div><div><div><span style="font-family:monospace">echo 39 -3 0 | PROJ_DEBUG=2 PROJ_NETWORK=OFF cs2cs EPSG:4326+5773 EPSG:4326+5782<br>pj_open_lib(proj.ini): call fopen(/home/jshaw/work/PROJ/install-sh/share/proj/proj.ini) - succeeded<br>pj_open_lib(proj.db): call fopen(/home/jshaw/work/PROJ/install-sh/share/proj/proj.db) - succeeded<br>pj_open_lib(us_nga_egm96_15.tif): call fopen(us_nga_egm96_15.tif) - failed<br>pj_open_lib(egm96_15.gtx): call fopen(egm96_15.gtx) - failed<br>pj_open_lib(es_ign_egm08-rednap.tif): call fopen(es_ign_egm08-rednap.tif) - failed<br>pj_open_lib(es_2019m.asc): call fopen(es_2019m.asc) - failed<br>pj_open_lib(es_2019z.asc): call fopen(es_2019z.asc) - failed<br>pj_open_lib(us_nga_egm96_15.tif): call fopen(us_nga_egm96_15.tif) - failed<br>pj_open_lib(egm96_15.gtx): call fopen(egm96_15.gtx) - failed<br>pj_open_lib(es_ign_egm08-rednap.tif): call fopen(es_ign_egm08-rednap.tif) - failed<br>Attempt
to use coordinate operation Inverse of WGS 84 to EGM96 height (1) +
ETRS89 to Alicante height (1) using ETRS89 to WGS 84 (1) failed. Grid
es_ign_egm08-rednap.tif is not available. Consult
<a href="https://proj.org/resource_files.html">https://proj.org/resource_files.html</a> for guidance. Grid
us_nga_egm96_15.tif is not available. Consult
<a href="https://proj.org/resource_files.html">https://proj.org/resource_files.html</a> for guidance. This might become an
error in a future PROJ major release. Set the ONLY_BEST option to YES or
NO. This warning will no longer be emitted (for the current
transformation instance).<br>* * inf<br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">echo 39 -3 0 | PROJ_DEBUG=2 PROJ_ONLY_BEST_DEFAULT=NO PROJ_NETWORK=OFF cs2cs EPSG:4326+5773 EPSG:4326+5782<br>pj_open_lib(proj.ini): call fopen(/home/jshaw/work/PROJ/install-sh/share/proj/proj.ini) - succeeded<br>pj_open_lib(proj.db): call fopen(/home/jshaw/work/PROJ/install-sh/share/proj/proj.db) - succeeded<br>pj_open_lib(us_nga_egm96_15.tif): call fopen(us_nga_egm96_15.tif) - failed<br>pj_open_lib(egm96_15.gtx): call fopen(egm96_15.gtx) - failed<br>pj_open_lib(es_ign_egm08-rednap.tif): call fopen(es_ign_egm08-rednap.tif) - failed<br>pj_open_lib(es_2019m.asc): call fopen(es_2019m.asc) - failed<br>pj_open_lib(es_2019z.asc): call fopen(es_2019z.asc) - failed<br>39.00 -3.00 0.00</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><br></span></div></div><div><span style="font-family:monospace">echo 39 -3 0 | PROJ_DEBUG=2 PROJ_NETWORK=ON cs2cs EPSG:4326+5773 EPSG:4326+5782<br>pj_open_lib(proj.ini): call fopen(/home/jshaw/work/PROJ/install-sh/share/proj/proj.ini) - succeeded<br>pj_open_lib(proj.db): call fopen(/home/jshaw/work/PROJ/install-sh/share/proj/proj.db) - succeeded<br>pj_open_lib(us_nga_egm96_15.tif): call fopen(us_nga_egm96_15.tif) - failed<br>pj_open_lib(egm96_15.gtx): call fopen(egm96_15.gtx) - failed<br>pj_open_lib(us_nga_egm96_15.tif): call fopen(us_nga_egm96_15.tif) - failed<br>pj_open_lib(egm96_15.gtx): call fopen(egm96_15.gtx) - failed<br>Using <a href="https://cdn.proj.org/us_nga_egm96_15.tif">https://cdn.proj.org/us_nga_egm96_15.tif</a><br>pj_open_lib(es_ign_egm08-rednap.tif): call fopen(es_ign_egm08-rednap.tif) - failed<br>pj_open_lib(es_2019m.asc): call fopen(es_2019m.asc) - failed<br>pj_open_lib(es_2019z.asc): call fopen(es_2019z.asc) - failed<br>pj_open_lib(es_ign_egm08-rednap.tif): call fopen(es_ign_egm08-rednap.tif) - failed<br>Using <a href="https://cdn.proj.org/es_ign_egm08-rednap.tif">https://cdn.proj.org/es_ign_egm08-rednap.tif</a><br>pj_open_lib(us_nga_egm96_15.tif): call fopen(us_nga_egm96_15.tif) - failed<br>pj_open_lib(egm96_15.gtx): call fopen(egm96_15.gtx) - failed<br>Using <a href="https://cdn.proj.org/us_nga_egm96_15.tif">https://cdn.proj.org/us_nga_egm96_15.tif</a><br>pj_open_lib(es_ign_egm08-rednap.tif): call fopen(es_ign_egm08-rednap.tif) - failed<br>Using <a href="https://cdn.proj.org/es_ign_egm08-rednap.tif">https://cdn.proj.org/es_ign_egm08-rednap.tif</a><br>39.00 -3.00 0.30</span><br></div><div><br></div><div><br></div><div>The behaviour in 9.1.0 was the same as with "<span style="font-family:monospace">PROJ_ONLY_BEST_DEFAULT=NO"</span><font face="arial,sans-serif">, that is what I was expecting now (plus warning message).</font></div><div><font face="arial,sans-serif"><br></font></div><div><font face="arial,sans-serif">Am I missing something? Is this a bug?</font></div><div><font face="arial,sans-serif"><br></font></div><div><font face="arial,sans-serif">Thanks.<br></font></div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div></div><div>.___ ._ ..._ .. . ._. .___ .. __ . _. . __.. ... .... ._ .__</div></div></div></div></div></div>