aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-10-11 11:47:56 +0200
committerGitHub <noreply@github.com>2018-10-11 11:47:56 +0200
commit249588acd5dddafcd0ae33a0ae6dfc5431dea4bc (patch)
treed91329333061f31faf4e6997acddbdbdd535f948 /test
parent5e66226efb1d0900b463e71197a9a271a4180606 (diff)
parent0e3debf173bfe9d9dccf337a5c41fe2e1bf1ded3 (diff)
downloadPROJ-249588acd5dddafcd0ae33a0ae6dfc5431dea4bc.tar.gz
PROJ-249588acd5dddafcd0ae33a0ae6dfc5431dea4bc.zip
Merge pull request #1133 from Fil/bertin1953
the Bertin 1953 projection
Diffstat (limited to 'test')
-rw-r--r--test/gie/more_builtins.gie35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/gie/more_builtins.gie b/test/gie/more_builtins.gie
index 960e5814..6ac0c70c 100644
--- a/test/gie/more_builtins.gie
+++ b/test/gie/more_builtins.gie
@@ -59,6 +59,41 @@ roundtrip 100 1 m
-------------------------------------------------------------------------------
+-------------------------------------------------------------------------------
+Tests for PJ_bertin1953.c
+-------------------------------------------------------------------------------
+operation proj=bertin1953 +R=1
+-------------------------------------------------------------------------------
+accept 0 0
+expect -0.260206554508 -0.685226058142
+
+accept 16.5 42
+expect 0.0 0.0
+
+accept -180 90
+expect 0.0 0.813473286152
+
+accept 0 90
+expect 0.0 0.813473286152
+
+accept 10 -35
+expect -0.138495501548 -1.221408328101
+
+accept -70 -35
+expect -1.504967424950 -0.522846035499
+
+accept 80 7
+expect 0.929377425352 -0.215443296201
+
+accept 128 35
+expect 0.937431733950 0.700084268525
+
+accept 170 -41
+expect 2.162845830414 -0.046534568425
+
+-------------------------------------------------------------------------------
+
+