<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">For me LAMB1 and <span class="">UTM31RGF93 are both considered as being on Geoid in the new database.</span><div class="">So the altitude from input is just transferred to the output.</div><div class=""><br class=""></div><div class="">So I think the result from 9.2 version is correct in terms of Z management.</div><div class=""><br class=""></div><div class="">But it’s only from my understanding…</div><div class=""><br class=""></div><div class="">Alain<br class=""><div class=""><br class=""></div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Le 1 juin 2023 à 15:54, Nicolas Bellaiche <<a href="mailto:nicolas.bellaiche@ign.fr" class="">nicolas.bellaiche@ign.fr</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;" class=""><div class=""><span style="font-size: 12pt;" class="">Hi all,</span><br class=""></div><div data-marker="__QUOTED_TEXT__" class=""><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;" class=""><div class=""><br class=""><br class="">I am still puzzled by the difference between the old syntax +init= and the new syntax. I just rebuilt the last release 9.2.1 and tested with it to make sure it's not a bug already fixed.<br class=""><br class=""><span style="text-decoration:underline" class="">1) Example where the grid shift is not taken into account with the new syntax. (it's correct with +init=)</span><br class=""><br class="">1.a) NEW SYNTAX: z not correct (grid shift not used)</div><div class=""><br class=""><span style="font-size:8pt" class=""><strong class=""> echo 600000.00000000 300097.53400000 0.00000000 |  ./bin/cs2cs IGNF:LAMB1 +to IGNF:UTM31RGF93</strong></span><br class=""><span style="font-size:8pt" class="">452845.19        5583309.40 0.00</span><br class=""></div><div class=""><br class=""><span style="font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; background-color: rgb(255, 255, 255); text-decoration: none; float: none; display: inline !important;" class="">1.b) OLD SYNTAX: z correct:</span></div><div class=""><br class=""><span style="font-size:8pt" class=""><strong class="">echo 600000.00000000 300097.53400000 0.00000000 | ./bin/cs2cs +init=IGNF:LAMB1 +to +init=IGNF:UTM31RGF93</strong></span><br class=""><span style="font-size:8pt" class="">452845.19        5583309.40 43.64</span><br class=""><br class=""><br class=""><br class=""><span style="text-decoration:underline" class="">2) Example where the old syntax gives a wrong result while the new syntax works:</span></div><br class=""><div class="">2.a) OLD SYNTAX from cartographic to geocentric coordinates / result is wrong</div><div class=""><br class=""><span style="font-size:8pt" class=""><strong class="">echo 652760.737 7033791.243 43.642 | PROJ_DEBUG=3 ./bin/cs2cs +init=IGNF:LAMB93 +to +init=IGNF:RGF93</strong></span></div><div class=""><span style="font-size:8pt;font-family:'times new roman' , 'new york' , 'times' , serif" class="">4070355.05        166080.07 4891332.24</span></div><br class=""><br class=""><div class=""><span style="font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; background-color: rgb(255, 255, 255); text-decoration: none; float: none; display: inline !important;" class="">2.b) NEW SYNTAX from cartographic to geocentric coordinates / result is correct</span><br class=""></div><div class=""><span style="font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-weight: normal; letter-spacing: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; background-color: rgb(255, 255, 255); text-decoration: none; float: none; display: inline !important;" class=""><br data-mce-bogus="1" class=""></span></div><div class=""><div style="margin: 0px; font-style: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: menlo;" class=""><strong class="">echo 652760.737 7033791.243 43.642 | PROJ_DEBUG=3 ./bin/cs2cs IGNF:LAMB93 +to IGNF:RGF93<span class="Apple-converted-space"> </span></strong></div><div style="margin: 0px; font-style: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: menlo;" class="">4070327.25<span class="Apple-tab-span" style="white-space:pre"> </span>166078.93 4891298.61</div><div style="margin: 0px; font-style: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: menlo;" class=""><br class=""></div><div style="margin: 0px; font-style: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: menlo;" class=""><br class=""></div><div style="margin: 0px; font-style: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: menlo;" class=""><br class=""></div></div></div><br class=""></div></div></div>_______________________________________________<br class="">PROJ mailing list<br class=""><a href="mailto:PROJ@lists.osgeo.org" class="">PROJ@lists.osgeo.org</a><br class="">https://lists.osgeo.org/mailman/listinfo/proj<br class=""></div></blockquote></div><br class=""></div></div></body></html>