diff options
| author | Thomas Knudsen <busstoptaktik@users.noreply.github.com> | 2017-11-28 16:09:17 +1300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-28 16:09:17 +1300 |
| commit | 8c6fe8b673c9876e7301d4a890403a931540c17c (patch) | |
| tree | d3c8f948c694ddd36cf7f5c3b68d8f13d1157976 /src | |
| parent | 1f48f4c333bfe135296d3be643ef4981dc401c38 (diff) | |
| download | PROJ-8c6fe8b673c9876e7301d4a890403a931540c17c.tar.gz PROJ-8c6fe8b673c9876e7301d4a890403a931540c17c.zip | |
Add tests for GDA2020 (#688)
Add GDA2020 tests, and correct the PJ_helmert bug they revealed
Diffstat (limited to 'src')
| -rw-r--r-- | src/PJ_helmert.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PJ_helmert.c b/src/PJ_helmert.c index d0fd8222..79c7ad53 100644 --- a/src/PJ_helmert.c +++ b/src/PJ_helmert.c @@ -572,7 +572,8 @@ PJ *TRANSFORMATION(helmert, 0) { proj_log_debug(P, "ds=% 3.5f epoch=% 5.5f tobs=% 5.5f", Q->dscale, Q->epoch, Q->t_obs); } - if ((Q->opk.o==0) && (Q->opk.p==0) && (Q->opk.k==0) && (Q->scale==0)) { + if ((Q->opk.o==0) && (Q->opk.p==0) && (Q->opk.k==0) && (Q->scale==0) && + (Q->dopk.o==0) && (Q->dopk.p==0) && (Q->dopk.k==0)) { Q->no_rotation = 1; return P; } |
