aboutsummaryrefslogtreecommitdiff
path: root/test/gie/more_builtins.gie
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-10-26 18:43:14 +0200
committerEven Rouault <even.rouault@spatialys.com>2018-10-27 22:21:49 +0200
commitfcd022dc3b6e79bf074414ad4afea630323a307c (patch)
tree851b40f3f0b580a3e627ab8a136cb5be7e61da7f /test/gie/more_builtins.gie
parent35eb793ff6b411cc88fc578b4d99e34cd25ca613 (diff)
downloadPROJ-fcd022dc3b6e79bf074414ad4afea630323a307c.tar.gz
PROJ-fcd022dc3b6e79bf074414ad4afea630323a307c.zip
Implement Molodensky-Badekas transform (fixes #1160)
Diffstat (limited to 'test/gie/more_builtins.gie')
-rw-r--r--test/gie/more_builtins.gie24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/gie/more_builtins.gie b/test/gie/more_builtins.gie
index 6ac0c70c..13b77b0a 100644
--- a/test/gie/more_builtins.gie
+++ b/test/gie/more_builtins.gie
@@ -411,6 +411,30 @@ expect failure errno invalid_arg
-------------------------------------------------------------------------------
+Molodensky-Badekas from IOGP Guidance 7.2, Transformation from La Canoa to REGVEN
+between geographic 2D coordinate reference systems (EPSG Dataset transformation code 1771).
+Here just taking the Cartesian step of the transformation.
+-------------------------------------------------------------------------------
+operation proj=molobadekas convention=coordinate_frame
+ x=-270.933 y=115.599 z=-360.226 rx=-5.266 ry=-1.238 rz=2.381
+ s=-5.109 px=2464351.59 py=-5783466.61 pz=974809.81
+-------------------------------------------------------------------------------
+tolerance 1 cm
+roundtrip 1
+accept 2550408.96 -5749912.26 1054891.11
+expect 2550138.45 -5749799.87 1054530.82
+-------------------------------------------------------------------------------
+
+-------------------------------------------------------------------------------
+Test error cases of molobadekas
+-------------------------------------------------------------------------------
+
+# Missing convention
+operation proj=molobadekas
+expect failure errno missing_arg
+
+
+-------------------------------------------------------------------------------
geocentric latitude
-------------------------------------------------------------------------------
operation proj=geoc ellps=GRS80