Skip to content
Snippets Groups Projects
Commit d3272c0e authored by Jonathan Guinet's avatar Jonathan Guinet
Browse files

MRG

parents b08fa278 e36fd4ae
No related branches found
No related tags found
No related merge requests found
set(TEST_DRIVER otbTestDriver
--add-before-env ITK_AUTOLOAD_PATH $<TARGET_FILE_DIR:otbapp_ReadImageInfo> )
#--- Rescale ---#
IF(OTB_DATA_USE_LARGEINPUT)
SET(LARGEINPUT ${OTB_DATA_LARGEINPUT_ROOT} )
ENDIF(OTB_DATA_USE_LARGEINPUT)
set(TEST_DRIVER otbTestDriver
--add-before-env ITK_AUTOLOAD_PATH $<TARGET_FILE_DIR:otbapp_ReadImageInfo> )
IF(OTB_DATA_USE_LARGEINPUT)
add_test(NAME apTvUtORthorectificationTest_UTM
COMMAND otbTestDriver
--compare-image 0.0
${BASELINE}/owTvOrthorectifTest_UTM.tif
${TEMP}/owTvOrthorectifTest_UTM.tif
Execute $<TARGET_FILE:otbApplicationLauncherCommandLine>
OrthoRectification
--modulePath $<TARGET_FILE_DIR:otbapp_Rescale>
--modulePath $<TARGET_FILE_DIR:otbapp_OrthoRectification>
--in ${LARGEINPUT}/QUICKBIRD/TOULOUSE/000000128955_01_P001_PAN/02APR01105228-P1BS-000000128955_01_P001.TIF
--out ${TEMP}/owTvOrthorectifTest_UTM.tif
--out ${TEMP}/owTvOrthorectifTest_UTM.tif
--dem ${INPUTDATA}/DEM/srtm_directory/
--outputs.uservalues 0
--outputs.ulx 374100.8
--outputs.uly 4829184.8
--outputs.sizex 500
--outputs.sizey 500
# 220
--outputs.spacingx 0.5
--outputs.spacingy -0.5
--map utm
--map.utm.zone 31
--map.utm.hem 1
--rpc.ncp 100
#4 # Spacing of the deformation field
--gridspacing 4 # Spacing of the deformation field
)
#add_test(NAME apTvUtReadImageInfoSpot5
# COMMAND otbTestDriver
# Execute $<TARGET_FILE:otbApplicationLauncherCommandLine>
# ReadImageInfo
# --modulePath $<TARGET_FILE_DIR:otbapp_ReadImageInfo>
# --in ${LARGEDATA}/SPOT5/TEHERAN/IMAGERY.TIF )
ENDIF(OTB_DATA_USE_LARGEINPUT)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment