diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-05-26 15:49:03 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-05-28 13:51:28 +0200 |
| commit | 48b3bd9afe0ffccf06b2c8dceef1b636834ba876 (patch) | |
| tree | 6c498328a8fa11cd50ba0b3c794c4d28796ffe17 /test | |
| parent | 172744361c83d2a40c11600a398a0e1668052031 (diff) | |
| download | PROJ-48b3bd9afe0ffccf06b2c8dceef1b636834ba876.tar.gz PROJ-48b3bd9afe0ffccf06b2c8dceef1b636834ba876.zip | |
Implement wink2 inverse by generic inversion of forward method
- Move the generic method initiated from adams_ws2 to a
pj_generic_inverse_2d() method
- Use it in adams_ws2
- Use it in wink2
Fixes https://github.com/qgis/QGIS/issues/35512
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/builtins.gie | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie index 76e09ca9..f755526e 100644 --- a/test/gie/builtins.gie +++ b/test/gie/builtins.gie @@ -6331,15 +6331,38 @@ expect -0.001790493 -0.000895247 operation +proj=wink2 +a=6400000 +lat_1=0.5 ------------------------------------------------------------------------------- tolerance 0.1 mm + accept 2 1 expect 223387.396433786 124752.032797445 +roundtrip 1 + accept 2 -1 expect 223387.396433786 -124752.032797445 +roundtrip 1 + accept -2 1 expect -223387.396433786 124752.032797445 +roundtrip 1 + accept -2 -1 expect -223387.396433786 -124752.032797445 +accept -179.999 89.999 +expect -10052657.852 10053040.641 +roundtrip 1 + +accept 179.999 89.999 +expect 10052657.852 10053040.641 +roundtrip 1 + +accept -179.999 -89.999 +expect -10052657.852 -10053040.641 +roundtrip 1 + +accept 179.999 -89.999 +expect 10052657.852 -10053040.641 +roundtrip 1 + =============================================================================== # Winkel Tripel |
