diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2019-01-29 16:57:57 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-29 16:57:57 +0100 |
| commit | 824b278558ddd9e8df3818e1a5ee3e780cb7c81e (patch) | |
| tree | e6782be095f2e2ae1c1c426494b31e1872daf327 | |
| parent | 62799e10a3aa51e61e428e87f4aec10f65c737cb (diff) | |
| parent | c1203ecf517bb43dc84eb9e570d0db841642f05d (diff) | |
| download | PROJ-824b278558ddd9e8df3818e1a5ee3e780cb7c81e.tar.gz PROJ-824b278558ddd9e8df3818e1a5ee3e780cb7c81e.zip | |
Merge pull request #1240 from keyos89/patch-1
Fix wrong parameter in ITRF2000 to ITRF2005 transfomations
| -rw-r--r-- | data/ITRF2000 | 2 | ||||
| -rw-r--r-- | test/unit/test_io.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/data/ITRF2000 b/data/ITRF2000 index a7064f3b..439d1970 100644 --- a/data/ITRF2000 +++ b/data/ITRF2000 @@ -3,7 +3,7 @@ # ITRF2000 -> ITRF2005 is only defined the opposite way, so we flip the sign on all # parameters to get the opposite transformation. Parameters from http://itrf.ign.fr/ITRF_solutions/2005/tp_05-00.php -<ITRF2005> +proj=helmert +x=-0.0001 +y=0.0008 +z=0.0058 +s=-0.0004 +dx=0.0002 +dy=-0.0001 +dz=0.0018 +ds=-0.000008 +t_epoch=2000.0 +convention=position_vector +<ITRF2005> +proj=helmert +x=-0.0001 +y=0.0008 +z=0.0058 +s=-0.0004 +dx=0.0002 +dy=-0.0001 +dz=0.0018 +ds=-0.00008 +t_epoch=2000.0 +convention=position_vector <ITRF97> +proj=helmert +x=0.0067 +y=0.0061 +z=-0.0185 +s=0.00155 +dy=-0.0006 +dz=-0.0014 +ds=0.00001 +drz=0.00002 +t_epoch=1997.0 +convention=position_vector diff --git a/test/unit/test_io.cpp b/test/unit/test_io.cpp index a4f60416..b27fece7 100644 --- a/test/unit/test_io.cpp +++ b/test/unit/test_io.cpp @@ -8679,7 +8679,7 @@ TEST(io, projparse_init) { ASSERT_TRUE(co != nullptr); EXPECT_EQ(co->exportToPROJString(PROJStringFormatter::create().get()), "+proj=helmert +x=-0.0001 +y=0.0008 +z=0.0058 +s=-0.0004 " - "+dx=0.0002 +dy=-0.0001 +dz=0.0018 +ds=-0.000008 " + "+dx=0.0002 +dy=-0.0001 +dz=0.0018 +ds=-0.00008 " "+t_epoch=2000.0 +convention=position_vector"); } |
