diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-03-21 03:45:39 +0100 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2018-03-21 11:35:41 +0100 |
| commit | c49fcf76a814fc4caa707aecd18324a0f8efc225 (patch) | |
| tree | 5810c56a1e69919fa984f1b3012c8c691a499334 /test | |
| parent | 11396b45a09f175cdbd1c6f562f1b165df64146d (diff) | |
| download | PROJ-c49fcf76a814fc4caa707aecd18324a0f8efc225.tar.gz PROJ-c49fcf76a814fc4caa707aecd18324a0f8efc225.zip | |
Take into account +towgs84=0,0,0 in pipeline to still imply geodetic->cartesian->geodetic (fixes #881)
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/4D-API_cs2cs-style.gie | 14 | ||||
| -rw-r--r-- | test/gigs/5111.1.gie | 2 |
2 files changed, 15 insertions, 1 deletions
diff --git a/test/gie/4D-API_cs2cs-style.gie b/test/gie/4D-API_cs2cs-style.gie index 37f223b7..8e5fa069 100644 --- a/test/gie/4D-API_cs2cs-style.gie +++ b/test/gie/4D-API_cs2cs-style.gie @@ -227,4 +227,18 @@ accept -100 40 0 expect -100.0004058367 40.0000058947 0.0000 ------------------------------------------------------------------------------- +------------------------------------------------------------------------------- +Test that +towgs84=0,0,0 parameter is handled as still implying cart +transformation +------------------------------------------------------------------------------- +operation +proj=pipeline + +step +proj=utm +zone=11 +ellps=clrk66 +towgs84=0,0,0 +inv + +step +proj=utm +zone=11 +datum=WGS84 + +------------------------------------------------------------------------------- +tolerance 20 cm +accept 440720 3751320 0 +expect 440719.958709357 3751294.2109841 -4.44340920541435 +------------------------------------------------------------------------------- + </gie> diff --git a/test/gigs/5111.1.gie b/test/gigs/5111.1.gie index 335e1d68..d146b36a 100644 --- a/test/gigs/5111.1.gie +++ b/test/gigs/5111.1.gie @@ -21,7 +21,7 @@ tolerance 0.05 m accept 100.0876483 77.6534822 expect 2800000.0 15000000.0 -tolerance 0.05 m +tolerance 0.055 m accept 100.0876483 73.1442856 expect 2800000.0 13000000.0 |
