Spacers in path names not accepted even within quotes
Mantis Issue 1062, reported by sdinot, assigned to gpasero, created: 2015-09-02
At least otbcli_FineRegistration has trouble to deal with path names that include an space, even if the path name is provided within ' ' I know having spaces in path names is an unnecessary complication but some external drives get that kind of name automatically.
Note that commands such as gdal_translate -b 4 -co PROFILE=BASELINE '/home/alobo/mi tmp/IMG_0013.tif' /tmp/imain_4.tif
or simply alobo@Delia:~$ cp '/media/alobo/FREECOM HDD/Iomega_HDD/FLUXPYR/Bertolina20150709/Bert20150709Mic/MultiMica/IMG_0013.tif' '/home/alobo/mi tmp'
work fine.
1441199567 - gpaseroI have tried to reproduce the bug with development trunk (02d3149f). I tried 3 formulations with the Convert application :
mkdir space\ dir otbcli_Convert -in test.tif -out space\ dir/output.tif uint32 otbcli_Convert -in test.tif -out 'space dir/output.tif' uint32 otbcli_Convert -in test.tif -out "space dir/output.tif" uint32
All 3 formulations worked fine. What is the OTB version you are using ?
1447147988 - julienUnable to reproduce with trunk