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 /test | |
| 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 'test')
| -rw-r--r-- | test/gie/GDA.gie | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/test/gie/GDA.gie b/test/gie/GDA.gie new file mode 100644 index 00000000..7ccf6b58 --- /dev/null +++ b/test/gie/GDA.gie @@ -0,0 +1,69 @@ +----------------------------------------------------------------------------------- +Australian datum transformations +----------------------------------------------------------------------------------- +Based on material from: + +Intergovernmental Committee on Surveying and Mapping (ICSM) +Permanent Committee on Geodesy (PCG): + +Geocentric Datum of Australia 2020 Technical Manual +Version 1.0, 25 July 2017 + +Which is distributed under Creative Commons CC-BY 4.0 + +These tests will probably be useful as a template for an AU setup file, defining +transformations for Australian systems, but I'm reluctant to provide such a file +directly - I believe it should come from official AU sources. + +Thomas Knudsen, thokn@sdfe.dk, 2017-11-27 +----------------------------------------------------------------------------------- + +BEGIN +----------------------------------------------------------------------------------- +GDA94 to GDA2020 +----------------------------------------------------------------------------------- +Just the Helmert transformation, to verify that we are within 100 um +----------------------------------------------------------------------------------- +operation proj=helmert x=0.06155 y=-0.01087 z=-0.04019 s=-0.009994 \ + rx=-0.0394924 ry=-0.0327221 rz=-0.0328979 +----------------------------------------------------------------------------------- +tolerance 75 um +accept -4052051.7643 4212836.2017 -2545106.0245 +expect -4052052.7379 4212835.9897 -2545104.5898 + + +----------------------------------------------------------------------------------- +GDA94 to GDA2020 +----------------------------------------------------------------------------------- +All the way from geographic-to-geographic +----------------------------------------------------------------------------------- +operation proj=pipeline ellps=GRS80 \ + step proj=cart \ + step proj=helmert x=0.06155 y=-0.01087 z=-0.04019 s=-0.009994 \ + rx=-0.0394924 ry=-0.0327221 rz=-0.0328979 \ + step proj=cart inv +----------------------------------------------------------------------------------- +accept 133.88551329 -23.67012389 603.3466 0 # Alice Springs GDA94 +expect 133.8855216 -23.67011014 603.2489 0 # Alice Springs GDA2020 + + +----------------------------------------------------------------------------------- +ITRF2014@2018 to GDA2020 +----------------------------------------------------------------------------------- +Just the Helmert transformation, to verify that we are within 100 um +----------------------------------------------------------------------------------- +operation proj=helmert x=0 y=0 z=0 s=0 rx=0 ry=0 rz=0 \ + dx=0 dy=0 dz=0 \ + drx=0.00150379 dry=0.00118346 drz=0.00120716 \ + ds=0 \ + epoch=2020.0 +----------------------------------------------------------------------------------- +tolerance 50 um + + # Alice Springs ITRF2014@2018.0 +accept -4052052.6588 4212835.9938 -2545104.6946 2018.0 + + # Alice Springs GDA2020 +expect -4052052.7373 4212835.9835 -2545104.5867 + +END |
