aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-03-11 22:57:49 +0100
committerGitHub <noreply@github.com>2018-03-11 22:57:49 +0100
commit450d9c4e3852214bd8a0c3d57249be32a54f25b6 (patch)
tree3e6a57014e0c28c26a4efb4d642736087e3e7889 /test
parentcf3066e1967d54148756c65a813abd0e935f7ba9 (diff)
parentf45f27ae6cdbfb18dfdf146c4afda1f7228f03e5 (diff)
downloadPROJ-450d9c4e3852214bd8a0c3d57249be32a54f25b6.tar.gz
PROJ-450d9c4e3852214bd8a0c3d57249be32a54f25b6.zip
Merge pull request #851 from kbevers/web-mercator-test
Add Web Mercator test case
Diffstat (limited to 'test')
-rw-r--r--test/gie/4D-API_cs2cs-style.gie14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/gie/4D-API_cs2cs-style.gie b/test/gie/4D-API_cs2cs-style.gie
index 66da0633..4b0ecb60 100644
--- a/test/gie/4D-API_cs2cs-style.gie
+++ b/test/gie/4D-API_cs2cs-style.gie
@@ -186,4 +186,18 @@ tolerance 20 cm
accept 7.438632495 46.951082877
expect 2600000.0 1200000.0
-------------------------------------------------------------------------------
+
+-------------------------------------------------------------------------------
+Test that Google's Web Mercator works as intended (see #834 for details).
+-------------------------------------------------------------------------------
+operation proj=pipeline step init=epsg:26915 inv step init=epsg:3857
+-------------------------------------------------------------------------------
+tolerance 20 cm
+accept 487147.594520173 4934316.46263998
+expect -10370728.80 5552839.74
+
+accept 487147.594520173 4934316.46263998 0
+expect -10370728.80 5552839.74 0
+-------------------------------------------------------------------------------
+
</gie>