otb issueshttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues2019-06-20T13:37:11Zhttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1592OTB 6.6-rc1 fails to build on Debian unstable (fatal error: shark/Models/Clas...2019-06-20T13:37:11ZBas CouwenbergOTB 6.6-rc1 fails to build on Debian unstable (fatal error: shark/Models/Classifier.h: No such file or directory)### Description
OTB 6.6-rc1 fails to build on Debian unstable because it cannot find a shark header:
```
make -f Modules/Applications/AppClassification/app/CMakeFiles/otbapp_MultiImageSamplingRate.dir/build.make Modules/Applications/App...### Description
OTB 6.6-rc1 fails to build on Debian unstable because it cannot find a shark header:
```
make -f Modules/Applications/AppClassification/app/CMakeFiles/otbapp_MultiImageSamplingRate.dir/build.make Modules/Applications/AppClassification/app/CMakeFiles/otbapp_MultiImageSamplingRate.dir/depend
In file included from /build/otb-6.6.0~rc1+dfsg/Modules/Learning/Supervised/include/otbSharkRandomForestsMachineLearningModelFactory.txx:28:0,
from /build/otb-6.6.0~rc1+dfsg/Modules/Learning/Supervised/include/otbSharkRandomForestsMachineLearningModelFactory.h:74,
from /build/otb-6.6.0~rc1+dfsg/Modules/Learning/Supervised/include/otbMachineLearningModelFactory.txx:45,
from /build/otb-6.6.0~rc1+dfsg/Modules/Learning/Supervised/include/otbMachineLearningModelFactory.h:81,
from /build/otb-6.6.0~rc1+dfsg/Modules/Applications/AppClassification/app/otbVectorClassifier.cxx:33:
/build/otb-6.6.0~rc1+dfsg/Modules/Learning/Supervised/include/otbSharkRandomForestsMachineLearningModel.h:39:10: fatal error: shark/Models/Classifier.h: No such file or directory
#include <shark/Models/Classifier.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
```
This header is not included in libshark-dev (3.1.4+ds1-1)
### Steps to reproduce
Build OTB 6.6-rc1 with `-DOTB_USE_SHARK:BOOL=ON` on Debian unstable.
### Configuration information
Debian unstable, OTB 6.6-rc1.6.6.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1643Release 6.62018-07-20T13:43:32ZAntoine RegimbeauRelease 6.6We are ready to release the new OTB version 6.6.
The following steps need to be performed :
1. [x] Version number update in source code (branch release-6.6)
2. [x] [SuperBuild archive update](https://wiki.orfeo-toolbox.org/index.php/He...We are ready to release the new OTB version 6.6.
The following steps need to be performed :
1. [x] Version number update in source code (branch release-6.6)
2. [x] [SuperBuild archive update](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#SuperBuild_archive) (if needed)
4. [x] Update release notes (walk the GitLab MR merged history and log all improvements) for OTB, Monteverdi and Ice.
5. [x] Update the date in RELEASE_NOTES.txt
6. [x] [Sanity check the binary packages](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Standalone_packages_sanity_check)
1. [x] Windows
2. [x] Linux
3. [x] Mac
7. [x] [Tag the release branches](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Release_tag)
8. [x] [Merge the release into master](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Merge_latest_release_into_master)
10. [x] [Prepare and upload source packages](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Prepare_and_upload_source_packages)
11. [x] [Promote nightly packages](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Promote_nightly_packages)
12. [x] [Update documentation](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Update_documentation)
1. [x] Software Guide
2. [x] Cookbook
3. [x] Doxygen
4. [x] Application online documentation
5. [x] WordPress page "Home" and "Download" pages
13. [x] Upload OTB source archive to [Zenodo](https://zenodo.org/) to create a unique Digital Object Identifier (DOI)
14. [x] Update OTB-Data-Examples.tgz on orfeo-toolbox (packages)
15. [x] Send email to mailing list to announce the release
16. [x] Release announcement on the blog
17. [x] Announcement on social networks (twitter, google+)
18. [ ] Forward announcement to news_item@osgeo.org ([OSGeo news](https://www.osgeo.org/foundation-news/))
19. [ ] Plan the next release (nominate new release manager, setup PSC meeting on IRC)
20. [ ] Contact QGis processing plugin maintainer to update XML description for new OTB-Applications (or [supply it](https://wiki.orfeo-toolbox.org/index.php/QGIS_access_to_OTB_applications#Updating_the_XML_descriptors))
21. [x] Remove public branches related to MR or bugfix merged before the release6.6.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1629Release Candidate 6.6-RC22018-06-18T14:55:36ZAntoine RegimbeauRelease Candidate 6.6-RC2We are ready to create the Release Candidate (RC2) for version 6.6. The RC is deployed before the Release to catch eventual bugs.
The following steps need to be performed :
1. [x] [Create the new release branch](https://wiki.orfeo-tool...We are ready to create the Release Candidate (RC2) for version 6.6. The RC is deployed before the Release to catch eventual bugs.
The following steps need to be performed :
1. [x] [Create the new release branch](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Create_release_branch)
2. [x] Update `OTB/CMakeLists.txt` version numbers in branch 'develop' to the next development version
3. [x] Update `OTB/CMakeLists.txt` version numbers in branch 'release-6.6' to 6.6.0
4. [x] Update [dashboard](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Dashboard) scripts to support new version numbers
5. [x] Update the [SuperBuild archive](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#SuperBuild_archive)
6. ~~Send an email to otb-developers to announce the beginning of the release process~~
7. ~~Gather feedback on bugs that need to be fixed, make a public list and track the fixes to be able to get progress info during the release~~
8. [x] Run Debian [spelling checker](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Spelling_check)
9. [x] Run shellcheck [script](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb-devutils/blob/master/Scripts/run_shellcheck.sh) from OTB-Devutils/Scripts/
8. [x] Update [translation](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Translation_for_Monteverdi_.26_Mapla) for Monteverdi & Mapla
11. [x] Update FAQ, Cookbook and Software Guide (download, installation and compilation sections, contributor list) in both develop and release branch.
12. ~~Update GIT_TAG for all official remote modules~~
13. [x] [Sanity Check the binary packages](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Standalone_packages_sanity_check)
1. [x] Windows
2. [x] Linux
3. [x] Mac
14. [x] [Tag the release branches](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#RC_tag)
15. [x] [Prepare and upload source packages](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Prepare_and_upload_source_packages)
16. [x] [Promote nightly packages](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Promote_nightly_packages)
17. [x] Update documentation :
1. [x] Software Guide
2. [x] Cookbook
3. [x] Doxygen
4. [x] Application online documentation
18. [x] Send RC announcement email ([including updated checkout commands](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Get_a_RC_checkout)).6.6.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1585Release Candidate 6.62018-06-07T09:29:20ZCédric TraizetRelease Candidate 6.6We are ready to create the Release Candidate (RC) for version 6.6. The RC is deployed before the Major Release to catch eventual bugs.
The following steps need to be performed :
1. [x] [Create the new release branch](https://wiki.orfeo...We are ready to create the Release Candidate (RC) for version 6.6. The RC is deployed before the Major Release to catch eventual bugs.
The following steps need to be performed :
1. [x] [Create the new release branch](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Create_release_branch)
2. [x] Update `OTB/CMakeLists.txt` version numbers in branch 'develop' to the next development version
3. [x] Update `OTB/CMakeLists.txt` version numbers in branch 'release-6.6' to 6.6.0
4. [x] Update [dashboard](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Dashboard) scripts to support new version numbers
5. [x] Update the [SuperBuild archive](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#SuperBuild_archive)
6. [x] Send an email to otb-developers to announce the beginning of the release process
7. [x] Gather feedback on bugs that need to be fixed, make a public list and track the fixes to be able to get progress info during the release
8. [x] Run Debian [spelling checker](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Spelling_check)
9. [x] Run shellcheck [script](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb-devutils/blob/master/Scripts/run_shellcheck.sh) from OTB-Devutils/Scripts/
10. [x] Update [translation](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Translation_for_Monteverdi_.26_Mapla) for Monteverdi & Mapla
11. [x] Update FAQ, Cookbook and Software Guide (download, installation and compilation sections, contributor list) in both develop and release branch.
12. [x] Update GIT_TAG for all official remote modules
13. [x] [Sanity Check the binary packages](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Standalone_packages_sanity_check)
1. [x] Windows
2. [x] Linux
3. [x] Mac
14. [x] [Tag the release branches](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#RC_tag)
15. [x] [Prepare and upload source packages](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Prepare_and_upload_source_packages)
16. [x] [Promote nightly packages](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Promote_nightly_packages)
17. [x] Update documentation :
1. [x] Software Guide
2. [x] Cookbook
3. [x] Doxygen
4. [x] Application online documentation
18. [ ] Send RC announcement email ([including updated checkout commands](https://wiki.orfeo-toolbox.org/index.php/Help_for_release_actions#Get_a_RC_checkout)).6.6.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1620monteverdi and mapla segfault at startup2018-06-05T11:21:58ZJulien Michelmonteverdi and mapla segfault at startup### Description
With release-6.6 branch up-to-date, on my debian stable, building without superbuild (thus using qt system package, which is 5.7.1), monteverdi and mapla crash even before starting :
```
$ ./bin/monteverdi
Erreur de seg...### Description
With release-6.6 branch up-to-date, on my debian stable, building without superbuild (thus using qt system package, which is 5.7.1), monteverdi and mapla crash even before starting :
```
$ ./bin/monteverdi
Erreur de segmentation
```
### Steps to reproduce
Build otb and monteverdi on debian stable with qt system package.
### Configuration information
Backtrace in gdb does not provide much information :
```
Program received signal SIGSEGV, Segmentation fault.
0x00007fffdff15184 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
(gdb) bt
#0 0x00007fffdff15184 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#1 0x00007ffff7de88aa in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7fffffffe218, env=env@entry=0x7fffffffe228) at dl-init.c:72
#2 0x00007ffff7de89bb in call_init (env=0x7fffffffe228, argv=0x7fffffffe218, argc=1, l=<optimized out>) at dl-init.c:30
#3 _dl_init (main_map=0x7ffff7ffe170, argc=1, argv=0x7fffffffe218, env=0x7fffffffe228) at dl-init.c:120
#4 0x00007ffff7dd9c5a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#5 0x0000000000000001 in ?? ()
#6 0x00007fffffffe45e in ?? ()
#7 0x0000000000000000 in ?? ()
```6.6.0Manuel GrizonnetManuel Grizonnethttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1396Monteverdi: The overview with different projections is broken2018-06-05T07:38:20ZSébastien DinotMonteverdi: The overview with different projections is broken_[Mantis Issue 1396](https://bugs.orfeo-toolbox.org//view.php?id=1396), reported by ludovic, assigned to sdinot, created: 2017-04-28_
The overview does not work with different projections.
**2017-05-03 16:03 - ludovic:** ROI's coordina..._[Mantis Issue 1396](https://bugs.orfeo-toolbox.org//view.php?id=1396), reported by ludovic, assigned to sdinot, created: 2017-04-28_
The overview does not work with different projections.
**2017-05-03 16:03 - ludovic:** ROI's coordinates fixed: see [commit](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/commit/ba537299934119242129dbf78b5c3f226e93fd67) message for details.6.6.0Sébastien DinotSébastien Dinothttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1587Cannot launch monteverdi if .ini config file is invalid2018-06-04T09:28:55ZVictor PoughonCannot launch monteverdi if .ini config file is invalid### Description
When the config file is incorrect, monteverdi cannot be started.
### Steps to reproduce
Edit `C:\Users\username\AppData\Roaming\OrfeoToolBox\Monteverdi.ini` with invalid content (add garbage characters for example). La...### Description
When the config file is incorrect, monteverdi cannot be started.
### Steps to reproduce
Edit `C:\Users\username\AppData\Roaming\OrfeoToolBox\Monteverdi.ini` with invalid content (add garbage characters for example). Launch monteverdi. A pop-up appears to inform of the issue, click yes.
### Configuration information
Windows 10 64 bit. OTB standalone package of release-6.6 branch from today's nightly build.6.6.0Julien MichelJulien Michelhttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1595Monteverdi: delete layer button deletes the wrong layer2018-06-01T10:06:19ZVictor PoughonMonteverdi: delete layer button deletes the wrong layer### Description
The 'delete selected layer' button deletes the wrong layer stack item when clicked twice.
### Steps to reproduce
Add three layers, select the first one then click the 'delete selected layer' button twice. The first and...### Description
The 'delete selected layer' button deletes the wrong layer stack item when clicked twice.
### Steps to reproduce
Add three layers, select the first one then click the 'delete selected layer' button twice. The first and third items will be deleted instead of the first and second.
### Configuration information
OTB 6.4 on windows 10.6.6.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1588Monteverdi black screen after app execution2018-06-01T09:56:45ZAntoine RegimbeauMonteverdi black screen after app execution### Description
After execution of application the monteverdi window becomes black.
### Steps to reproduce
Open an image, use this image as input in an application opened through monteverdi, launch it, black screen.
### Configuration i...### Description
After execution of application the monteverdi window becomes black.
### Steps to reproduce
Open an image, use this image as input in an application opened through monteverdi, launch it, black screen.
### Configuration information
Linux 16.04 , OTB binary 6.66.6.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1609OTB 6.6-rc1 fails to build with GCC 82018-05-31T12:38:47ZBas CouwenbergOTB 6.6-rc1 fails to build with GCC 8### Description
OTB 6.6-rc1 has been built with GCC 8 to test if [Debian Bug #897830](https://bugs.debian.org) was resolved now that ITK4 no longer fails to build with GCC 8.
Unfortunately OTB still fails to build:
```
In file included...### Description
OTB 6.6-rc1 has been built with GCC 8 to test if [Debian Bug #897830](https://bugs.debian.org) was resolved now that ITK4 no longer fails to build with GCC 8.
Unfortunately OTB still fails to build:
```
In file included from /build/otb-6.6.0~rc1+dfsg/Modules/Adapters/GdalAdapters/include/otbGeometriesSet.h:27,
from /build/otb-6.6.0~rc1+dfsg/Modules/Adapters/GdalAdapters/src/otbGeometriesSet.cxx:25:
/build/otb-6.6.0~rc1+dfsg/Modules/Adapters/GdalAdapters/include/otbImageReference.h: In member function 'void otb::ogr::ImageReference<TPrecision>::TransformPointToPhysicalPoint(const PointType&) const':
/build/otb-6.6.0~rc1+dfsg/Modules/Adapters/GdalAdapters/include/otbImageReference.h:147:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
return physicalPoint;
^~~~~~~~~~~~~
```
### Steps to reproduce
Build OTB with the `gcc-8` & `g++-8` packages from Debian unstable.
```
export CC=gcc-8
export CXX=g++-8
```
### Configuration information
Debian unstable, OTB 6.6-rc1.6.6.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1607Undefined symbol (otbOGRIOHelper.ConvertGeometryToPolygonNode)2018-05-31T11:48:19ZYannick TANGUYUndefined symbol (otbOGRIOHelper.ConvertGeometryToPolygonNode)### Description
We use otbOGRIOHelper.ConvertGeometryToPolygonNode in one of our OTB Application : with OTB 6.6, it fails with an "undefined symbol" error :
> [tanguyy@visu01 test_2]$ otbcli_VectorDataEvaluation -in test_2_result.shp ...### Description
We use otbOGRIOHelper.ConvertGeometryToPolygonNode in one of our OTB Application : with OTB 6.6, it fails with an "undefined symbol" error :
> [tanguyy@visu01 test_2]$ otbcli_VectorDataEvaluation -in test_2_result.shp -ref buildings_from_LIDAR_small.shp -outstats stats.xml -matchthreshold 0.2 -ratethreshold 0.2
> 2018-05-28 08:56:20 (INFO): Default RAM limit for OTB is 128 MB
> 2018-05-28 08:56:20 (INFO): GDAL maximum cache size is 12854 MB
> 2018-05-28 08:56:20 (INFO): OTB will use at most 48 threads
> /work/logiciels/otb/rh7/6.6-python2/bin/otbApplicationLauncherCommandLine: symbol lookup error: /home/qt/tanguyy/BUILD/ImageToDBRegistration_ITK/lib/otb/applications/otbapp_VectorDataEvaluation.so: undef
> ined symbol: _ZNK3otb11OGRIOHelper28ConvertGeometryToPolygonNodeEPK11OGRGeometryN3itk12SmartPointerINS_8DataNodeIdLj2EdEEEE
### Steps to reproduce
This application is linked with OTB 6.6
The ConvertGeometryToPolygonNode function is declared "inline" in the .cxx file (and not in the header file).
We have a merge request that solves this problem.
### Configuration information
OTB 6.66.6.0Yannick TANGUYYannick TANGUYhttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1598Various issues with Contrast Enhancement app2018-05-30T14:32:22ZVictor PoughonVarious issues with Contrast Enhancement app### Description
Today I tried using the Contrast Enhancement app (OTB 6.4) for a simple workflow: take a 16 bit Pléiades XS image and make a high-contrast 8-bit version. I encountered a few issues with the app:
* Cannot uint8 as output...### Description
Today I tried using the Contrast Enhancement app (OTB 6.4) for a simple workflow: take a 16 bit Pléiades XS image and make a high-contrast 8-bit version. I encountered a few issues with the app:
* Cannot uint8 as output type. It works fine with uint16 (same as input type in my case), but when I change it to uint8 the output is full white (255) everywhere. At first I thought the reason was that the 'Contrast limitation' parameter depends on the output type range, because decreasing it showed some darker areas, but decreasing it further did not help yield a good looking output.
* 'Minimum and maximum definition': These parameters are extremely unclear. What is their purpose? Why should a user ever need to change it? How does it relate to the output type range? How is it set when set to 'Automatic'?
* Automatic min/max definition has a 'global' mode? Again, why is that useful to change? Plus, it looks like a lonely check box in GUI, very unclear.
* Cannot start the app in GUI when switching to "Manual minimum and maximum computation". This is maybe a bug in Application Engine, but the "Execute" button is gray. Need to change the minimum field to 0.1 for example, then back to 0 for it to work.
* Typos in documentation. There are a number of typos and errors in the documentation which should be fixed.
In my opinion, the purpose of this app is not to be a highly configurable front-end to adaptive histogram equalization, but a user friendly way to go from a raw satellite image product to a reasonably good looking 8-bit image. Or perhaps we need another app for this? Discussion is welcome on this point.
### Steps to reproduce
see above
### Configuration information
All.6.6.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1610Remove QT4 patch directory in the superbuild?2018-05-30T14:32:09ZManuel GrizonnetRemove QT4 patch directory in the superbuild?### Description
Can I remove the QT4 patch directory in the superbuild as OTB 6.6 is only compatible qith QT5?
see: https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/tree/release-6.6/SuperBuild/patches/QT4
If a superbuild guru can tel...### Description
Can I remove the QT4 patch directory in the superbuild as OTB 6.6 is only compatible qith QT5?
see: https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/tree/release-6.6/SuperBuild/patches/QT4
If a superbuild guru can tell me...
### Steps to reproduce
Describe as precisely as possible how to reproduce the bug. Try to isolate a minimal number of steps. Also describe reproducibility (always, random ...).
### Configuration information
OS, OTB version or tag, information related to build (binaries, superbuild, system libs ...)6.6.0Manuel GrizonnetManuel Grizonnethttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1576No image display in monteverdi2018-05-29T09:50:47ZGuillaume PaseroNo image display in monteverdi### Description
The images in monteverdi are not rendered on screen, although the opening works fine. The histogram, color dynamic settings and pixel picking are working fine. The main view and the quicklook remain black, so probably an...### Description
The images in monteverdi are not rendered on screen, although the opening works fine. The histogram, color dynamic settings and pixel picking are working fine. The main view and the quicklook remain black, so probably an issue with OpenGL rendering.
This problem may be specific to Windows builds.
### Steps to reproduce
Launch monteverdi, open an image
### Configuration information
Windows, 6.6 package.6.6.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1518PolygonClassStatistics application stalled after polygons analysis2018-05-29T09:49:34ZManuel GrizonnetPolygonClassStatistics application stalled after polygons analysis### Description
I want to compute polygon statistics per class on Snow mask distributed by the THEIA platform (http://www.theia-land.fr/en/products/snow).
I use the PolygonClassStatistics for that, The progress report states that 100% ...### Description
I want to compute polygon statistics per class on Snow mask distributed by the THEIA platform (http://www.theia-land.fr/en/products/snow).
I use the PolygonClassStatistics for that, The progress report states that 100% of polygons have been analyzed but then
I let the application runs for few hours but it never finished.
There are around 60 000 polygons in the vector file on which I'm trying to compute the statistics.
### Steps to reproduce
I use the following snow product from the theia data center (Tile T32TLQ 20180211)
https://theia.cnes.fr/atdistrib/rocket/#/collections/Snow/0324e0d3-a05c-5ed9-92c0-77f084a0dec8
Inside the archive I've used the snow mask in raster and vector formats:
SENTINEL2A_20180211-102559-219_L2B-SNOW_T32TLQ_D_V1-4_SNW_R2.tif and
SENTINEL2A_20180211-102559-219_L2B-SNOW_T32TLQ_D_V1-4_SNW_R2.shp
Firstly I've computed a validity mask to only compute statistics on snow and no-snow classes which corresponds to labels 100 and 0) and discard cloud and no-data (labels 205 and 254). I've done this with the bandMath application:
otbcli_BandMath -il ../SENTINEL2A_20180211-102559-219_L2B-SNOW_T32TLQ_D_V1-4/SENTINEL2A_20180211-102559-219_L2B-SNOW_T32TLQ_D_V1-4_SNW_R2.tif -out nodata_and_cloud_mask.tif uint8 -exp "(im1b1==254 || im1b1== 205)?0:1"
Then, I run the PolygonClassStatistics on the polygons using this validity mask:
otbcli_PolygonClassStatistics -in SENTINEL2A_20180211-102559-219_L2B-SNOW_T32TLQ_D_V1-4/SENTINEL2A_20180211-102559-219_L2B-SNOW_T32TLQ_D_V1-4_SNW_R2.tif -mask nodata_and_cloud_mask.tif -vec ../SENTINEL2A_20180211-102559-219_L2B-SNOW_T32TLQ_D_V1-4/SENTINEL2A_20180211-102559-219_L2B-SNOW_T32TLQ_D_V1-4_SNW_R2.shp -field DN -out PolygonClassStatistics.xml
### Configuration information
Tested with OTB develop branch (6.6) in release and debug mode (debug messages don't provide more information on where the application is blocked6.6.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1570Initialization of GL view in Monteverdi2018-05-29T09:31:18ZGuillaume PaseroInitialization of GL view in Monteverdi### Description
When launching monteverdi, the main GL view is not filled in black. After loading an image, it goes back to normal.
### Steps to reproduce
Open monteverdi (from binary package), then open an image
### Configuration in...### Description
When launching monteverdi, the main GL view is not filled in black. After loading an image, it goes back to normal.
### Steps to reproduce
Open monteverdi (from binary package), then open an image
### Configuration information
Tested on Linux, with OTB 6.6 binary package6.6.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1591OTB 6.6-rc1 fails to find CBLAS_LIBRARY on Debian unstable2018-05-26T06:34:52ZBas CouwenbergOTB 6.6-rc1 fails to find CBLAS_LIBRARY on Debian unstable### Description
Configuring OTB 6.6-rc1 on Debian unstable fails, because `FindShark.cmake` doesn't find the blas library shark was built with.
On Debian unstable `libblas-dev` provides `/usr/lib/$(DEB_HOST_MULTIARCH)/blas/libblas.so` ...### Description
Configuring OTB 6.6-rc1 on Debian unstable fails, because `FindShark.cmake` doesn't find the blas library shark was built with.
On Debian unstable `libblas-dev` provides `/usr/lib/$(DEB_HOST_MULTIARCH)/blas/libblas.so` for which the `find_library()` call needs to be adapted.
The attached patch fixes the issue: [shark-blas.patch](/uploads/cb561b52785f7bc46767034c619a27c0/shark-blas.patch)
### Steps to reproduce
Configure OTB 6.6-rc1 with `-DOTB_USE_SHARK:BOOL=ON` on Debian unstable.
### Configuration information
Debian unstable, OTB 6.6-rc1.6.6.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1593OTB 6.6-rc1 fails to build on Debian unstable (error while loading shared lib...2018-05-25T13:58:52ZBas CouwenbergOTB 6.6-rc1 fails to build on Debian unstable (error while loading shared libraries: libOTBApplicationEngine-6.6.so.1: cannot open shared object file: No such file or directory)### Description
OTB 6.6-rc1 fails to build on Debian unstable because it cannot find libOTBApplicationEngine-6.6.so.1:
```
"/build/otb-6.6.0~rc1+dfsg/obj-x86_64-linux-gnu/bin/otbQgisDescriptor" MultivariateAlterationDetector "/build/otb...### Description
OTB 6.6-rc1 fails to build on Debian unstable because it cannot find libOTBApplicationEngine-6.6.so.1:
```
"/build/otb-6.6.0~rc1+dfsg/obj-x86_64-linux-gnu/bin/otbQgisDescriptor" MultivariateAlterationDetector "/build/otb-6.6.0~rc1+dfsg/obj-x86_64-linux-gnu/lib/otb/applications" "/build/otb-6.6.0~rc1+dfsg/obj-x86_64-linux-gnu/share/otb/description/"
/build/otb-6.6.0~rc1+dfsg/obj-x86_64-linux-gnu/bin/otbQgisDescriptor: error while loading shared libraries: libOTBApplicationEngine-6.6.so.1: cannot open shared object file: No such file or directory
make[3]: *** [Modules/Wrappers/QGIS/src/CMakeFiles/generate_descriptors.dir/build.make:160: share/otb/description/MultivariateAlterationDetector.txt] Error 127
make[3]: Leaving directory '/build/otb-6.6.0~rc1+dfsg/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:16797: Modules/Wrappers/QGIS/src/CMakeFiles/generate_descriptors.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
```
It looks like the build should use the the libraries from the build, not the system installed ones.
### Steps to reproduce
Build OTB 6.6-rc1 with `-DOTB_USE_SHARK:BOOL=OFF` on Debian unstable.
### Configuration information
Debian unstable, OTB 6.6-rc1.6.6.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1580TrainGMMApp (strange name) fails with qgisdescriptor2018-05-07T07:56:38ZRashad KanavathTrainGMMApp (strange name) fails with qgisdescriptor### Description
Dashboard is failing
```
./bin/otbQgisDescriptor TrainGMMApp ./lib/otb/applications ./share/otb/description/
C:\dashboard\otb\superbuild_x64\OTB\build\bin\otbQgisDescriptor.exe TrainGMMApp C:/dashboard/otb/superbuild_...### Description
Dashboard is failing
```
./bin/otbQgisDescriptor TrainGMMApp ./lib/otb/applications ./share/otb/description/
C:\dashboard\otb\superbuild_x64\OTB\build\bin\otbQgisDescriptor.exe TrainGMMApp C:/dashboard/otb/superbuild_x64/OTB/build/lib/otb/applications C:/dashboard/otb/superbuild_x64/OTB/build/share/otb/description/
```
ERROR: default_value is empty for 'sample.edg' type='QgsProcessingParameterBoolean'
### Steps to reproduce
`./bin/otbQgisDescriptor TrainGMMApp ./lib/otb/applications ./share/otb/description/`
### Configuration information
https://dash.orfeo-toolbox.org/viewBuildError.php?buildid=3183366.6.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1102Confirm dialog of OTB-application input image parameter not displayed2018-05-04T07:56:43ZSébastien DinotConfirm dialog of OTB-application input image parameter not displayed_[Mantis Issue 1102](https://bugs.orfeo-toolbox.org//view.php?id=1102), reported by salbert, assigned to gpasero, created: 2015-11-05_
Confirm dialog is not displayed when selecting the same file (see #1101) using the browse button.
Im..._[Mantis Issue 1102](https://bugs.orfeo-toolbox.org//view.php?id=1102), reported by salbert, assigned to gpasero, created: 2015-11-05_
Confirm dialog is not displayed when selecting the same file (see #1101) using the browse button.
Image used: .../QUICKBIRD/TOULOUSE/000000128955_01_P001_MUL/02APR01105228-M1BS-000000128955_01_P001.TIF
**2015-11-06 18:09 - gpasero:** I don't see any confirm dialog box with the otbgui_ExtractROI. This warning may not come from OTB QtWidget.6.6.0