Hi,

I call OSRImportFromProj4 with
"+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"

and with the returned handle i get the major and minor axis (
OSRGetSemiMajor/OSRGetSemiMinor). I would expect the both axis to be equal,
but they aren't.
Instead i'm getting the following result:
semi_major_axis=6378137
semi_minor_axis=6356752.314

Build on Ubuntu 20.10 (groovy; amd64) with libgdal-dev,
version 3.1.3+dfsg-1ubuntu2) and libproj-dev:amd64 with version 7.1.0-1

The full example application code:
https://pastebin.com/xf8QpVhM

Regards,
Andreas
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to