From cf6b060f5c3a96afc11e54e52ef2bfe0bab27991 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 21 Mar 2018 03:45:39 +0100 Subject: Take into account +towgs84=0,0,0 in pipeline to still imply geodetic->cartesian->geodetic (fixes #881) --- test/gie/4D-API_cs2cs-style.gie | 14 ++++++++++++++ test/gigs/5111.1.gie | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'test') 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 +------------------------------------------------------------------------------- + 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 -- cgit v1.2.3