aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-06-22 10:52:22 +0200
committerGitHub <noreply@github.com>2018-06-22 10:52:22 +0200
commit5c192b091fd5bf35742a34052fb53fcb3c276fd7 (patch)
tree529784a9df53828c30f0295c42bd25c868940964 /test
parent722f22dc585b37766153a4da37b9a829ab5b8ff7 (diff)
parent275cbbaca08864867e6e3c7bf199a38204d3fffe (diff)
downloadPROJ-5c192b091fd5bf35742a34052fb53fcb3c276fd7.tar.gz
PROJ-5c192b091fd5bf35742a34052fb53fcb3c276fd7.zip
Merge pull request #1055 from rouault/geocent_cart_to_meter
Make +proj=geocent and +proj=cart take into account +to_meter (relates to #1053)
Diffstat (limited to 'test')
-rw-r--r--test/gie/4D-API_cs2cs-style.gie15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/gie/4D-API_cs2cs-style.gie b/test/gie/4D-API_cs2cs-style.gie
index f01d9352..a09f7168 100644
--- a/test/gie/4D-API_cs2cs-style.gie
+++ b/test/gie/4D-API_cs2cs-style.gie
@@ -309,4 +309,19 @@ accept 0.0 0.0 0.00
expect 3396190.0 0.0 0.0
roundtrip 1
+
+-------------------------------------------------------------------------------
+Check that geocent and cart take into account to_meter (#1053)
+-------------------------------------------------------------------------------
+
+operation +proj=geocent +a=1000 +b=1000 +to_meter=1000
+accept 90 0 0
+expect 0 1 0
+roundtrip 1
+
+operation +proj=cart +a=1000 +b=1000 +to_meter=1000
+accept 90 0 0
+expect 0 1 0
+roundtrip 1
+
</gie>