Have not tried, that's very odd. The standard way is using ' '
Agus

On Wed, Sep 2, 2015 at 3:03 PM, Guillaume Pasero
<[email protected]> wrote:
> Hi,
>
> Have you tried the standard way : using '\ '
>
> You should try :
> otbcli_FineRegistration -ref /tmp/imain_4.tif -sec /tmp/imain_1.tif -out
> /home/alobo/mi\ tmp/IMG_0013FRX1.tif -erx 5 -ery 5 -mrx 100 -mry 100
> -ssrx 50 -ssry 50 -m MRSD
>
> Guillaume
>
>
> On 09/02/2015 09:09 AM, Agustin Lobo wrote:
>> Done.
>> By now I circumvent the problem using a soft link with no space in the path 
>> name
>> Agus
>>
>> On Wed, Sep 2, 2015 at 8:50 AM, Julien Michel <[email protected]> wrote:
>>> Hi,
>>>
>>> Can you file a bug report on this ? I think they should be accepted with
>>> quotes.
>>>
>>> Regards,
>>>
>>> Julien
>>>
>>>
>>> Le 02/09/2015 08:47, Agustin Lobo a écrit :
>>>>
>>>> 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.
>>>>
>>>> This is a simplified example:
>>>>
>>>> alobo@Delia:~$ mkdir "mi tmp"
>>>> alobo@Delia:~$ mkdir "mi_tmp"
>>>>
>>>> alobo@Delia:~$ otbcli_FineRegistration -ref /tmp/imain_4.tif -sec
>>>> /tmp/imain_1.tif -out '/home/alobo/mi tmp/IMG_0013FRX1.tif' -erx 5
>>>> -ery 5 -mrx 100 -mry 100 -ssrx 50 -ssry 50 -m MRSD
>>>>
>>>> ERROR: Troubles loading parameter, please check your line argument...
>>>>
>>>> Instead,
>>>> alobo@Delia:~$ otbcli_FineRegistration -ref /tmp/imain_4.tif -sec
>>>> /tmp/imain_1.tif -out '/home/alobo/mitmp/IMG_0013FRX1.tif' -erx 5 -ery
>>>> 5 -mrx 100 -mry 100 -ssrx 50 -ssry 50 -m MRSD
>>>>
>>>> works fine.
>>>>
>>>> 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.
>>>>
>>>> Any trick for making these path names be accepted in otbcli apps?
>>>>
>>>> Agus
>>>>
>>>
>>>
>>> --
>>> Julien MICHEL
>>> CNES - DCT/SI/AP - BPI 1219
>>> 18, avenue Edouard Belin
>>> 31401 Toulouse Cedex 09 - France
>>> Tel: +33 561 282 894 - Fax: +33 561 283 109
>>>
>>> --
>>> --
>>> Check the OTB FAQ at
>>> http://www.orfeo-toolbox.org/FAQ.html
>>>
>>> You received this message because you are subscribed to the Google
>>> Groups "otb-users" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/otb-users?hl=en
>>> --- You received this message because you are subscribed to the Google
>>> Groups "otb-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> <www.c-s.fr>    *Guillaume PASERO*
> Ingénieur d'études et développement
> *Business Unit E-SPACE & Geo Information*
> <https://thor.si.c-s.fr/blogs/cs-blogs-business/>*- Département
> APPLICATIONS*
>
> *CS Systèmes d'Information*
> Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
> 31506 Toulouse Cedex 05 - FRANCE
> +33 561 17 64 21 - [email protected]
>
> --
> --
> Check the OTB FAQ at
> http://www.orfeo-toolbox.org/FAQ.html
>
> You received this message because you are subscribed to the Google
> Groups "otb-users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/otb-users?hl=en
> ---
> You received this message because you are subscribed to the Google Groups 
> "otb-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to