diff --git a/Testing/Code/Wrappers/Python/CMakeLists.txt b/Testing/Code/Wrappers/Python/CMakeLists.txt index f9cb54a0999075ea34537ecf01628c1359efdb93..bad9b89c0429a5690fc144908be366e11e1cdfc3 100644 --- a/Testing/Code/Wrappers/Python/CMakeLists.txt +++ b/Testing/Code/Wrappers/Python/CMakeLists.txt @@ -53,25 +53,3 @@ add_test( NAME pyTvBug441 ${OTB_DATA_ROOT}/Input/stereo_wv2_right.tif ${TEMP}/pyTvBug441Output.tif ) - -IF(OTB_DATA_USE_LARGEINPUT) -add_test( NAME pyTvOrthoRectification_UTM - COMMAND ${TEST_DRIVER} - --compare-image 0.0 - ${BASELINE}/owTvOrthorectifTest_UTM.tif - ${TEMP}/pyTvOrthorectifTest_UTM.tif - Execute - ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/PythonOrthoRectification.py - ${OTB_DATA_LARGEINPUT_ROOT}/QUICKBIRD/TOULOUSE/000000128955_01_P001_PAN/02APR01105228-P1BS-000000128955_01_P001.TIF - ${TEMP}/pyTvOrthorectifTest_UTM.tif - 374100.8 - 4829184.8 - 500 - 500 - 0.5 - -0.5 - utm - 4 - ${INPUTDATA}/DEM/srtm_directory/ - ) -ENDIF(OTB_DATA_USE_LARGEINPUT) diff --git a/Testing/Code/Wrappers/Python/PythonOrthoRectification.py b/Testing/Code/Wrappers/Python/PythonOrthoRectification.py deleted file mode 100644 index 1a245d646421a133d1e68db036ac966a16e33ef4..0000000000000000000000000000000000000000 --- a/Testing/Code/Wrappers/Python/PythonOrthoRectification.py +++ /dev/null @@ -1,37 +0,0 @@ -# -*- coding: utf-8 -*- - -# -# Example on the use of the Rescale -# -from sys import argv -import otbApplication as otb - -app = otb.Registry.CreateApplication("OrthoRectification") - -app.SetParameterString("in", argv[1]) -app.SetParameterString("out", argv[2] + ".tif") -app.SetParameterFloat("outputs.ulx",float(argv[3])) -app.SetParameterFloat("outputs.uly",float(argv[4])) -app.SetParameterInt("outputs.sizex",int(argv[5])) -app.SetParameterInt("outputs.sizey",int(argv[6])) -app.SetParameterFloat("outputs.spacingx",float(argv[7])) -app.SetParameterFloat("outputs.spacingy",float(argv[8])) - -app.SetParameterString("map", argv[9]) -app.SetParameterString("dem", argv[10]) - -app.ExecuteAndWriteOutput() - -print dir(app) - -# print some values -print app.GetParameterRole() -print app.GetDocName() -print app.GetDocLongDescription() -print app.DocCLExample() -print app.DocAuthors() -print app.DocLimitations() -print app.DocSeeAlso() - -print app.GetParameterOutputImagePixelType("out") -print app.GetParameterOutputImagePixelType("int") # dummy