diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-03-21 03:45:39 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-03-21 10:51:53 +0100 |
| commit | cf6b060f5c3a96afc11e54e52ef2bfe0bab27991 (patch) | |
| tree | ba6c0ded8a022bd0fdf74483ccb43513762033ae /test | |
| parent | 60dc8062e06964fb44532cf353c9f3792d57aa68 (diff) | |
| download | PROJ-cf6b060f5c3a96afc11e54e52ef2bfe0bab27991.tar.gz PROJ-cf6b060f5c3a96afc11e54e52ef2bfe0bab27991.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 7b5f2958..3d3bf207 100644 --- a/test/gie/4D-API_cs2cs-style.gie +++ b/test/gie/4D-API_cs2cs-style.gie @@ -229,4 +229,18 @@ 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 |
