diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-01-14 00:53:07 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-01-14 23:33:16 +0100 |
| commit | 941bb82c7eecbf56821075f95991916c30c31b4e (patch) | |
| tree | fe7a9096f4daae7692d07bbd6ae85f4c6e90870c /test/gie | |
| parent | 9cb40a8322f4ccbf8305daf368308783969d1c94 (diff) | |
| download | PROJ-941bb82c7eecbf56821075f95991916c30c31b4e.tar.gz PROJ-941bb82c7eecbf56821075f95991916c30c31b4e.zip | |
Add test/unit/test_grids.cpp to improve testing coverage
Diffstat (limited to 'test/gie')
| -rw-r--r-- | test/gie/geotiff_grids.gie | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/gie/geotiff_grids.gie b/test/gie/geotiff_grids.gie index 85c0cbe9..62a5b16d 100644 --- a/test/gie/geotiff_grids.gie +++ b/test/gie/geotiff_grids.gie @@ -277,6 +277,20 @@ accept -80.5041667 44.5458333 0 expect -80.50401615833 44.5458827236 0 ------------------------------------------------------------------------------- +# Check a nested grid of a nested grid only based on spatial extent analysis +------------------------------------------------------------------------------- +operation +proj=hgridshift +grids=tests/test_hgrid_with_two_level_of_subgrids_no_grid_name.tif +------------------------------------------------------------------------------- +accept -45.0 22.5 +accept -44.9983333334 22.5013888889 + +# Check a nested grid of a nested grid only based on spatial extent analysis +------------------------------------------------------------------------------- +operation +proj=vgridshift +grids=tests/test_hgrid_with_two_level_of_subgrids_no_grid_name.tif +multiplier=1 +------------------------------------------------------------------------------- +accept -45.0 22.5 0 +accept -45.0 22.5 5 + ------------------------------------------------------------------------------- operation +proj=hgridshift +grids=tests/test_vgrid.tif ------------------------------------------------------------------------------- |
