diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-01-15 14:55:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-15 14:55:16 +0100 |
| commit | 7040857c1fed53b0b896cd8f15bc34ff3c6161d3 (patch) | |
| tree | 9abfb9af291a91912b19638b83e5bccaf6f4204c /test | |
| parent | 7468536f07d172592889cbb894376a0968afd4df (diff) | |
| parent | 11f63432d39e33a04e1fb0acd8215b86f27dceb8 (diff) | |
| download | PROJ-7040857c1fed53b0b896cd8f15bc34ff3c6161d3.tar.gz PROJ-7040857c1fed53b0b896cd8f15bc34ff3c6161d3.zip | |
Merge pull request #1816 from rouault/deformation_with_geotiff_file
[RFC4_dev] deformation: add support for +grids= for GeoTIFF grids
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/deformation.gie | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/test/gie/deformation.gie b/test/gie/deformation.gie index 37f62e6e..848b9e89 100644 --- a/test/gie/deformation.gie +++ b/test/gie/deformation.gie @@ -12,6 +12,35 @@ The input coordinate is located at lon=60, lam=-160 - somewhere in Alaska. <gie> ------------------------------------------------------------------------------- +Test with an extract of nkgrf03vel_realigned with ctable2+gtx +------------------------------------------------------------------------------- +operation +proj=pipeline + +step +proj=cart +ellps=GRS80 + +step +proj=deformation + +xy_grids=tests/nkgrf03vel_realigned_xy_extract.ct2 + +z_grids=tests/nkgrf03vel_realigned_z_extract.gtx +ellps=GRS80 +dt=1 + +step +proj=cart +ellps=GRS80 +inv +------------------------------------------------------------------------------- +tolerance 0.05 mm +accept 21.5 63 0 +expect 21.5000000049 62.9999999937 0.0083 +roundtrip 5 + +------------------------------------------------------------------------------- +Test with an extract of nkgrf03vel_realigned with GeoTIFF +------------------------------------------------------------------------------- +operation +proj=pipeline + +step +proj=cart +ellps=GRS80 + +step +proj=deformation + +grids=tests/nkgrf03vel_realigned_extract.tif +ellps=GRS80 +dt=1 + +step +proj=cart +ellps=GRS80 +inv +------------------------------------------------------------------------------- +tolerance 0.05 mm +accept 21.5 63 0 +expect 21.5000000049 62.9999999937 0.0083 +roundtrip 5 + +------------------------------------------------------------------------------- Test the +dt parameter ------------------------------------------------------------------------------- operation +proj=deformation +xy_grids=alaska +z_grids=egm96_15.gtx |
