diff options
| author | Adam Wulkiewicz <adam.wulkiewicz@gmail.com> | 2018-03-02 18:30:31 +0100 |
|---|---|---|
| committer | Adam Wulkiewicz <adam.wulkiewicz@gmail.com> | 2018-03-02 18:30:31 +0100 |
| commit | 780a176243c7ec58a1da6ee8f2b6270d3e3a720f (patch) | |
| tree | b5409623b2a487266dd228ff91a5f894abc89066 | |
| parent | 48d346adb3af11bcad7b83a2d2e824c18111e2f2 (diff) | |
| download | PROJ-780a176243c7ec58a1da6ee8f2b6270d3e3a720f.tar.gz PROJ-780a176243c7ec58a1da6ee8f2b6270d3e3a720f.zip | |
Add test cases for omerc with +no_rot and tpers with +tilt.
| -rw-r--r-- | test/gie/builtins.gie | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie index a8a440e3..f2ee2e16 100644 --- a/test/gie/builtins.gie +++ b/test/gie/builtins.gie @@ -3029,6 +3029,29 @@ expect -0.001796631 0.000904369 accept -200 -100 expect -0.001796631 -0.000904369 +------------------------------------------------------------------------------- +operation +proj=omerc +ellps=GRS80 +lat_1=0.5 +lat_2=2 +no_rot +------------------------------------------------------------------------------- +tolerance 0.1 mm +accept 2 1 +expect 110642.229314984 222650.796885261 +accept 2 -1 +expect -110642.229314984 222650.796885261 +accept -2 1 +expect 110642.229314984 -222650.796885262 +accept -2 -1 +expect -110642.229314984 -222650.796885262 + +direction inverse +accept 200 100 +expect 0.000898315 0.001808739 +accept 200 -100 +expect -0.000898315 0.001808739 +accept -200 100 +expect 0.000898315 -0.001808739 +accept -200 -100 +expect -0.000898315 -0.001808739 + =============================================================================== Ortelius Oval @@ -4163,6 +4186,29 @@ expect -0.001376321 0.001453641 accept -200 -100 expect -0.001988706 -0.000228872 +------------------------------------------------------------------------------- +operation +proj=tpers +a=6400000 +h=1000000 +tilt=20 +------------------------------------------------------------------------------- +tolerance 0.1 mm +accept 2 1 +expect 213598.340357101 113687.930830744 +accept 2 -1 +expect 231609.982792523 -123274.645577324 +accept -2 1 +expect -213598.340357101 113687.930830744 +accept -2 -1 +expect -231609.982792523 -123274.645577324 + +direction inverse +accept 200 100 +expect 0.001790554 0.000841285 +accept 200 -100 +expect 0.001790432 -0.000841228 +accept -200 100 +expect -0.001790554 0.000841285 +accept -200 -100 +expect -0.001790432 -0.000841228 + =============================================================================== Universal Polar Stereographic |
