<div dir="ltr"><div>Hi,</div><div><br></div><div>I call <span style="color:rgb(0,0,0);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace,serif;font-size:12px;white-space:pre-wrap">OSRImportFromProj4 with</span></div><div><span style="color:rgb(255,0,0);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace,serif;font-size:12px;white-space:pre-wrap">"+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +towgs84=0,0,0,0,0,0,0 +wktext +no_defs"</span><br></div><div><span style="color:rgb(255,0,0);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace,serif;font-size:12px;white-space:pre-wrap"><br></span></div><div>and with the returned handle i get the major and minor axis (<span style="color:rgb(0,0,0);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace,serif;font-size:12px;white-space:pre-wrap">OSRGetSemiMajor/</span><span style="color:rgb(0,0,0);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace,serif;font-size:12px;white-space:pre-wrap">OSRGetSemiMinor). I would expect the both axis to be equal, but they aren't.</span></div><div><span style="color:rgb(0,0,0);font-family:Consolas,Menlo,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace,serif;font-size:12px;white-space:pre-wrap">Instead i'm getting the following result:</span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">semi_major_axis=6378137
</span><br>semi_minor_axis=6356752.314<br>
<br></span></div><div><span style="font-family:monospace">Build on Ubuntu 20.10 (groovy; amd64) with </span>libgdal-dev, version 3.1.3+dfsg-1ubuntu2) and libproj-dev:amd64 with version 7.1.0-1</div><div><br></div><div>The full example application code:</div><a href="https://pastebin.com/xf8QpVhM">https://pastebin.com/xf8QpVhM</a><br><div><br></div><div>Regards,</div><div>Andreas</div></div>