aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2018-03-21 11:33:34 +0100
committerGitHub <noreply@github.com>2018-03-21 11:33:34 +0100
commit84c2fed374da46ba0ca3cae1125350b1aa3f73fd (patch)
tree31af10655073232e02322877d263c53f334e9b95 /test
parent047c10f3b4531e1bd1f017dc4beb9283c990e9c5 (diff)
parentcf6b060f5c3a96afc11e54e52ef2bfe0bab27991 (diff)
downloadPROJ-84c2fed374da46ba0ca3cae1125350b1aa3f73fd.tar.gz
PROJ-84c2fed374da46ba0ca3cae1125350b1aa3f73fd.zip
Merge pull request #882 from rouault/fix_881
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.gie14
-rw-r--r--test/gigs/5111.1.gie2
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