[PROJ] Source and target ellipsoid do not belong to the same celestial body

Nyall Dawson nyall.dawson at gmail.com
Tue Mar 26 22:19:17 PDT 2019


Hi list,

I'm a little confused (again)!

If I run the command:

    echo 1 1 0 0 | bin/cct +proj=sinu +lon_0=38.62122605364 +x_0=0
+y_0=0 +a=33960000 +b=3396000 +units=m +no_defs

It looks ok:
    -22298586.4112      5928.0320        0.0000        0.0000


But using the same definition via the proj api:

    proj_create_crs_to_crs( pContext, "EPSG:4326", "+proj=sinu
+lon_0=38.62122605364 +x_0=0 +y_0=0 +a=3396000 +b=3396000 +units=m
+no_defs", nullptr )

I get the error: proj_create_operations: Source and target ellipsoid
do not belong to the same celestial body

What am I missing?

Nyall


More information about the PROJ mailing list