aboutsummaryrefslogtreecommitdiff
path: root/test/gie
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-01-14 00:53:07 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-01-14 23:33:16 +0100
commit941bb82c7eecbf56821075f95991916c30c31b4e (patch)
treefe7a9096f4daae7692d07bbd6ae85f4c6e90870c /test/gie
parent9cb40a8322f4ccbf8305daf368308783969d1c94 (diff)
downloadPROJ-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.gie14
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
-------------------------------------------------------------------------------