Commit a275892f authored by Christophe Palmann's avatar Christophe Palmann

ENH: removed OTB_DATA_USE_SPOT/CNESINPUT variables

parent e01cb5df
......@@ -34,45 +34,4 @@ if(OTB_DATA_USE_LARGEINPUT)
SPOT6_Ortho_Pan-sharpened_12_bits
SPOT6_Primary_Bundle_12_bits
)
endif()
if(OTB_DATA_USE_SPOTPHRINPUT)
set(GenericTestPHR_SPOT_DATA_INPUTS
${SPOTPHRINPUT}/ORTHO_UTM_BUNDLE/IMG_PHR1A_P_001/IMG_PHR1A_P_201006181052297_ORT_IPU_20120221_8798-001_R1C1.JP2
${SPOTPHRINPUT}/ORTHO_UTM_BUNDLE/IMG_PHR1A_MS_002/IMG_PHR1A_MS_201006181052297_ORT_IPU_20120221_8798-002_R1C1.JP2
${SPOTPHRINPUT}/PRIMARY_BUNDLE/IMG_PHR1A_P_001/IMG_PHR1A_P_201006181052297_SEN_IPU_20120221_8686-001_R1C1.JP2
${SPOTPHRINPUT}/PRIMARY_BUNDLE/IMG_PHR1A_MS_002/IMG_PHR1A_MS_201006181052297_SEN_IPU_20120221_8686-002_R1C1.JP2
${SPOTPHRINPUT}/ORTHO_GEOGRAPHIC_BUNDLE/IMG_PHR1A_P_001/IMG_PHR1A_P_201006181052297_ORT_IPU_20120221_8718-001_R1C1.JP2
${SPOTPHRINPUT}/ORTHO_GEOGRAPHIC_BUNDLE/IMG_PHR1A_MS_002/IMG_PHR1A_MS_201006181052297_ORT_IPU_20120221_8718-002_R1C1.JP2
)
set(GenericTestPHR_SPOT_DATA_TYPES
SPOT_PHR_ORTHO_UTM_P
SPOT_PHR_ORTHO_UTM_MS
SPOT_PHR_ORTHO_GEO_P
SPOT_PHR_ORTHO_GEO_MS
SPOT_PHR_PRIMARY_MS
SPOT_PHR_PRIMARY_P
)
set(GenericTestPHR_DATA_INPUTS ${GenericTestPHR_DATA_INPUTS} ${GenericTestPHR_SPOT_DATA_INPUTS})
set(GenericTestPHR_DATA_TYPES ${GenericTestPHR_DATA_TYPES} ${GenericTestPHR_SPOT_DATA_TYPES})
endif()
if(OTB_DATA_USE_CNESPHRINPUT)
set(GenericTestPHR_CNES_DATA_INPUTS
${CNESPHRINPUT}/PRIMARY_PMS/IMGPHR_201212716417737721/IMG_PHR1A_PMS_201201151100183_SEN_IPU_20120127_5579-001_R1C1.JP2
${CNESPHRINPUT}/PRIMARY_PMS/IMGPHR_201222215194743808/IMG_PHR1A_PMS_201201151100183_SEN_IPU_20120222_0901-001_R1C1.JP2
${CNESPHRINPUT}/PRIMARY_PMS/IMGPHR_201222215194743808/IMG_PHR1A_PMS_201201151100183_SEN_IPU_20120222_0901-001_R3C1.JP2
)
set(GenericTestPHR_CNES_DATA_TYPES
CNES_PHR_PRIMARY_PMS_R1C1_2012-01-27
CNES_PHR_PRIMARY_PMS_R1C1_2012-02-22
CNES_PHR_PRIMARY_PMS_R3C1_2012-02-22
)
set(GenericTestPHR_DATA_INPUTS ${GenericTestPHR_DATA_INPUTS} ${GenericTestPHR_CNES_DATA_INPUTS})
set(GenericTestPHR_DATA_TYPES ${GenericTestPHR_DATA_TYPES} ${GenericTestPHR_CNES_DATA_TYPES})
endif()
......@@ -208,26 +208,6 @@ if(OTB_DATA_USE_LARGEINPUT)
mark_as_advanced(OTB_DATA_LARGEINPUT_ROOT)
endif()
option(OTB_DATA_USE_SPOTPHRINPUT "Use PHR data provided by SPOT." OFF)
mark_as_advanced(OTB_DATA_USE_SPOTPHRINPUT)
if(OTB_DATA_USE_SPOTPHRINPUT)
find_path(OTB_DATA_SPOTPHRINPUT_ROOT
NAMES OTB_PHR_Data.readme
HINTS $ENV{OTB_DATA_SPOTPHRINPUT_ROOT}
)
mark_as_advanced(OTB_DATA_SPOTPHRINPUT_ROOT)
endif()
option(OTB_DATA_USE_CNESPHRINPUT "Use PHR data provided by CNES." OFF)
mark_as_advanced(OTB_DATA_USE_CNESPHRINPUT)
if(OTB_DATA_USE_CNESPHRINPUT)
find_path(OTB_DATA_CNESPHRINPUT_ROOT
NAMES OTB_PHR_Data.readme
HINTS $ENV{OTB_DATA_CNESPHRINPUT_ROOT}
)
mark_as_advanced(OTB_DATA_CNESPHRINPUT_ROOT)
endif()
#Generate cmake variables with a set of largeinput data used in tests
include(OTBManageLargeInputPaths)
......
......@@ -598,7 +598,7 @@ otb_add_test(NAME uaTvRPCSolverAdapterValidationTest COMMAND otbOSSIMAdaptersTes
)
if(OTB_DATA_USE_LARGEINPUT OR OTB_DATA_USE_SPOTPHRINPUT OR OTB_DATA_USE_CNESPHRINPUT)
if(OTB_DATA_USE_LARGEINPUT)
set( GenericTestPHR_TESTNB 0)
......
......@@ -390,7 +390,7 @@ otb_add_test(NAME feTuMetaImageFunctionNew COMMAND otbImageBaseTestDriver
otbMetaImageFunctionNew
)
if(OTB_DATA_USE_LARGEINPUT OR OTB_DATA_USE_SPOTPHRINPUT OR OTB_DATA_USE_CNESPHRINPUT)
if(OTB_DATA_USE_LARGEINPUT)
set( GenericTestPHR_TESTNB 0)
foreach( current_file ${GenericTestPHR_DATA_INPUTS} )
......
......@@ -58,7 +58,7 @@ otb_add_test(NAME ioTvJPEG2000ImageIO_CacheSize_25000 COMMAND otbIOJPEG2000TestD
${INPUTDATA}/bretagne.j2k
${TEMP}/ioClassicalQLJPEG2K_bretagne_OUT.tif)
if(OTB_DATA_USE_LARGEINPUT OR OTB_DATA_USE_SPOTPHRINPUT OR OTB_DATA_USE_CNESPHRINPUT)
if(OTB_DATA_USE_LARGEINPUT)
set( GenericTestPHR_TESTNB 0)
foreach( current_file ${GenericTestPHR_DATA_INPUTS} )
......
......@@ -949,7 +949,7 @@ otb_add_test(NAME ioTvCompareWritingComplexImage_HDR COMMAND otbImageIOTestDrive
0 0 100 100)
if(OTB_DATA_USE_LARGEINPUT OR OTB_DATA_USE_SPOTPHRINPUT OR OTB_DATA_USE_CNESPHRINPUT)
if(OTB_DATA_USE_LARGEINPUT)
set( GenericTestPHR_TESTNB 0)
foreach( current_file ${GenericTestPHR_DATA_INPUTS} )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment