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 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'test/gie') 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 +------------------------------------------------------------------------------- + -- cgit v1.2.3