From 8b12470eaed824c696e02a0e5b24f81a0ea1c8a7 Mon Sep 17 00:00:00 2001 From: Julien Michel <julien.michel@orfeo-toolbox.org> Date: Mon, 20 Jun 2011 12:01:25 +0200 Subject: [PATCH] ENH: Adding a test to highlight bug on EPSG 3857 projection --- Testing/Code/Projections/CMakeLists.txt | 5 +++++ Testing/Code/Projections/otbProjectionsTests4.cxx | 1 + 2 files changed, 6 insertions(+) diff --git a/Testing/Code/Projections/CMakeLists.txt b/Testing/Code/Projections/CMakeLists.txt index 5d6ba4bd69..feaf677b1d 100644 --- a/Testing/Code/Projections/CMakeLists.txt +++ b/Testing/Code/Projections/CMakeLists.txt @@ -1309,6 +1309,10 @@ ADD_TEST(prTvVectorDataTransformFilter ${PROJECTIONS_TESTS4} ) ENDIF(OTB_DATA_USE_LARGEINPUT) +#---- Generic tests on GenericRSTransform ----- +ADD_TEST(prTvGenericRSTransformGenericTest_WGS84<->EPSG:3857 ${PROJECTIONS_TESTS4} + otbGenericRSTransformGenericTest + 1.48353 43.55968 165145.804154 5397552.58726 EPSG 4326 EPSG 3857 GEO 1e-6 PHYSICAL 1e-6 NOELEV) #======================================================================================= SET(Projections_SRCS1 @@ -1374,6 +1378,7 @@ otbImageToGenericRSOutputParameters.cxx otbRationalTransform.cxx otbGeographicalDistance.cxx otbVectorDataTransformFilter.cxx +otbGenericRSTransformGenericTest.cxx ) OTB_ADD_EXECUTABLE(otbProjectionsTests1 "${Projections_SRCS1}" "OTBProjections;OTBIO;OTBTesting") diff --git a/Testing/Code/Projections/otbProjectionsTests4.cxx b/Testing/Code/Projections/otbProjectionsTests4.cxx index dba2b835de..da276b56ab 100644 --- a/Testing/Code/Projections/otbProjectionsTests4.cxx +++ b/Testing/Code/Projections/otbProjectionsTests4.cxx @@ -38,4 +38,5 @@ void RegisterTests() REGISTER_TEST(otbGeographicalDistance); REGISTER_TEST(otbVectorDataTransformFilterNew); REGISTER_TEST(otbVectorDataTransformFilter); + REGISTER_TEST(otbGenericRSTransformGenericTest); } -- GitLab