otb issueshttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues2022-06-01T23:07:59Zhttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2285i18n for OTB2022-06-01T23:07:59ZAmazingSARi18n for OTB### Description
I'm working on adding Chinese Language Support for OTB, I tried to generate a translation file zh_CN.ts with cmake but failed.
### Steps to reproduce
#### 1、I configured the project with **-DOTB_I18N_MERGE_TS=ON**
```
D:\...### Description
I'm working on adding Chinese Language Support for OTB, I tried to generate a translation file zh_CN.ts with cmake but failed.
### Steps to reproduce
#### 1、I configured the project with **-DOTB_I18N_MERGE_TS=ON**
```
D:\OTBSDK\src\build>cmake %CURRENT_DIR%\src -DCMAKE_PREFIX_PATH=%CURRENT_DIR%\install_%COMPILER_NAME% -DCMAKE_INSTALL_PREFIX=%CURRENT_DIR%\install_%COMPILER_NAME% -DSWIG_EXECUTABLE=%TOOLS_DIR%\swigwin-3.0.10\swig.exe -DCMAKE_BUILD_TYPE=%COMPILER_MODE% -DDOWNLOAD_LOCATION=%CURRENT_DIR%\downloads -DOTB_WRAP_PYTHON=ON -GNinja -DGDAL_CONFIG_CHECKING=OFF -DOTB_USE_GLEW=ON -DOTB_USE_OPENGL=ON -DOTB_USE_QT=ON -DOTB_USE_QWT=ON -DOTB_I18N_MERGE_TS=ON
```
Here's the result:
```
-- OTB-v 7.2.0 - Changes since version 7.1.0 (October 02nd, 2020)
-- 7.2.0
-- M: 7, m: 2, p: 0
-- Performing Test C_HAS_WARNING-Wformat=2
-- Performing Test C_HAS_WARNING-Wformat=2 - Failed
-- Performing Test CXX_HAS_WARNING-Wformat=2
-- Performing Test CXX_HAS_WARNING-Wformat=2 - Failed
-- SIMD extensions requested with OTB_USE_SSE_FLAGS=ON
-- Disabled OTBCurl because OTB_USE_CURL is OFF
-- Disabled OTBGLFW because OTB_USE_GLFW is OFF
-- Disabled OTBIceViewer because OTB_USE_GLFW is OFF
-- Disabled OTBGSL because OTB_USE_GSL is OFF
-- Disabled OTBGlut because OTB_USE_GLUT is OFF
-- Disabled OTBLibSVM because OTB_USE_LIBSVM is OFF
-- Disabled OTBMPI because OTB_USE_MPI is OFF
-- Disabled OTBMPIConfig because OTB_USE_MPI is OFF
-- Disabled OTBMPITiffWriter because OTB_USE_MPI is OFF
-- Disabled OTBMPIVrtWriter because OTB_USE_MPI is OFF
-- Disabled OTBSPTW because OTB_USE_MPI is OFF
-- Disabled OTBMuParser because OTB_USE_MUPARSER is OFF
-- Disabled OTBMathParser because OTB_USE_MUPARSER is OFF
-- Disabled OTBAppClassification because OTB_USE_MUPARSER is OFF
-- Disabled OTBAppMathParser because OTB_USE_MUPARSER is OFF
-- Disabled OTBAppProjection because OTB_USE_MUPARSER is OFF
-- Disabled OTBAppFusion because OTB_USE_MUPARSER is OFF
-- Disabled OTBAppStereo because OTB_USE_MUPARSER is OFF
-- Disabled OTBDempsterShafer because OTB_USE_MUPARSER is OFF
-- Disabled OTBCCOBIA because OTB_USE_MUPARSER is OFF
-- Disabled OTBAppSegmentation because OTB_USE_MUPARSER is OFF
-- Disabled OTBMeanShift because OTB_USE_MUPARSER is OFF
-- Disabled OTBMuParserX because OTB_USE_MUPARSERX is OFF
-- Disabled OTBMathParserX because OTB_USE_MUPARSERX is OFF
-- Disabled OTBAppMathParserX because OTB_USE_MUPARSERX is OFF
-- Disabled OTBOpenCV because OTB_USE_OPENCV is OFF
-- Disabled OTBShark because OTB_USE_SHARK is OFF
-- Disabled OTBlibkml because OTB_USE_LIBKML is OFF
-- Disabled OTBIOKML because OTB_USE_LIBKML is OFF
-- Disabled OTBKMZWriter because OTB_USE_LIBKML is OFF
-- Disabled OTBAppKMZ because OTB_USE_LIBKML is OFF
-- Enabled OTB6S, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAnomalyDetection, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppChangeDetection, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppDescriptors, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppDimensionalityReduction, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppDomainTransform, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppEdge, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppFiltering, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppHyperspectral, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppImageUtils, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppIndices, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppMoments, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppMorphology, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppOpticalCalibration, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppSARCalibration, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppSARDecompositions, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppSARPolarMatrixConvert, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppSARPolarSynth, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppSARUtils, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppTest, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppTextures, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppVectorDataTranslation, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBAppVectorUtils, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBApplicationEngine, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBBoost, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBBoostAdapters, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBCarto, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBChangeDetection, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBCloudDetection, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBColorMap, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBCommandLine, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBCommon, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBComplexImage, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBContrast, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBConversion, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBConvolution, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBCorner, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBCurlAdapters, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBDEM, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBDensity, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBDescriptors, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBDimensionalityReduction, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBDimensionalityReductionLearning, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBDisparityMap, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBEdge, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBEndmembersExtraction, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBExtendedFilename, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBFunctor, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBFuzzy, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBGDAL, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBGdalAdapters, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBGeoTIFF, needed by [OTBOssimPlugins].
-- Enabled OTBGlew, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBIOBSQ, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBIOGDAL, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBIOLUM, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBIOMSTAR, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBIOONERA, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBIORAD, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBIOXML, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBITK, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBIce, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBImageBase, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBImageIO, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBImageManipulation, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBImageNoise, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBIndices, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBInterpolation, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBLabelMap, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBLabelling, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBLandSatClassifier, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBLearningBase, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBMajorityVoting, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBMapla, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBMarkov, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBMetadata, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBMetrics, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBMoments, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBMonteverdi, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBMonteverdiCore, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBMonteverdiGUI, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBMorphologicalProfiles, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBMosaic, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBOGRProcessing, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBOSSIMAdapters, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBObjectList, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBOpenGL, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBOpenThreads, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBOpticalCalibration, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBOssim, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBOssimPlugins, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBPanSharpening, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBPath, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBPointSet, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBPolarimetry, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBProjection, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBQGIS, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBQt, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBQtAdapters, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBQtWidget, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBQwt, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBSARCalibration, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBSOM, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBSWIGWrapper, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBSampling, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBSiftFast, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBSimulation, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBSmoothing, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBStatistics, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBStereo, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBStreaming, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBSupervised, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBTestKernel, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBTextures, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBTimeSeries, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBTinyXML, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBTransform, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBUnmixing, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBUnsupervised, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBVectorDataBase, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBVectorDataIO, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBVectorDataManipulation, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBWatersheds, requested by OTB_BUILD_DEFAULT_MODULES.
-- Enabled OTBWavelet, requested by OTB_BUILD_DEFAULT_MODULES.
-- Boost version: 1.69.0
-- Found Qwt: D:/OTBSDK/install_Releasex64/lib/qwt.lib (found version "6.1.5")
======================= Begin of OTB cmake summary =======================
CMAKE_SOURCE_DIR = D:/OTBSDK/src
CMAKE_BINARY_DIR = D:/OTBSDK/src/build
CMAKE_INSTALL_PREFIX = D:/OTBSDK/install_Releasex64
CMAKE_COMMAND = D:/OTBSDK/tools/cmake-3.14.7/bin/cmake.exe
CMAKE_C_COMPILER = C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe
CMAKE_CXX_COMPILER = C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/amd64/cl.exe
CMAKE_MAKE_PROGRAM = D:/OTBSDK/tools/ninja/ninja.exe
CMAKE_GENERATOR = Ninja
CMAKE_BUILD_TYPE = Release
CMAKE_C_FLAGS = -W3 /DWIN32 /D_WINDOWS /W3
CMAKE_CXX_FLAGS = /bigobj -W3 /DWIN32 /D_WINDOWS /W3 /GR /EHsc /bigobj
OTB_USE_6S = ON
OTB_USE_CURL = OFF
OTB_USE_GLEW = ON
OTB_USE_GLFW = OFF
OTB_USE_GLUT = OFF
OTB_USE_GSL = OFF
OTB_USE_LIBKML = OFF
OTB_USE_LIBSVM = OFF
OTB_USE_MPI = OFF
OTB_USE_MUPARSER = OFF
OTB_USE_MUPARSERX = OFF
OTB_USE_OPENCV = OFF
OTB_USE_OPENGL = ON
OTB_USE_QT = ON
OTB_USE_QWT = ON
OTB_USE_SHARK = OFF
OTB_USE_SIFTFAST = ON
OTB_USE_SPTW = OFF
OTB_WRAP_PYTHON = ON
OTB_DATA_ROOT = D:/OTBSDK/src/Data
OTB_USE_OPENMP = OFF
OTB_USE_SSE_FLAGS = ON
Boost = 1.69.0
GDAL = 3.1.0
GDAL_INCLUDE_DIR = D:/OTBSDK/install_Releasex64/include
GDAL_LIBRARY = D:/OTBSDK/install_Releasex64/lib/gdal_i.lib
GEOTIFF = 1.5.1
GEOTIFF_INCLUDE_DIR = D:/OTBSDK/install_Releasex64/include
GEOTIFF_LIBRARY = D:/OTBSDK/install_Releasex64/lib/geotiff_i.lib
ITK = 4.13.2
ITK_DIR = D:/OTBSDK/install_Releasex64/lib/cmake/ITK-4.13
OSSIM = 1.8.20
OSSIM_INCLUDE_DIR = D:/OTBSDK/install_Releasex64/include
OSSIM_LIBRARY = D:/OTBSDK/install_Releasex64/lib/ossim.lib
QT = 5.11.3
TINYXML = 2.6.2
TINYXML_INCLUDE_DIR = D:/OTBSDK/install_Releasex64/include
TINYXML_LIBRARY = D:/OTBSDK/install_Releasex64/lib/tinyxml.lib
CMake 3.14.7 successfully configured OTB using Ninja generator
======================= End of OTB cmake summary =======================
CMake Warning (dev) at i18n/CMakeLists.txt:45 (message):
WARNING: OTB_I18N_MERGE_TS:BOOL option is set to ON. 'make clean' will
delete .ts files from source directory!
This warning is for project developers. Use -Wno-dev to suppress it.
-- Qt I18N source files: D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdAbstractWorker.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdAbstractModel.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdAbstractImageModel.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdAbstractLayerModel.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdBackgroundTask.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdCore.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdDataStream.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdFilenameInterface.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdHistogramModel.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdI18nCoreApplication.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdImageImporter.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdImagePlacenameLoader.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdImageProperties.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdImageSettings.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdImageSettingsInterface.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdModifiableInterface.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdMyClass.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdOverviewBuilder.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdProcessObjectObserver.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdProgressInterface.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdQuicklookModel.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdSerializableInterface.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdStackedLayerModel.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdTextStream.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdTypes.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdVectorImageModel.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdVectorImageSettings.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdVisibleInterface.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiCore/src/mvdApplicationsBrowser.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdAboutDialog.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdAbstractDragAndDropEventFilter.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdAbstractModelController.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdColorBandDynamicsWidget.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdColorDynamicsController.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdColorDynamicsWidget.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdColorSetupController.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdColorSetupWidget.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdDoubleValidator.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdDropLineEdit.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdFilenameDragAndDropEventFilter.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdGui.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdHistogramController.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdHistogramPlotPicker.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdHistogramWidget.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdI18nApplication.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdI18nMainWindow.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdImageViewRenderer.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdImageViewManipulator.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdImageViewWidget.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdImportImagesDialog.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdImportSubDatasetDialog.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdKeymapDialog.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdLayerStackController.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdLayerStackItemModel.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdLayerStackWidget.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdMainWindowTitleLoader.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdMultiResolutionPyramidWidget.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdPixelDescriptionWidget.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdProjectionBarWidget.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdQuicklookViewManipulator.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdQuicklookViewRenderer.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdSearchableTreeWidget.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdShaderWidget.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdStatusBarWidget.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdTaskProgressDialog.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdTreeWidget.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdTreeWidgetItem.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdTreeWidgetItemDragAndDropEventFilter.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdApplicationLauncher.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdApplicationsToolBox.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdApplicationsToolBoxController.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdOTBApplicationsModel.cxx;D:/OTBSDK/src/Modules/Visualization/MonteverdiGui/src/mvdQtWidgetView.cxx;D:/OTBSDK/src/Modules/Visualization/Mapla/src/mvdMaplaApplication.cxx;D:/OTBSDK/src/Modules/Visualization/Mapla/src/mvdMaplaMainWindow.cxx;D:/OTBSDK/src/Modules/Visualization/Monteverdi/src/mvdApplication.cxx;D:/OTBSDK/src/Modules/Visualization/Monteverdi/src/mvdMainWindow.cxx;D:/OTBSDK/src/Modules/Visualization/Monteverdi/src/mvdPreferencesDialog.cxx
-- Generating Qt5 'D:/OTBSDK/src/build/i18n/i18n.pro' project file for I18N.
-- Merge TS : D:/OTBSDK/src/i18n/zh_CN.ts
-- Configuring done
-- Generating done
-- Build files have been written to: D:/OTBSDK/src/build
```
#### 2、I build with ninja
```
ninja
```
Here's the result:
```
......
......
[1214/1225] Linking CXX shared library bin\OTBMonteverdi-7.2.dll
[1217/1225] Building RC object Modules\Visualization\Mapla\src\CMakeFiles\mapla.dir\mvdMaplaWin32.rc.res
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Copyright (C) Microsoft Corporation. All rights reserved.
[1219/1225] Building RC object Modules\Visualization\Monteverdi\src\CMakeFiles\monteverdi.dir\mvdWin32.rc.res
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Copyright (C) Microsoft Corporation. All rights reserved.
[1222/1225] Linking CXX executable bin\mapla.exe
[1223/1225] Linking CXX executable bin\monteverdi.exe
```
The program stucked here! I guess there's something wrong with generating ts file.
### Configuration information
Windows 11, OTB version 7.2, vs2015, I changed the CMakeLists.txt in src/i18n line 25 to 29 as follows
```
set( OTB_TS_TRANSLATIONS
# en_US.ts
# fr_FR.ts
zh_CN.ts
)
```
Are there any tricks to fix this issue, and/or what would I do to generate a .ts file for me ?
Many thanks, Haijunhttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2282Missing otbcli_MultitempFilteringFilter building OTB 8.0.1 from source2022-05-17T10:08:06ZdangargarMissing otbcli_MultitempFilteringFilter building OTB 8.0.1 from sourceAfter building OTB 8.0.1 from source with no errors, I noticed that, at least, otbcli_MultitempFilteringFilter and otbcli_MultitempFilteringOutcore are missing in the final bin/ folder of OTB installation.After building OTB 8.0.1 from source with no errors, I noticed that, at least, otbcli_MultitempFilteringFilter and otbcli_MultitempFilteringOutcore are missing in the final bin/ folder of OTB installation.https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2281Access forbidden2022-05-09T09:51:54ZDenis BoulangerAccess forbiddenI tried to access OTB documentation and got this error message
Forbidden
You don't have permission to access this resource.
Any problem with the server?I tried to access OTB documentation and got this error message
Forbidden
You don't have permission to access this resource.
Any problem with the server?https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2280Segmentation application : wrong documentation example2022-09-28T08:08:54ZYannick TANGUYSegmentation application : wrong documentation example### Target documentation resources
The documentation of [Segmentation](https://www.orfeo-toolbox.org/CookBook/Applications/app_Segmentation.html#connected-components-options) application is wrong : when using Connected Components mode, ...### Target documentation resources
The documentation of [Segmentation](https://www.orfeo-toolbox.org/CookBook/Applications/app_Segmentation.html#connected-components-options) application is wrong : when using Connected Components mode, user cannot use "intensity_p(1)" but should use "intensity_p1" (or p2) instead.
````
Message: Unexpected token "intensity_p" found at position 0.
Formula: intensity_p(1)>0.5
Token: intensity_p
Position: 0
````
### Change requested
Correct or precise the example in the application documentation8.1.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2276When using OTB in QGIS, an error message appears.'ERROR: Missing mandatory pa...2022-05-04T06:40:23ZBsg91When using OTB in QGIS, an error message appears.'ERROR: Missing mandatory parameter'### Description
When using OTB in QGIS, an error message appears.'ERROR: Missing mandatory parameter -erx.'
When using the Block matching function, a message like "ERROR: Missing mandatory parameter -bm.minhd" appears.
The FineRegistra...### Description
When using OTB in QGIS, an error message appears.'ERROR: Missing mandatory parameter -erx.'
When using the Block matching function, a message like "ERROR: Missing mandatory parameter -bm.minhd" appears.
The FineRegistration feature also displays a message like "ERROR: Missing mandatory parameter -erx."
I installed the OTB 8.0.0 version and tested QGIS with various versions such as 3.24, 3.22, 3.18, and 3.4. However, the same error message appears.
![1](/uploads/8d916e3ba7fdd0b03a0296a2b5dbb1ee/1.PNG)
![2](/uploads/40d3fb0391f602983480f984dbdec851/2.PNG)
### Steps to reproduce
I set both the application folder and the application folder properly in the option in QGIS.
Both Block Matching and FineRegistration functions are set as default settings. Of course, the result was the same even if you put in the variable. Raster images are satellite images. The same error appears even with various images such as landsat and kompsat.
### Configuration information!
I installed the OTB 8.0.0 version and tested QGIS with various versions such as 3.24, 3.22, 3.18, and 3.4. However, the same error message appears.
My computer is windows 10.https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/22758.0.0 otbcli_OrthoRectification does not read the metadata contained in the g...2022-06-17T07:31:02ZNovius8.0.0 otbcli_OrthoRectification does not read the metadata contained in the geotiff.Hello,
It seems that `otbcli_OrthoRectification` cannot read the metadata contained in the geotiff files, it still needs a `.geom` which is no longer generated by most OTB scripts since the move to 8.0.0.
I use the following pipeline ...Hello,
It seems that `otbcli_OrthoRectification` cannot read the metadata contained in the geotiff files, it still needs a `.geom` which is no longer generated by most OTB scripts since the move to 8.0.0.
I use the following pipeline on Pléiades images, which works correctly in 7.4.0, but does not work anymore in 8.0.0, because the `otbcli_BundleToPerfectSensor` scripts do not generate the `.geom` anymore.
Pipeline:
```shell
$ otbcli_OpticalCalibration -in IMG_PHR1A_MS_002/IMG_PHR1A_MS_202112021049415_SEN_6074118101-2_R2C1.JP2 -level toc -out IMG_PHR1A_MS_002/IMG_PHR1A_MS_202112021049415_SEN_6074118101-2_R2C1_toc.tif
```
```shell
$ otbcli_BundleToPerfectSensor -inp IMG_PHR1A_P_001/IMG_PHR1A_P_202112021049415_SEN_6074118101-1_R2C1.JP2 -inxs IMG_PHR1A_MS_002/IMG_PHR1A_MS_202112021049415_SEN_6074118101-2_R2C1_toc.tif -mode phr -out IMG_PHR1A_PMS_202112021049415_SEN_6074118101-2_R2C1.tif
```
```shell
$ otbcli_OrthoRectification -elev.dem SRTM/ -elev.geoid egm96.grd -io.in IMG_PHR1A_PMS_202112021049415_SEN_6074118101-2_R2C1.tif -io.out IMG_PHR1A_PMS_202112021049415_SEN_6074118101-2_R2C1_ortho.tif
```
- 7.4.0:
```shell
2022-04-15 14:31:53 (INFO) OrthoRectification: Elevation management: setting default height above ellipsoid to 0 meters
2022-04-15 14:31:53 (INFO): Loading kwl metadata from attached geom file IMG_PHR1A_PMS_202112021049415_SEN_6074118101-2_R2C1.geom
...
Writing IMG_PHR1A_PMS_202112021049415_SEN_6074118101-2_R2C1_ortho.tif...: 100% [**************************************************] (1m 05s)
```
- 8.0.0:
```shell
2022-04-15 12:12:09 (INFO) OrthoRectification: Elevation management: setting default height above ellipsoid to 0 meters
2022-04-15 12:12:09 (INFO): Loading metadata from official product
2022-04-15 12:12:09 (FATAL) OrthoRectification: itk::ERROR: ImageToGenericRSOutputParameters(0xa592f0): No information in the metadata, please set an image with non empty metadata
```8.1.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/22748.0.0 fails to build with MuParser 2.3.32022-05-09T09:51:20ZBas Couwenberg8.0.0 fails to build with MuParser 2.3.3### Description
As reported in [Debian Bug #1009413](https://bugs.debian.org/1009413), OTB 8.0.0 fails to build with muparser (2.3.3-0.1) in Debian unstable:
```
> CMake Error at CMake/FindMuParser.cmake:62 (math):
> math cannot parse...### Description
As reported in [Debian Bug #1009413](https://bugs.debian.org/1009413), OTB 8.0.0 fails to build with muparser (2.3.3-0.1) in Debian unstable:
```
> CMake Error at CMake/FindMuParser.cmake:62 (math):
> math cannot parse the expression: "((/*
```
`include/muParserDef.h` changed from:
```
#define MUP_VERSION _T("2.2.6")
```
to:
```
static const string_type ParserVersion = string_type(_T("2.3.3 (Release)"));
```
Both should be supported by `CMake/FindMuParser.cmake`, but it seems that the ` (Release)` bit is not handled by the regex:
```
# Try to find the version for muparser >= 2.3
string(REGEX REPLACE ".*static *const *string_type *ParserVersion *= *string_type\\(_T\\(\"([0-9.]+)\"\\)\\);.*"
"\\1" MUPARSER_VERSION "${MUPARSER_VERSION_OLD_STYLE}")
```
This patch fixes the issue: [muparser.patch](/uploads/01c2b571e6598f6c9a5e64c8f56309d3/muparser.patch)
### Steps to reproduce
Build OTB with `-DOTB_USE_MUPARSER:BOOL=ON` on Debian unstable.
### Configuration information
* Debian unstable amd64
* OTB 8.0.0
* muparser (2.3.3-0.1)8.0.1Julien OsmanJulien Osmanhttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2272SuperBuild failure on Mac mini M1 arm642022-04-29T14:57:25ZmichiweeSuperBuild failure on Mac mini M1 arm64Hello, I am running macOS Monterey on a Mac mini Apple M1 chip with ARM64, and I am trying to import otbApplication in Python. I initially tried to running the OTB-8.0.0-Darwin64 version of OTB but it failed on my system. Next, I tried t...Hello, I am running macOS Monterey on a Mac mini Apple M1 chip with ARM64, and I am trying to import otbApplication in Python. I initially tried to running the OTB-8.0.0-Darwin64 version of OTB but it failed on my system. Next, I tried to compile OTB from source but when I get to the step of running SuperBuild, following the instructions [here](https://www.orfeo-toolbox.org/CookBook/CompilingOTBFromSource.html), it fails.
After running the following:
`$ cd ~/OTB/build`
`$ cmake -D CMAKE_INSTALL_PREFIX=~/OTB/install ../otb/SuperBuild`
There are no error messages and it seems to have run successfully, but the install folder (~/OTB/install/) is empty. I'm not sure how else to use OTB on my system. Any suggestions are appreciated. Thanks!https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2271Upgade to zlib 1.2.122022-05-09T09:51:20ZJulien OsmanUpgade to zlib 1.2.12A [critical vulnerability in zlib](https://orca.security/resources/blog/zlib-memory-corruption-vulnerability-cve-2018-25032/) is patched in minor version 1.2.12.A [critical vulnerability in zlib](https://orca.security/resources/blog/zlib-memory-corruption-vulnerability-cve-2018-25032/) is patched in minor version 1.2.12.8.0.1https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2269Support GDAL 3.4.22022-05-09T09:51:20ZMickael SavinaudSupport GDAL 3.4.2Support GDAL 3.4.2 instead of GDAL 3.4.0 in 8.0.zSupport GDAL 3.4.2 instead of GDAL 3.4.0 in 8.0.z8.0.1https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2267segmentation fault python when importing otbApplication2022-05-06T08:48:49Zlopolysegmentation fault python when importing otbApplicationHello,
I am trying to install otb module for Python on MacOs Catalina 10.15.7.
First, I created a conda environment with python3.7 and I installed numpy.
I run the following commands in the terminal :
`cd /Users/laura/opt/ #go to di...Hello,
I am trying to install otb module for Python on MacOs Catalina 10.15.7.
First, I created a conda environment with python3.7 and I installed numpy.
I run the following commands in the terminal :
`cd /Users/laura/opt/ #go to directory where OTB file has been set`
`chmod +x OTB-8.0.0-Darwin64.run ./OTB-8.0.0-Darwin64.run `
`source /Users/laura/opt/OTB-8.0.0-Darwin64/otbenv.profile`
`echo $PYTHONPATH`
As I get blank response to this last command, I run :
`export PYTHONPATH="/Users/laura/opt/OTB-8.0.0-Darwin64/lib/python`
Then:
`ln -s /Users/laura/opt/anaconda3/envs/otb/lib/libpython3.5m.dylib /Users/laura/opt/OTB-8.0.0-Darwin64/libpython3.5m.so.rh-python35-1.0`
`OTB_APPLICATION_PATH="/Users/laura/opt/OTB-8.0.0-Darwin64/lib/otb/applications"`
When I run python on terminal and import otbApplication, I get the following error :
**zsh: segmentation fault python**
I don't know what to do, I never had to install module that way so I'm lost.
Thank you in advance for your help !https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2265OTB 8 appears to be slower than 7.3.02023-08-02T07:20:19ZLaurențiu NicolaOTB 8 appears to be slower than 7.3.0At least on some operations. Notice the huge difference in user time:
```
# OTB 7.3.0
otbcli_ComputeImagesStatistics -il brightness.tif 83.91s user 2.12s system 899% cpu 9.568 total
# OTB 7.4.0
otbcli_ComputeImagesStatistics -il brigh...At least on some operations. Notice the huge difference in user time:
```
# OTB 7.3.0
otbcli_ComputeImagesStatistics -il brightness.tif 83.91s user 2.12s system 899% cpu 9.568 total
# OTB 7.4.0
otbcli_ComputeImagesStatistics -il brightness.tif 89.18s user 1.92s system 936% cpu 9.732 total
# OTB 8.0.0
otbcli_ComputeImagesStatistics -il brightness.tif 116.50s user 2.18s system 996% cpu 11.913 total
# bonus: OTB 5.0.0
otbcli_ComputeImagesStatistics -il brightness.tif 101.95s user 0.68s system 726% cpu 14.127 total
```
Image is an uncompressed 10980x10980x25 Int16 TIFF.https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2264SegFault with SARCalib on Sentinel1 products2023-03-27T13:01:22ZJulien OsmanSegFault with SARCalib on Sentinel1 products### Description
As [Jeroen explains on the forum](https://forum.orfeo-toolbox.org/t/sentinel-1-calibration-orthorectification-segfault/1247), the SARCalib application generates a SegFault with some Sentinel1 products. I was able to repr...### Description
As [Jeroen explains on the forum](https://forum.orfeo-toolbox.org/t/sentinel-1-calibration-orthorectification-segfault/1247), the SARCalib application generates a SegFault with some Sentinel1 products. I was able to reproduce this bug with OTB 7.4 and OTB 8.0.
### Steps to reproduce
- Download the product `S1B_IW_GRDH_1SDV_20191113T155500_20191113T155514_018911_023AAD_5A9C`
- Run the calibration `otbcli_SARCalibration -in S1B_IW_GRDH_1SDV_20191113T155500_20191113T155514_018911_023AAD_5A9C.SAFE/measurement/s1b-iw-grd-vv-20191113t155500-20191113t155514-018911-023aad-001.tiff -lut sigma -removenoise 1 -out output.tiff`
### Configuration information
OS: Ubuntu 20.04
OTB:
- version 7.4 from binaries
- version 8.0 (54b1a7044958542b83a18199c233832270b7e01a) compiled with debug.https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2263concatenateImages landsat5 image from creodias2022-05-04T08:01:15ZnicodeboconcatenateImages landsat5 image from creodias### Description
When I try to concatenate images bands from a landsat5 product downloaded from creodias, the process hang. (I let it run the whole night). However if I downgrade otb to 6.6.1 the process complete without any problem.
##...### Description
When I try to concatenate images bands from a landsat5 product downloaded from creodias, the process hang. (I let it run the whole night). However if I downgrade otb to 6.6.1 the process complete without any problem.
### Steps to reproduce
#### otb 7.4.0
```
source /home/nicodebo/.local/share/dependencies/OTB-7.4.0-Linux64/otbenv.profile && otbcli_ConcatenateImages -il /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B1.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B2.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B3.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B4.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B5.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B7.TIF -out /home/nicodebo/Downloads/landsat5/process/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E_xs.tif uint16 -ram 1024
2022-03-09 15:27:41 (INFO) ConcatenateImages: Default RAM limit for OTB is 256 MB
2022-03-09 15:27:41 (INFO) ConcatenateImages: GDAL maximum cache size is 1605 MB
2022-03-09 15:27:41 (INFO) ConcatenateImages: OTB will use at most 16 threads
```
### otb 6.6.1
```
source /home/nicodebo/.local/share/dependencies/otb/otbenv.profile && otbcli_ConcatenateImages -il /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS0
5_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B1.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8
A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B2.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218
_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B3.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_0610
61_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B4.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T1132
21_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B5.TIF /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_199508
24T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B7.TIF -out /home/nicodebo/Downloads/landsat5/process/LS05_RKSE_TM__GEO_1P_19
950824T113152_19950824T113221_061061_0218_0003_8A8E_xs.tif uint16 -ram 1024
2022-03-09 15:01:05 (INFO): Default RAM limit for OTB is 128 MB
2022-03-09 15:01:05 (INFO): GDAL maximum cache size is 1605 MB
2022-03-09 15:01:05 (INFO): OTB will use at most 16 threads
2022-03-09 15:01:05 (INFO): No kwl metadata found in file /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_1995082
4T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B1.TIF
2022-03-09 15:01:05 (INFO): No kwl metadata found in file /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_1995082
4T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B2.TIF
2022-03-09 15:01:05 (INFO): No kwl metadata found in file /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_1995082
4T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B3.TIF
2022-03-09 15:01:05 (INFO): No kwl metadata found in file /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_1995082
4T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B4.TIF
2022-03-09 15:01:05 (INFO): No kwl metadata found in file /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_1995082
4T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B5.TIF
2022-03-09 15:01:05 (INFO): No kwl metadata found in file /home/nicodebo/Downloads/landsat5/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E/LS05_RKSE_TM__GEO_1P_19950824T113152_1995082
4T113221_061061_0218_0003_8A8E.TIFF/LT52180031995236ESA00_B7.TIF
2022-03-09 15:01:05 (INFO): Estimated memory for full processing: 6805.73MB (avail.: 1024 MB), optimal image partitioning: 7 blocks
2022-03-09 15:01:05 (INFO): File /home/nicodebo/Downloads/landsat5/process/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E_xs.tif will be written in 8 blocks of 8652x1088 pixels
Writing /home/nicodebo/Downloads/landsat5/process/LS05_RKSE_TM__GEO_1P_19950824T113152_19950824T113221_061061_0218_0003_8A8E_xs.tif...: 100% [**************************************************] (5 seconds)
```
### Configuration information
OTB 7.4.0 (.run downloaded from the website)https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2262GetImageProjection return nothing if used with Export/ImportImage2022-03-15T07:07:57ZBenjamin TardyGetImageProjection return nothing if used with Export/ImportImage### Description
After creating an application using an OTB image from `ExportImage` as input, the function `GetImageProjection()` returns an empty string.
In the following code, replacing `Execute()` by `ExecuteAndWriteOutput()` wrotes...### Description
After creating an application using an OTB image from `ExportImage` as input, the function `GetImageProjection()` returns an empty string.
In the following code, replacing `Execute()` by `ExecuteAndWriteOutput()` wrotes a tif with the correct projection (gdalinfo and qgis seem good)
If `SetParameterStringList` with path to .tif image is used, `GetImageProjection` returns the correct projection.
### Steps to reproduce
```python
def do_bandmath(image_name):
bandmath = otb.Registry.CreateApplicationWithoutLogger("BandMath")
bandmath.SetParameterStringList("il", [image_name])
bandmath.SetParameterString("exp", "im1b1")
bandmath.SetParameterString("out", "fake_out.tif")
bandmath.Execute()
otb_im = bandmath.ExportImage("out")
return otb_im, bandmath
otb_image2, dep = do_bandmath("InputImage.tif")
bandmath = otb.Registry.CreateApplication("BandMath")
bandmath.ImportImage("il", otb_image2)
bandmath.SetParameterString("exp", "im1b1+1")
bandmath.SetParameterString("out", "out_image.tif")
bandmath.Execute()
proj = bandmath.GetImageProjection("out")
print(proj) # print empty string
# same behaviour with
# proj = bandmath.GetImageProjection("il")
```
### Configuration information
Linux Ubuntu 20.04, OTB 8.0 , compiled using conda (superbuild)https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2261Cannot get the output statistics of ComputeImagesStatistics2022-04-12T05:45:56ZNicolas NarçonCannot get the output statistics of ComputeImagesStatisticsCurrently, the application ComputeImagesStatistics only prints the mean and standard deviation and can optionally save the result inside an XML.
I would like to be able to get the result in Python, as it is possible in ReadImageInfo, so...Currently, the application ComputeImagesStatistics only prints the mean and standard deviation and can optionally save the result inside an XML.
I would like to be able to get the result in Python, as it is possible in ReadImageInfo, something such as:
```python
stats = otbApplication.Registry.CreateApplication('ComputeImagesStatistics')
stats.SetParameterStringList('il', ['image.tif'])
stats.Execute()
mean = stats.GetParameterFloat('mean')
```8.0.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2260Problem for TSX metadata in V8 (parseGeom)2022-04-12T05:45:55ZGaëlle USSEGLIOProblem for TSX metadata in V8 (parseGeom)### Description
DEM projection can raise a seg fault for TSX inputs. A Seg Fault is raised if metadata comes from a geom file (OTB = 7.4)
Hera a [patch](/uploads/eda60d4fa2481c7ef6d6866529428cb1/tsx_metadata.patch) to solve this issue ...### Description
DEM projection can raise a seg fault for TSX inputs. A Seg Fault is raised if metadata comes from a geom file (OTB = 7.4)
Hera a [patch](/uploads/eda60d4fa2481c7ef6d6866529428cb1/tsx_metadata.patch) to solve this issue in 7.4. FYI, I tried to remain compliant with OTB < 7.4 (different keys in geom) but I did not check it.
### Configuration information
OS centos 7.9 (HAL), OTB release-8.08.0.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2258Problem for CSK metadata in V82022-03-15T07:08:47ZGaëlle USSEGLIOProblem for CSK metadata in V8### Description
I have noticed a few problems using CSK metadata:
* CSK metadata interface always set HDF5:*filename*://SBI//S01 as image. It does not work if an extraction was made from a CSK product.
* Missing metadata in `parseGDAL` ...### Description
I have noticed a few problems using CSK metadata:
* CSK metadata interface always set HDF5:*filename*://SBI//S01 as image. It does not work if an extraction was made from a CSK product.
* Missing metadata in `parseGDAL` function such as NumberOfColums or GCPTimes
* Missing metadata in `parseGeom`
Here a [patch](/uploads/9a5ca82f7b5266d7734f2cc4252c98e5/csk_metadata.patch).
Let me know if there is a problem.
### Configuration information
OS centos 7.9 (HAL), OTB release-8.08.0.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2257Problem nb lines/columns in SARBurstExtraction2022-03-15T07:08:59ZGaëlle USSEGLIOProblem nb lines/columns in SARBurstExtraction### Description
A little confusion between *NumberOfLines* and *NumberOfColumns* in `SARBurstExtraction` : [patch](/uploads/9090f64ea919491b5383625c66fe7d66/burst_extraction_correction.patch)
### Configuration information
OS centos 7....### Description
A little confusion between *NumberOfLines* and *NumberOfColumns* in `SARBurstExtraction` : [patch](/uploads/9090f64ea919491b5383625c66fe7d66/burst_extraction_correction.patch)
### Configuration information
OS centos 7.9 (HAL), OTB release-8.08.0.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2256Problem with right_looking_flag on S1 products2022-03-15T07:09:12ZGaëlle USSEGLIOProblem with right_looking_flag on S1 products### Description
Rigth looking flag is always true for S1 products. Old metadata (from v7.4/geom) do not contain a key to specify this flag (such as [support_data.look_side](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/blob/releas...### Description
Rigth looking flag is always true for S1 products. Old metadata (from v7.4/geom) do not contain a key to specify this flag (such as [support_data.look_side](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/blob/release-8.0/Modules/Core/Metadata/src/otbSarImageMetadataInterface.cxx#L300)). Without this key, the flag is set, by default to false.
IMO, we can set this flag to true in `Sentinel1ImageMetadataInterface` : [patch](/uploads/eeeef091657813fb0fc30610410f9434/rightlookingflag_s1_from_geom.patch)
### Configuration information
OS centos 7.9 (HAL), OTB release-8.08.0.0