diff --git a/Data/Baseline/OTB/Images/apTvUtQuicklookWithGCP.1.tif b/Data/Baseline/OTB/Images/apTvUtQuicklookWithGCP.1.tif new file mode 100644 index 0000000000000000000000000000000000000000..75d4e4f6a4ad8aed07ee9bdd04f8e5cc79e622d9 --- /dev/null +++ b/Data/Baseline/OTB/Images/apTvUtQuicklookWithGCP.1.tif @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d4022ef746f67015198c6e43952085ad483ec3608eefb241360a58d241d5c3ed +size 10375 diff --git a/Modules/Applications/AppImageUtils/test/CMakeLists.txt b/Modules/Applications/AppImageUtils/test/CMakeLists.txt index 65db5e506a5b26b2cbeacb2aac0e916563ed765f..6ad99ac2c011201cae2f6084b744f41ab64e4af7 100644 --- a/Modules/Applications/AppImageUtils/test/CMakeLists.txt +++ b/Modules/Applications/AppImageUtils/test/CMakeLists.txt @@ -215,6 +215,11 @@ otb_test_application(NAME apTvUtQuicklookROI1Channel ${TEMP}/apTvUtQuicklookROI1Channel.tif ) +# this tests has two baseline to take into account the bug described in +# https://github.com/opengeospatial/ogc_api_coverages/issues/92 +# (half pixel shift applied in the wrong direction to GCPs with the PixelIsPoint convention) +# The first baseline corresponds to the gdal < 3.1.3 case, +# and the second baseline correspond to gdal >= 3.1.3 case. otb_test_application(NAME apTvUtQuicklookWithGCP APP Quicklook OPTIONS -in ${INPUTDATA}/spot5SubWithGcps.tif