diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2018-07-20 12:27:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-20 12:27:10 +0100 |
| commit | 0903f85798a9ffa1f9de9750de7cecdcbe85cd23 (patch) | |
| tree | cf59e946e184e0ad71dda289f5d8d198c341b1c8 | |
| parent | 2fe6db2d398a1d6790ad1b487eb6796cc855174a (diff) | |
| parent | 0a1d69d64c903ee4b81ff1d8013b1bcf1052a8b5 (diff) | |
| download | PROJ-0903f85798a9ffa1f9de9750de7cecdcbe85cd23.tar.gz PROJ-0903f85798a9ffa1f9de9750de7cecdcbe85cd23.zip | |
Merge pull request #1079 from kbevers/webmerc-tests
Add test coordinates for webmerc
| -rw-r--r-- | test/gie/4D-API_cs2cs-style.gie | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/test/gie/4D-API_cs2cs-style.gie b/test/gie/4D-API_cs2cs-style.gie index a09f7168..3b9de2e6 100644 --- a/test/gie/4D-API_cs2cs-style.gie +++ b/test/gie/4D-API_cs2cs-style.gie @@ -218,7 +218,7 @@ expect -10370728.80 5552839.74 0 ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- -Test that Google's Web Mercator with +proj=webmerc +Test Google's Web Mercator with +proj=webmerc ------------------------------------------------------------------------------- operation proj=pipeline step init=epsg:26915 inv step proj=webmerc datum=WGS84 ------------------------------------------------------------------------------- @@ -231,6 +231,19 @@ expect -10370728.80 5552839.74 0 ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- +Web Mercator test data from EPSG Guidance Note 7-2, p. 44. +------------------------------------------------------------------------------- +operation proj=webmerc +tolerance 1 cm + +accept -100.33333333 24.46358028 +expect -11169055.58 2810000.00 + +accept -100.33333333 24.38178694 +expect -11169055.58 2800000.00 +------------------------------------------------------------------------------- + +------------------------------------------------------------------------------- Test that +datum parameters are handled correctly in pipelines. See #872 for details. ------------------------------------------------------------------------------- |
