aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-11-30 15:18:54 +0100
committerGitHub <noreply@github.com>2020-11-30 15:18:54 +0100
commite9f7439946d9a6de799b0ba02af549875aae9979 (patch)
treefb5061dbab59decd1b4a2ce2ec8e4f226c3ec530 /test
parent36c700192cee19a1070916dd094118a33a29ebe2 (diff)
parent284feecd27f3fd43569d3d37d62ae7b0153c20ce (diff)
downloadPROJ-e9f7439946d9a6de799b0ba02af549875aae9979.tar.gz
PROJ-e9f7439946d9a6de799b0ba02af549875aae9979.zip
Merge pull request #2471 from rouault/extent_spherical_tmerc_domain
Spherical tmerc forward: do not restrict to [-90,90] longitude range
Diffstat (limited to 'test')
-rw-r--r--test/gie/builtins.gie68
1 files changed, 68 insertions, 0 deletions
diff --git a/test/gie/builtins.gie b/test/gie/builtins.gie
index 0f86bed2..e870f1d4 100644
--- a/test/gie/builtins.gie
+++ b/test/gie/builtins.gie
@@ -5771,6 +5771,74 @@ expect -223413.466406322 111769.145040597
accept -2 -1
expect -223413.466406322 -111769.145040597
+accept 0 0
+expect 0 0
+roundtrip 1
+
+accept 0 90
+expect 0 10053096.491487337276
+roundtrip 1
+
+accept 0 -90
+expect 0 -10053096.491487337276
+roundtrip 1
+
+accept 170 60
+expect 557076.820490954560 13361866.764138307422
+roundtrip 1
+
+accept 89 0.01
+expect 30344312.098578717560 64001.116414904580
+roundtrip 1
+
+accept 91 0.01
+expect 30344312.098578717560 20042191.866555366665
+roundtrip 1
+
+accept 179.999 0.01
+expect 111.701070433669 20105075.972255337983
+roundtrip 1
+
+accept -89 0.01
+expect -30344312.098578717560 64001.116414904580
+roundtrip 1
+
+accept -91 0.01
+expect -30344312.098578717560 20042191.866555366665
+roundtrip 1
+
+accept -179.999 0.01
+expect -111.701070433669 20105075.972255337983
+roundtrip 1
+
+accept 89 -0.01
+expect 30344312.098578717560 -64001.116414904580
+roundtrip 1
+
+accept 91 -0.01
+expect 30344312.098578717560 -20042191.866555366665
+roundtrip 1
+
+accept 179.999 -0.01
+expect 111.701070433669 -20105075.972255337983
+roundtrip 1
+
+accept -89 -0.01
+expect -30344312.098578717560 -64001.116414904580
+roundtrip 1
+
+accept -91 -0.01
+expect -30344312.098578717560 -20042191.866555366665
+roundtrip 1
+
+accept -179.999 -0.01
+expect -111.701070433669 -20105075.972255337983
+roundtrip 1
+
+accept 150 0
+expect 3515559.323737951461 20106192.982974674553
+roundtrip 1
+
direction inverse
accept 200 100
expect 0.001790493 0.000895247