--------------------------------------------------------------------------------

Test 5201, Geographic Geocentric conversions, v2.0_2011-09-28. (EPSG 4979 - WGS84 3d has been replaced with EPSG code 4326 WGS84 2d).

--------------------------------------------------------------------------------

# WGS 84
<4978> +proj=geocent +datum=WGS84 +units=m +no_defs  <>
# WGS 84
<4326> +proj=longlat +datum=WGS84 +no_defs  <>


<gie>

--------------------------------------------------------------------------------
operation  +proj=pipeline
           +step +init=epsg:4978 +inv
           +step +init=epsg:4326
--------------------------------------------------------------------------------
tolerance  0.01 m
accept    -962479.5924 555687.8517 6260738.6526
expect    150 80 1214.137

tolerance  0.01 m
accept    -962297.0059 555582.4354 6259542.961
expect    150 80 0

tolerance  0.01  m
accept    -1598248.169 2768777.623 5501278.468
expect    119.99524538 60.00475191 619.6317

tolerance  0.01  m
accept    -1598023.169 2768387.912 5500499.045
expect    119.9952447 60.00475258 -280.3683

tolerance  0.01  m
accept    2764210.4054 4787752.865 3170468.5199
expect    60 30 189.569

tolerance  0.01  m
accept    2764128.3196 4787610.6883 3170373.7354
expect    60 30 0

tolerance  0.01  m
accept    6377934.396 -112 434
expect    -0.00100615 0.00392509 -202.5882

tolerance  0.01  m
accept    6374934.396 -112 434
expect    -0.00100662 0.00392695 -3202.5881

tolerance  0.01  m
accept    6367934.396 -112 434
expect    -0.00100773 0.00393129 -10202.5881

tolerance  0.01  m
accept    2764128.3196 -4787610.6883 -3170373.7354
expect    -60 -30 0

tolerance  0.01  m
accept    2763900.3489 -4787215.8313 -3170110.4974
expect    -60 -30 -526.476

tolerance  0.01  m
accept    2763880.8633 -4787182.0813 -3170087.9974
expect    -60 -30 -571.476

tolerance  0.01  m
accept    -1598023.169 -2768611.912 -5499631.045
expect    -119.99323757 -59.99934884 -935.0995

tolerance  0.01  m
accept    -1597798.169 -2768222.201 -5498851.622
expect    -119.99323663 -59.99934874 -1835.0995

tolerance  0.01  m
accept    -962297.0059 -555582.4354 -6259542.961
expect    -150 -80 0

tolerance  0.01  m
accept    -962150.945 -555498.1071 -6258586.4616
expect    -150 -80 -971.255

tolerance  0.01  m
accept    -961798.2951 -555294.5046 -6256277.0874
expect    -150 -80 -3316.255

tolerance  0.01  m
accept    -2187336.719 -112 5971017.093
expect    -179.99706624 70.00490733 -223.6178

tolerance  0.01  m
accept    -2904698.5551 -2904698.5551 4862789.0377
expect    -135 50 0

tolerance  0.01  m
accept    371 -5783593.614 2679326.11
expect    -89.99632465 25.00366329 -274.7286

tolerance  0.01  m
accept    6378137 0 0
expect    0 0 0

tolerance  0.01  m
accept    -4087095.478 2977467.559 -3875457.429
expect    143.92649252 -37.65282217 737.7182

tolerance  0.01  m
accept    -4085919.959 2976611.233 -3874335.274
expect    143.92649211 -37.65282206 -1099.2288

tolerance  0.01  m
accept    -4084000.165 2975212.729 -3872502.631
expect    143.92649143 -37.65282187 -4099.2288

tolerance  0.01  m
accept    -4079520.647 2971949.553 -3868226.465
expect    143.92648984 -37.65282143 -11099.2288

tolerance  0.01  m
accept    -2904698.5551 2904698.5551 -4862789.0377
expect    135 -50 0

tolerance  0.01  m
accept    -2187336.719 -112 -5970149.093
expect    -179.99706624 -70.00224647 -1039.2896

--------------------------------------------------------------------------------
operation  +proj=pipeline
           +step +init=epsg:4326 +inv
           +step +init=epsg:4978
--------------------------------------------------------------------------------
tolerance  0.01  m
accept    150 80 1214.137
expect    -962479.5924 555687.8517 6260738.6526

tolerance  0.01  m
accept    150 80 0
expect    -962297.0059 555582.4354 6259542.961

tolerance  0.01  m
accept    119.99524538 60.00475191 619.6317
expect    -1598248.169 2768777.623 5501278.468

tolerance  0.01  m
accept    119.9952447 60.00475258 -280.3683
expect    -1598023.169 2768387.912 5500499.045

tolerance  0.01  m
accept    60 30 189.569
expect    2764210.4054 4787752.865 3170468.5199

tolerance  0.01  m
accept    60 30 0
expect    2764128.3196 4787610.6883 3170373.7354

tolerance  0.01  m
accept    -0.00100615 0.00392509 -202.5882
expect    6377934.396 -112 434

tolerance  0.01  m
accept    -0.00100662 0.00392695 -3202.5881
expect    6374934.396 -112 434

tolerance  0.01  m
accept    -0.00100773 0.00393129 -10202.5881
expect    6367934.396 -112 434

tolerance  0.01  m
accept    -60 -30 0
expect    2764128.3196 -4787610.6883 -3170373.7354

tolerance  0.01  m
accept    -60 -30 -526.476
expect    2763900.3489 -4787215.8313 -3170110.4974

tolerance  0.01  m
accept    -60 -30 -571.476
expect    2763880.8633 -4787182.0813 -3170087.9974

tolerance  0.01  m
accept    -119.99323757 -59.99934884 -935.0995
expect    -1598023.169 -2768611.912 -5499631.045

tolerance  0.01  m
accept    -119.99323663 -59.99934874 -1835.0995
expect    -1597798.169 -2768222.201 -5498851.622

tolerance  0.01  m
accept    -150 -80 0
expect    -962297.0059 -555582.4354 -6259542.961

tolerance  0.01  m
accept    -150 -80 -971.255
expect    -962150.945 -555498.1071 -6258586.4616

tolerance  0.01  m
accept    -150 -80 -3316.255
expect    -961798.2951 -555294.5046 -6256277.0874

tolerance  0.01  m
accept    -179.99706624 70.00490733 -223.6178
expect    -2187336.719 -112 5971017.093

tolerance  0.01  m
accept    -135 50 0
expect    -2904698.5551 -2904698.5551 4862789.0377

tolerance  0.01  m
accept    -89.99632465 25.00366329 -274.7286
expect    371 -5783593.614 2679326.11

tolerance  0.01  m
accept    0 0 0
expect    6378137 0 0

tolerance  0.01  m
accept    143.92649252 -37.65282217 737.7182
expect    -4087095.478 2977467.559 -3875457.429

tolerance  0.01  m
accept    143.92649211 -37.65282206 -1099.2288
expect    -4085919.959 2976611.233 -3874335.274

tolerance  0.01  m
accept    143.92649143 -37.65282187 -4099.2288
expect    -4084000.165 2975212.729 -3872502.631

tolerance  0.01  m
accept    143.92648984 -37.65282143 -11099.2288
expect    -4079520.647 2971949.553 -3868226.465

tolerance  0.01  m
accept    135 -50 0
expect    -2904698.5551 2904698.5551 -4862789.0377

tolerance  0.01  m
accept    -179.99706624 -70.00224647 -1039.2896
expect    -2187336.719 -112 -5970149.093

--------------------------------------------------------------------------------
operation  +proj=pipeline
           +step +init=epsg:4978 +inv
           +step +init=epsg:4326
--------------------------------------------------------------------------------
tolerance  0.01  m
accept    -962479.5924 555687.8517 6260738.6526
roundtrip 1000

tolerance  0.01  m
accept    -962297.0059 555582.4354 6259542.961
roundtrip 1000

tolerance  0.01  m
accept    -1598248.169 2768777.623 5501278.468
roundtrip 1000

tolerance  0.01  m
accept    -1598023.169 2768387.912 5500499.045
roundtrip 1000

tolerance  0.01  m
accept    2764210.4054 4787752.865 3170468.5199
roundtrip 1000

tolerance  0.01  m
accept    2764128.3196 4787610.6883 3170373.7354
roundtrip 1000

tolerance  0.01  m
accept    6377934.396 -112 434
roundtrip 1000

tolerance  0.01  m
accept    6374934.396 -112 434
roundtrip 1000

tolerance  0.01  m
accept    6367934.396 -112 434
roundtrip 1000

tolerance  0.01  m
accept    2764128.3196 -4787610.6883 -3170373.7354
roundtrip 1000

tolerance  0.01  m
accept    2763900.3489 -4787215.8313 -3170110.4974
roundtrip 1000

tolerance  0.01  m
accept    2763880.8633 -4787182.0813 -3170087.9974
roundtrip 1000

tolerance  0.01  m
accept    -1598023.169 -2768611.912 -5499631.045
roundtrip 1000

tolerance  0.01  m
accept    -1597798.169 -2768222.201 -5498851.622
roundtrip 1000

tolerance  0.01  m
accept    -962297.0059 -555582.4354 -6259542.961
roundtrip 1000

tolerance  0.01  m
accept    -962150.945 -555498.1071 -6258586.4616
roundtrip 1000

tolerance  0.01  m
accept    -961798.2951 -555294.5046 -6256277.0874
roundtrip 1000

tolerance  0.01  m
accept    -2187336.719 -112 5971017.093
roundtrip 1000

tolerance  0.01  m
accept    -2904698.5551 -2904698.5551 4862789.0377
roundtrip 1000

tolerance  0.01  m
accept    371 -5783593.614 2679326.11
roundtrip 1000

tolerance  0.01  m
accept    6378137 0 0
roundtrip 1000

tolerance  0.01  m
accept    -4087095.478 2977467.559 -3875457.429
roundtrip 1000

tolerance  0.01  m
accept    -4085919.959 2976611.233 -3874335.274
roundtrip 1000

tolerance  0.01  m
accept    -4084000.165 2975212.729 -3872502.631
roundtrip 1000

tolerance  0.01  m
accept    -4079520.647 2971949.553 -3868226.465
roundtrip 1000

tolerance  0.01  m
accept    -2904698.5551 2904698.5551 -4862789.0377
roundtrip 1000

tolerance  0.01  m
accept    -2187336.719 -112 -5970149.093
roundtrip 1000

</gie>