diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2019-02-14 12:00:45 +0100 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2019-02-14 12:00:45 +0100 |
| commit | 29a59cadb9d1371479477af517f3431784e880f9 (patch) | |
| tree | 040806680521072ffdc1e5b68a2c34d82646c857 /test | |
| parent | 15a225b0d80281b80c536e7b5dde334d12c406c6 (diff) | |
| download | PROJ-29a59cadb9d1371479477af517f3431784e880f9.tar.gz PROJ-29a59cadb9d1371479477af517f3431784e880f9.zip | |
Reverse direction of deformation operations/transformations/deformation
Changed the direction of dt-calculation to follow the same convention as
helmert. Changed from dt = t_c - t_obs to dt = t_obs - t_c, which
effectively reverses the direction of the operation. Existing projstrings
using deformation can simply reverse the direction of the operation to
achieve the same results as before this commit.
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/deformation.gie | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/gie/deformation.gie b/test/gie/deformation.gie index 03071d1e..e4d87fe2 100644 --- a/test/gie/deformation.gie +++ b/test/gie/deformation.gie @@ -18,6 +18,7 @@ operation +proj=deformation +xy_grids=alaska +z_grids=egm96_15.gtx +t_epoch=2016.0 +t_obs=2000.0 +ellps=GRS80 ------------------------------------------------------------------------------- tolerance 0.1 mm +direction inverse ignore pjd_err_failed_to_load_grid accept -3004295.5882503074 -1093474.1690603832 5500477.1338251457 expect -3004295.7025 -1093474.2106 5500477.3444 @@ -38,6 +39,7 @@ operation +proj=deformation +xy_grids=alaska +z_grids=egm96_15.gtx +t_epoch=2016.0 +ellps=GRS80 ------------------------------------------------------------------------------- tolerance 0.1 mm +direction inverse ignore pjd_err_failed_to_load_grid accept -3004295.5882503074 -1093474.1690603832 5500477.1338251457 2000.0 expect -3004295.7025 -1093474.2106 5500477.3444 2000.0 |
