Commit 156358bc authored by Julien Malik's avatar Julien Malik

STYLE: remove non-ascii characters, fix tests names

parent 0b95dc9c
......@@ -32,8 +32,8 @@ namespace otb
* \class GroundSpacingImageFunction
* \brief Calculate the approximate ground spacing in X and Y directions
*
* This uses the Haversine' formula to calculate great-circle distances between
* the two points – that is, the shortest distance over the Earths surface –
* This uses the 'Haversine' formula to calculate great-circle distances between
* the two points – that is, the shortest distance over the Earth's surface –
* giving an 'as-the-crow-flies' distance between the points (ignoring any hills!).
*
* \ingroup ImageFunctions
......
......@@ -332,9 +332,9 @@ int otbMultiToMonoChannelExtractROI(int argc, char * argv[])
else
{
std::cout << " Erreur : le format des images en entre est mal prcis dans la ligne de commande !!!" << std::endl;
std::cout << " valeurs autorises : -uchar, -ushort, -uint, -float, -double" << std::endl;
std::cout << " valeurs par defaut : -uchar" << std::endl;
std::cout << " Error : wrong format" << std::endl;
std::cout << " allowed values : -uchar, -ushort, -uint, -float, -double" << std::endl;
std::cout << " default value : -uchar" << std::endl;
return EXIT_FAILURE;
}
......
......@@ -30,7 +30,7 @@ int otbTestCommandLineArgumentParser(int argc, char * argv[])
parser->AddOption("-image", "Nom d'une image", "-i", 1, true);
parser->AddOption("-entier", "Une Valeur entiere (obligatoire)", "-e");
parser->AddOption("-deuxentiers", "Deux Valeurs entieres non obligatoire", "-dede", 2, false);
parser->AddOption("-double", "Valeur relle double", "-d");
parser->AddOption("-double", "Valeur reelle double", "-d");
typedef otb::CommandLineArgumentParseResult ParserResultType;
ParserResultType::Pointer parseResult = ParserResultType::New();
......
......@@ -30,8 +30,8 @@ int otbTestCommandLineArgumentParserList(int argc, char * argv[])
parser->AddOption("-image", "Nom d'une image", "-i", 1, true);
parser->AddOption("-entier", "Une Valeur entiere (obligatoire)", "-e");
parser->AddOption("-deuxentiers", "Deux Valeurs entieres non obligatoire", "-dede", 2, false);
parser->AddOption("-double", "Valeur relle double", "-d");
parser->AddOptionNParams("-doubles", "Liste de Valeurs relles", "-ld", false);
parser->AddOption("-double", "Valeur reelle double", "-d");
parser->AddOptionNParams("-doubles", "Liste de Valeurs reelles", "-ld", false);
typedef otb::CommandLineArgumentParseResult ParserResultType;
ParserResultType::Pointer parseResult = ParserResultType::New();
......
......@@ -30,7 +30,7 @@ int otbTestCommandLineArgumentParserWithError(int argc, char * argv[])
parser->AddOption("-image", "Nom d'une image", "-i", 1, true);
parser->AddOption("-entier", "Une Valeur entiere (obligatoire)", "-e");
parser->AddOption("-deuxentiers", "Deux Valeurs entieres non obligatoire", "-dede", 2, false);
parser->AddOption("-double", "Valeur relle double", "-d");
parser->AddOption("-double", "Valeur reelle double", "-d");
typedef otb::CommandLineArgumentParseResult ParserResultType;
ParserResultType::Pointer parseResult = ParserResultType::New();
......
......@@ -37,7 +37,7 @@ ADD_TEST(dmTvDisparityMapEstimationMethod ${DISPARITYMAP_TESTS1}
${TEMP}/dmDisparityMapEstimationOutput.txt
2 3
)
ADD_TEST(dmTlDisparityMapEstimationMethod ${DISPARITYMAP_TESTS1}
ADD_TEST(dmTvDisparityMapEstimationMethod ${DISPARITYMAP_TESTS1}
--compare-ascii ${NOTOL}
${BASELINE_FILES}/dmDisparityMapEstimationOutput1.txt
${TEMP}/dmDisparityMapEstimationOutput1.txt
......@@ -162,7 +162,7 @@ ADD_TEST(dmTvBSplinesInterpolateTransformDeformationFieldGenerator ${DISPARITYMA
# ------- Additional tests for deformation fields estimation ----------
ADD_TEST(dmTlTranslationDeformationFieldEstimation ${DISPARITYMAP_TESTS2}
ADD_TEST(dmTvTranslationDeformationFieldEstimation ${DISPARITYMAP_TESTS2}
--compare-n-images ${EPSILON_4} 12
${BASELINE}/dmTvTranslationDeformationFieldEstimationOutput_bs_df.hdr
${TEMP}/dmTvTranslationDeformationFieldEstimationOutput_bs_df.hdr
......@@ -195,7 +195,7 @@ ADD_TEST(dmTlTranslationDeformationFieldEstimation ${DISPARITYMAP_TESTS2}
15 10 10 250 0.95 4 50
)
ADD_TEST(dmTlEuler2DDeformationFieldEstimation ${DISPARITYMAP_TESTS2}
ADD_TEST(dmTvEuler2DDeformationFieldEstimation ${DISPARITYMAP_TESTS2}
--compare-n-images ${EPSILON_4} 12
${BASELINE}/dmTvEuler2DDeformationFieldEstimationOutput_bs_df.hdr
${TEMP}/dmTvEuler2DDeformationFieldEstimationOutput_bs_df.hdr
......@@ -228,7 +228,7 @@ ADD_TEST(dmTlEuler2DDeformationFieldEstimation ${DISPARITYMAP_TESTS2}
15 10 0.01 250 0.95 4 50 128 128
)
ADD_TEST(dmTlCenteredRigidDeformationFieldEstimation ${DISPARITYMAP_TESTS2}
ADD_TEST(dmTvCenteredRigidDeformationFieldEstimation ${DISPARITYMAP_TESTS2}
--compare-n-images ${EPSILON_4} 12
${BASELINE}/dmTvCenteredRigidDeformationFieldEstimationOutput_bs_df.hdr
${TEMP}/dmTvCenteredRigidDeformationFieldEstimationOutput_bs_df.hdr
......@@ -262,7 +262,7 @@ ADD_TEST(dmTlCenteredRigidDeformationFieldEstimation ${DISPARITYMAP_TESTS2}
)
ADD_TEST(dmTlSinusoidDeformationFieldEstimation ${DISPARITYMAP_TESTS2}
ADD_TEST(dmTvSinusoidDeformationFieldEstimation ${DISPARITYMAP_TESTS2}
--compare-n-images ${EPSILON_4} 12
${BASELINE}/dmTvSinusoidDeformationFieldEstimationOutput_bs_df.hdr
${TEMP}/dmTvSinusoidDeformationFieldEstimationOutput_bs_df.hdr
......
......@@ -16,7 +16,6 @@ SET(EPSILON_2 0.01)
SET(EPSILON_3 0.001)
#Tolerance sur diff pixel image
#EPSILON est different de 0.0 pour les tests multiplateformes avec différentes options de compilation.
SET(EPSILON_6 0.000001)
SET(EPSILON_8 0.00000001)
......@@ -343,7 +342,7 @@ ADD_TEST(feTvAssociativeSymmetricalSum ${FEATUREEXTRACTION_TESTS4}
ADD_TEST(feTuAssymmetricFusionOfLineDetectorNew ${FEATUREEXTRACTION_TESTS4}
otbAssymmetricFusionOfLineDetectorNew)
ADD_TEST(feTlAssymmetricFusionOfLineDetector ${FEATUREEXTRACTION_TESTS4}
ADD_TEST(feTvAssymmetricFusionOfLineDetector ${FEATUREEXTRACTION_TESTS4}
--compare-image ${EPSILON_8} ${BASELINE}/feFiltreAssymmetricFusion_amst_2_3.hdr
${TEMP}/feFiltreAssymmetricFusion_amst_2_3.hdr
otbAssymmetricFusionOfLineDetector
......@@ -482,7 +481,7 @@ ADD_TEST(feTvLocalHoughDraw ${FEATUREEXTRACTION_TESTS5}
${TEMP}/feFiltreLocalHoughDraw_ImageLine_20_20_2.hdr
20 20 1)
ADD_TEST(feTlLocalHoughDraw2 ${FEATUREEXTRACTION_TESTS5}
ADD_TEST(feTvLocalHoughDraw2 ${FEATUREEXTRACTION_TESTS5}
--compare-image ${EPSILON_8} ${BASELINE}/feFilterLocalHoughDraw_amst_20_20_1.png
${TEMP}/feFilterLocalHoughDraw_amst_20_20_1.png
otbLocalHoughDraw
......@@ -872,7 +871,7 @@ ADD_TEST(feTuImageToSIFTKeyPointSetFilterNew ${FEATUREEXTRACTION_TESTS9}
otbImageToSIFTKeyPointSetFilterNew)
ADD_TEST(feTlImageToSIFTKeyPointSetFilterDistanceMap ${FEATUREEXTRACTION_TESTS9}
ADD_TEST(feTvImageToSIFTKeyPointSetFilterDistanceMap ${FEATUREEXTRACTION_TESTS9}
--compare-ascii ${EPSILON_3}
${BASELINE_FILES}/feTvImageToSIFTKeyPointSetFilterDistanceMap.txt
${TEMP}/feTvImageToSIFTKeyPointSetFilterDistanceMap.txt
......
......@@ -38,7 +38,7 @@ int otbComplexMomentPath(int argc, char * argv[])
typedef otb::ComplexMomentPathFunction<PathType> CMType;
typedef CMType::ComplexType ComplexType;
// Dessiner un carr�:
// Draw a square
PathType::ContinuousIndexType cindex;
PathType::Pointer pathElt = PathType::New();
......
......@@ -38,7 +38,7 @@ int otbComplexMomentPathFloat(int argc, char * argv[])
typedef std::complex<float> ComplexType;
typedef otb::ComplexMomentPathFunction<PathType, ComplexType> CMType;
// Dessiner un carr�:
// Draw a square
PathType::ContinuousIndexType cindex;
PathType::Pointer pathElt = PathType::New();
......
......@@ -34,7 +34,7 @@ int otbFlusserPath(int argc, char * argv[])
typedef otb::FlusserPathFunction<PathType> FunctionType;
typedef FunctionType::RealType RealType;
// Dessiner un carr�:
// Draw a square
PathType::ContinuousIndexType cindex;
PathType::Pointer pathElt = PathType::New();
......
......@@ -50,7 +50,7 @@ int otbImageToFastSIFTKeyPointSetFilterOutputDescriptorAscii(int argc, char * ar
typedef itk::PointSet<RealVectorType, Dimension> PointSetType;
typedef otb::SiftFastImageFilter<ImageType, PointSetType> ImageToFastSIFTKeyPointSetFilterType;
// PointSet iterator types
// Iterator types
typedef PointSetType::PointsContainer PointsContainerType;
typedef PointsContainerType::Iterator PointsIteratorType;
typedef PointSetType::PointDataContainer PointDataContainerType;
......
......@@ -51,7 +51,7 @@ int otbImageToFastSIFTKeyPointSetFilterOutputInterestPointAscii(int argc, char *
typedef otb::SiftFastImageFilter<ImageType, PointSetType> ImageToFastSIFTKeyPointSetFilterType;
// PointSet iterator types
// PointSet iterator types
typedef PointSetType::PointsContainer PointsContainerType;
typedef PointsContainerType::Iterator PointsIteratorType;
typedef PointSetType::PointDataContainer PointDataContainerType;
......
......@@ -40,7 +40,7 @@ typedef itk::PointSet<RealVectorType, 2> PointSetType;
typedef otb::Image<float, 2> ImageType;
typedef otb::Image<unsigned char, 2> OutputImageType;
// PointSet iterator types
// PointSet iterator types
typedef PointSetType::PointsContainer PointsContainerType;
typedef PointsContainerType::Iterator PointsIteratorType;
typedef PointSetType::PointDataContainer PointDataContainerType;
......
......@@ -47,7 +47,7 @@ int otbImageToSIFTKeyPointSetFilterOutputAscii(int argc, char * argv[])
typedef itk::PointSet<RealVectorType, Dimension> PointSetType;
typedef otb::ImageToSIFTKeyPointSetFilter<ImageType, PointSetType> ImageToSIFTKeyPointSetFilterType;
// PointSet iterator types
// PointSet iterator type
typedef PointSetType::PointsContainer PointsContainerType;
typedef PointsContainerType::Iterator PointsIteratorType;
typedef PointSetType::PointDataContainer PointDataContainerType;
......
......@@ -47,7 +47,7 @@ int otbImageToSIFTKeyPointSetFilterOutputDescriptorAscii(int argc, char * argv[]
typedef itk::PointSet<RealVectorType, Dimension> PointSetType;
typedef otb::ImageToSIFTKeyPointSetFilter<ImageType, PointSetType> ImageToSIFTKeyPointSetFilterType;
// PointSet iterator types
// PointSet terator type
typedef PointSetType::PointsContainer PointsContainerType;
typedef PointsContainerType::Iterator PointsIteratorType;
typedef PointSetType::PointDataContainer PointDataContainerType;
......
......@@ -46,8 +46,6 @@ int otbImageToSIFTKeyPointSetFilterOutputImage(int argc, char * argv[])
typedef otb::ImageFileReader<ImageType> ReaderType;
typedef itk::PointSet<RealVectorType, Dimension> PointSetType;
typedef otb::ImageToSIFTKeyPointSetFilter<ImageType, PointSetType> ImageToSIFTKeyPointSetFilterType;
// PointSet iterator types
typedef PointSetType::PointsContainer PointsContainerType;
typedef PointsContainerType::Iterator PointsIteratorType;
......
......@@ -47,7 +47,6 @@ int otbImageToSIFTKeyPointSetFilterOutputInterestPointAscii(int argc, char * arg
typedef itk::PointSet<RealVectorType, Dimension> PointSetType;
typedef otb::ImageToSIFTKeyPointSetFilter<ImageType, PointSetType> ImageToSIFTKeyPointSetFilterType;
// PointSet iterator types
typedef PointSetType::PointsContainer PointsContainerType;
typedef PointsContainerType::Iterator PointsIteratorType;
typedef PointSetType::PointDataContainer PointDataContainerType;
......
......@@ -32,9 +32,8 @@ int otbLineCorrelationDetector(int argc, char* argv[])
const char * inputFilename = argv[1];
const char * outputFilename = argv[2];
// Largeur de la ligne � detecter = 2*WidthLine+1
// Parameters of the line to detect
unsigned int WidthLine((unsigned int) ::atoi(argv[3]));
// Longueur de la ligne � detecter = 2*LengthLine+1
unsigned int LengthLine((unsigned int) ::atoi(argv[4]));
typedef unsigned char InputPixelType;
......
......@@ -10,7 +10,6 @@ SET(TEMP ${OTBTesting_BINARY_DIR}/Temporary)
SET(NOTOL 0.0)
#Tolerance sur diff pixel image
#EPSILON est different de 0.0 pour les tests multiplateformes avec différentes options de compilation.
SET(EPSILON_8 0.00000001)
SET(FUSION_TESTS1 ${CXX_TEST_PATH}/otbFusionTests1)
......
......@@ -20,7 +20,6 @@ SET(EPSILON_5 0.00001)
SET(EPSILON_6 0.000001)
SET(EPSILON_9 0.000000001)
# !!!!! Pointe sur un exe généré dans le repertoire Common
SET(COMMON_TESTS2 ${CXX_TEST_PATH}/otbCommonTests2)
SET(COMMON_TESTS3 ${CXX_TEST_PATH}/otbCommonTests3)
SET(IO_TESTS1 ${CXX_TEST_PATH}/otbIOTests1)
......@@ -75,7 +74,7 @@ ADD_TEST(ioTvMultiMonoChannelROI_RADARSAT2ENVI ${COMMON_TESTS3}
-ushort ${TEMP}/ioMultiMonoChannelROI_RADARSAT2ENVI_2559_3591_337_280.hdr
-startX 2559 -startY 3591 -sizeX 337 -sizeY 280 )
# --- RADARSAT (GDAL) Nom r�pertoire ---
# --- RADARSAT (GDAL) dir name ---
ADD_TEST(ioTvMultiMonoChannelROI_RADARSAT_ENVI2ENVI ${COMMON_TESTS3}
# THOMAS (provisoire) : Images OK mais erreur au DIFF ITK !!!
# --compare-image ${EPSILON_9} ${BASELINE}/ioMultiMonoChannelROI_RADARSAT2ENVI_2559_3591_337_280.hdr
......@@ -1780,7 +1779,7 @@ ADD_TEST(ioTvSHPVectorDataFileReader2 ${IO_TESTS15}
)
IF(OTB_DATA_USE_LARGEINPUT)
ADD_TEST(ioTlSHPVectorDataFileReader3 ${IO_TESTS15}
ADD_TEST(ioTvSHPVectorDataFileReader3 ${IO_TESTS15}
--compare-ascii ${EPSILON_9} ${BASELINE_FILES}/ioSHPVectorDataFileReader3.txt
${TEMP}/ioSHPVectorDataFileReader3.txt
otbVectorDataFileReader
......
......@@ -53,20 +53,15 @@ int otbImageTest(int argc, char* argv[])
image = reader->GetOutput();
file << "------ IMAGE --------" << std::endl;
std::cout << "------ IMAGE --------" << std::endl;
// Image n'est pas ecrit dans le fichier car des pointeurs sont affich�s, donc la valeur d�pend de l'instanciation
// -> pour pouvoir faire de tests de non regression sur la sortie ecrite dans le fichier ASCII
std::cout << image << std::endl;
std::cout << "---------------------" << std::endl;
file << "------ IMAGE --------" << std::endl;
file << "Spacing " << image->GetSpacing() << std::endl;
file << "Origin " << image->GetOrigin() << std::endl;
file << "Projection REF " << image->GetProjectionRef() << std::endl;
file << "GCP Projection " << image->GetGCPProjection() << std::endl;
unsigned int GCPCount = image->GetGCPCount();
file << "GCP Count " << image->GetGCPCount() << std::endl;
......
......@@ -54,18 +54,14 @@ int otbVectorImageLegacyTest(int argc, char* argv[])
image = reader->GetOutput();
file << "------ IMAGE --------" << std::endl;
std::cout << "------ IMAGE --------" << std::endl;
// Image n'est pas ecrit dans le fichier car des pointeurs sont affich�s, donc la valeur d�pend de l'instanciation
// -> pour pouvoir faire de tests de non regression sur la sortie ecrite dans le fichier ASCII
std::cout << image << std::endl;
std::cout << "---------------------" << std::endl;
file << "------ IMAGE --------" << std::endl;
file << "Spacing " << image->GetSpacing() << std::endl;
file << "Origin " << image->GetOrigin() << std::endl;
file << "Projection REF " << image->GetProjectionRef() << std::endl;
file << "GCP Projection " << image->GetGCPProjection() << std::endl;
unsigned int GCPCount = image->GetGCPCount();
......
......@@ -11,7 +11,6 @@ SET(TEMP ${OTBTesting_BINARY_DIR}/Temporary)
#Tolerance sur diff pixel image
SET(NOTOL 0.0)
#EPSILON est different de 0.0 pour les tests multiplateformes avec différentes options de compilation.
SET(EPSILON_10 0.0000000001)
SET(EPSILON_3 0.001)
SET(EPSILON_4 0.0001)
......@@ -435,13 +434,13 @@ ADD_TEST(leTvSVMModelCopyComposedKernel ${LEARNING_TESTS3}
${INPUTDATA}/svm_model_composed
${TEMP}/svmcopycomposed_test)
ADD_TEST(leTlSVMInverseCosSpectralAngleKernelFunctorImageModelEstimatorTest ${LEARNING_TESTS3}
ADD_TEST(leTvSVMInverseCosSpectralAngleKernelFunctorImageModelEstimatorTest ${LEARNING_TESTS3}
otbSVMInverseCosSpectralAngleKernelFunctorImageModelEstimatorTest
${INPUTDATA}/ROI_QB_MUL_4.tif
${INPUTDATA}/ROI_QB_MUL_4_train_one_class.tif
${TEMP}/leTvsvm_model_image_one_class)
ADD_TEST(leTlSVMInverseCosSpectralAngleKernelFunctorImageClassificationTest ${LEARNING_TESTS3}
ADD_TEST(leTvSVMInverseCosSpectralAngleKernelFunctorImageClassificationTest ${LEARNING_TESTS3}
otbSVMInverseCosSpectralAngleKernelFunctorImageClassificationTest
${INPUTDATA}/ROI_QB_MUL_4.tif
${INPUTDATA}/ROI_QB_MUL_4_train_one_class.tif
......@@ -540,7 +539,7 @@ ADD_TEST(leTvListSampleGenerator3 ${LEARNING_TESTS4}
ADD_TEST(leTuConfusionMatrixCalculatorNew ${LEARNING_TESTS4}
otbConfusionMatrixCalculatorNew)
ADD_TEST(leTVConfusionMatrixCalculatorSetListSamples ${LEARNING_TESTS4}
ADD_TEST(leTvConfusionMatrixCalculatorSetListSamples ${LEARNING_TESTS4}
otbConfusionMatrixCalculatorSetListSamples 1000 4)
ADD_TEST(leTvConfusionMatrixCalculatorWrongSize ${LEARNING_TESTS4}
......
......@@ -90,7 +90,7 @@ ADD_TEST(obTvLabelMapWithClassLabelToLabeledSampleListFilter ${OBIA_TESTS1}
SHAPE::Flusser05 SHAPE::Flusser06 SHAPE::Flusser07 SHAPE::Flusser08
SHAPE::Flusser09 SHAPE::Flusser10 SHAPE::Flusser11)
ADD_TEST(otbLabelObjectMapVectorizer ${OBIA_TESTS1}
ADD_TEST(obTvLabelObjectMapVectorizer ${OBIA_TESTS1}
otbLabelObjectMapVectorizer
${INPUTDATA}/rcc8_mire1.png
rcc8_mire1_label_vectorizer.gml)
......
......@@ -367,7 +367,7 @@ ADD_TEST(prTvOrthoRectificationCevennesWithDEM ${PROJECTIONS_TESTS2}
#========================= Ortho rectif SPOT5 ===============================
ADD_TEST(prTlOrthoRectificationSPOT5 ${PROJECTIONS_TESTS2}
ADD_TEST(prTvOrthoRectificationSPOT5 ${PROJECTIONS_TESTS2}
--compare-image ${EPSILON_4} ${BASELINE}/prTvOrthoRectificationSPOT5_UTM.tif
${TEMP}/prTvOrthoRectificationSPOT5_UTM.tif
otbOrthoRectificationFilter
......@@ -384,7 +384,7 @@ ADD_TEST(prTlOrthoRectificationSPOT5 ${PROJECTIONS_TESTS2}
5
)
ADD_TEST(prTlOrthoRectificationMonoThreadSPOT5 ${PROJECTIONS_TESTS2}
ADD_TEST(prTvOrthoRectificationMonoThreadSPOT5 ${PROJECTIONS_TESTS2}
--compare-image ${EPSILON_4} ${BASELINE}/prTvOrthoRectificationSPOT5_UTM_band1.tif
${TEMP}/prTvOrthoRectificationMonoThreadSPOT5_UTM.tif
otbOrthoRectificationMonoThreadFilter
......
......@@ -620,7 +620,7 @@ ADD_TEST(raTvTSARVI_RAndBAndNIRVegetationIndexImageFilter ${RADIOMETRY_TESTS4}
${INPUTDATA}/verySmallFSATSW_nir.tif
${TEMP}/raRAndBAndNIRVegetationIndex_TSARVI_verySmallFSATSWcRcBcNir.tif
0.7 # a ( pente de la droite des sols nus dans l'espace RB/PIR )
0.9 # b ( ordonnée à l'origine de la droite des sols nus dans l'espace RB/PIR )
0.9 # b ( ordonnee a l'origine de la droite des sols nus dans l'espace RB/PIR )
0.08 # x coeff a priori constant
0.5 # gamma
)
......@@ -636,7 +636,7 @@ ADD_TEST(raTvTSARVI_MultiChannelRAndBAndNIRVegetationIndexImageFilter ${RADIOMET
1 # blue
4 # nir
0.7 # a ( pente de la droite des sols nus dans l'espace RB/PIR )
0.9 # b ( ordonnée à l'origine de la droite des sols nus dans l'espace RB/PIR )
0.9 # b ( ordonnee a l'origine de la droite des sols nus dans l'espace RB/PIR )
0.08 # x coeff a priori constant
0.5 # gamma
)
......
......@@ -20,7 +20,7 @@ SET(UTILITIES_TESTS ${CXX_TEST_PATH}/otbUtilitiesTests)
# Commentaire parce que trop long. Supprimer commentaire si besoin de tester integration lib Ossim
#ADD_TEST(utOssimIntegrationTest ${UTILITIES_TESTS}
#ADD_TEST(utTvOssimIntegrationTest ${UTILITIES_TESTS}
# ossimIntegrationTest
# ossimTiffWriter
# ${IMAGEDATA}/QUICKBIRD/TOULOUSE/000000128955_01_P001_PAN/02APR01105228-P1BS-000000128955_01_P001.TIF
......
......@@ -99,9 +99,6 @@ int ossimRadarSatSupport(int argc, char* argv[])
ossimDpt ossimDPoint;
std::cout << "Creating projection..." << std::endl;
ossimProjection * model = NULL;
/*
* Creation d'un modèle de projection à partir des métadonnées
*/
model = ossimplugins::ossimPluginProjectionFactory::instance()->createProjection(geom);
// if ossim plugins factory failed, then test ossim factory
if (model == NULL)
......
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