From fcd022dc3b6e79bf074414ad4afea630323a307c Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 26 Oct 2018 18:43:14 +0200 Subject: Implement Molodensky-Badekas transform (fixes #1160) --- test/gie/more_builtins.gie | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'test') 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 @@ -410,6 +410,30 @@ operation proj=helmert transpose 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 ------------------------------------------------------------------------------- -- cgit v1.2.3