diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2020-03-10 17:02:14 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2020-03-10 17:02:14 +0000 |
| commit | 9d3fabcf8d218c4b720efb6c476055ce78dc8fae (patch) | |
| tree | 3adbbfa941e81127567cb9b76505ae949d5ff033 /test | |
| parent | ad1732b5e4d3ba1652f8f8b154d62fa8bd7f28c1 (diff) | |
| download | PROJ-9d3fabcf8d218c4b720efb6c476055ce78dc8fae.tar.gz PROJ-9d3fabcf8d218c4b720efb6c476055ce78dc8fae.zip | |
utm/ups: make sure to set errno to PJD_ERR_ELLIPSOID_USE_REQUIRED if es==0
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/builtins.gie | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie index 47de961e..1c5eb3be 100644 --- a/test/gie/builtins.gie +++ b/test/gie/builtins.gie @@ -5554,7 +5554,7 @@ expect -0.001790432 -0.000841228 =============================================================================== Universal Polar Stereographic - Azi, Sph&Ell + Azi, Ell south =============================================================================== @@ -5581,6 +5581,10 @@ expect -45.004297076 64.915804281 accept -200 -100 expect -45.001432287 64.914588378 +------------------------------------------------------------------------------- +operation +proj=ups +a=6400000 +------------------------------------------------------------------------------- +expect failure errno ellipsoid_use_required =============================================================================== Urmaev V @@ -5636,7 +5640,7 @@ expect -0.002040721 -0.000785474 =============================================================================== Universal Transverse Mercator (UTM) - Cyl, Sph + Cyl, Ell zone= south =============================================================================== @@ -5674,6 +5678,12 @@ tolerance 0.001 mm accept 12 56 0 2000 expect 687071.43911000 6210141.32675053 0.00000000 2000.0000 + +------------------------------------------------------------------------------- +operation +proj=utm +a=6400000 +zone=30 +------------------------------------------------------------------------------- +expect failure errno ellipsoid_use_required + =============================================================================== van der Grinten (I) Misc Sph |
