diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2018-10-28 09:00:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-28 09:00:34 +0100 |
| commit | df368c5c53209d71865c4012735dd287795e9336 (patch) | |
| tree | 365cd96740be0c2631061b5538449de5df50fe19 /test | |
| parent | 22c52cf39c2491467f04bd6300a72d92c230a5e7 (diff) | |
| parent | de5b114b74664829bcbc5559984738fcc62ff173 (diff) | |
| download | PROJ-df368c5c53209d71865c4012735dd287795e9336.tar.gz PROJ-df368c5c53209d71865c4012735dd287795e9336.zip | |
Merge pull request #1161 from rouault/molobadekas
Implement Molodensky-Badekas transform (fixes #1160)
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/more_builtins.gie | 24 |
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 |
