ExtractRoi OTB 7.0 does not work in fit mode with shape file
The tool ExtractRoi using fit mode with vector works well with otb 6.6.1 but not with 7.0.0 (fit with raster is however working well).
I have the problem over Ubuntu 18.04 (standard instaler) but for testing with different version of OTB I use it over Windows 10. At the end the problem is the same over Windows or Ubuntu
Please find detailed description after the screenshot that show results
OTB 6.6.1 (Windows 10 version using Gui) Work Well
Log : Version:1.0 StartHTML:0000000107 EndHTML:0000002296 StartFragment:0000000538 EndFragment:0000002260
2020-02-25 14:45:07 (INFO): otbcli_ExtractROI.bat -in Z:/Tmp/S1DatasetTest/Data/zip/S1B_IW_GRDH_1SDV_20170425T214234_20170425T214302_005323_00953E_F02D.SAFE/measurement/s1b-iw-grd-vh-20170425t214234-20170425t214302-005323-00953e-002.tiff -out Z:/Tmp/S1DatasetTest/Out/test/clip.tif float -mode fit -mode.fit.vect Z:/Tmp/S1DatasetTest/Data/StudyArea/StudyArea.shp -ram 128
2020-02-25 14:45:07 (INFO): Default RAM limit for OTB is 128 MB 2020-02-25 14:45:07 (INFO): GDAL maximum cache size is 83 MB 2020-02-25 14:45:07 (INFO): OTB will use at most 3 threads 2020-02-25 14:45:37 (INFO): Execution took 29.436 sec
OTB 7.0 (Windows 10 version using Gui)
Version:1.0 StartHTML:0000000107 EndHTML:0000002067 StartFragment:0000000538 EndFragment:0000002031
2020-02-25 14:52:58 (INFO) ExtractROI: Default RAM limit for OTB is 256 MB 2020-02-25 14:52:58 (INFO) ExtractROI: GDAL maximum cache size is 83 MB 2020-02-25 14:52:58 (INFO) ExtractROI: OTB will use at most 3 threads 2020-02-25 14:52:59 (WARNING) ExtractROI: Could not extract the ROI as it is out of the input image. 2020-02-25 14:53:22 (INFO) ExtractROI: Execution took 23.51 sec