This is a difference between BSD and GNU implementations of
readlink command. I will try to find a more portable solution.
This comes from the file otbenv.profile , line 9 :
You can replace it by :
OTB_APPLICATION_PATH=$(cd "$OTB_APPLICATION_PATH"
2>/dev/null && pwd -P)
The behavior of pwd -P is the same on linux and MacOS.
Regards,
Guillaume
On 03/14/2017 09:52 AM, Agustin Lobo
wrote:
Thanks. I get that this is a Mac peculiarity, but does ti have any
effect on the result?
I will compare to the results on a linux machine as soon as I can.
Agus
On Tue, Mar 14, 2017 at 9:02 AM, Rashad wrote:
On Tuesday, March 14, 2017 at 8:59:56 AM UTC+1, Rashad wrote:
On Monday, March 13, 2017 at 5:59:43 PM UTC+1, alobo wrote:
When I run:
$
/Users/agustinlobo/Downloads/OTB-5.10.1-Darwin64/bin/otbcli_LSMSSegmentation
-in filtered_range100b.tif -inpos filtered_spat.tif -out
segmentation.tif uint32 -ranger 5 -spatialr 5 -minsize 0
I get:
readlink: illegal option -- f
usage: readlink [-n] [file ...]
Then the process continues and complete.
This message is not printed by
$
/Users/agustinlobo/Downloads/OTB-5.8.0-Darwin64/bin/otbcli_LSMSSegmentation
What does the readlink message mean? is the result correct despite the
message?
can you tell where this readlink message comes from. the shell scripts
must be in posix and readlink shouldn't be there.
SO has a better explanation for your error and here it is..
http://stackoverflow.com/questions/1055671/how-can-i-get-the-behavior-of-gnus-readlink-f-on-a-mac
Thanks
Agus
--
--
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 otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Guillaume PASERO
Responsable technique
Business Unit ESPACE & GeoInformation -
Département Payload Data & 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 - guillaume.pas...@c-s.fr
--
--
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 otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.