Re: [otb-users] Error 4, in the Segmentation toolbox.

2018-02-02 Thread Guillaume Pasero

  
  
Hi,
It looks like OTB can't write an image on your disk:

  Is your disk full?
  Do you have write permission in the output directory?
  What is your current working directory?
  

Regards,
Guillaume

On 01/30/2018 04:39 PM, omar alvear
  wrote:


  Hi alls,


When I use the tool "exact large-scale mean-shif
  segmentation, step 2.
I get the following error:

  
  
  ERROR 4: Attempt to create new tiff file
`elpasosegmento_0_0_SEG.tif' failed: Permission denied 
  2018-01-30 13:20:25 (INFO): Number of
tiles: 2 x 1 
  2018-01-30 13:20:25 (INFO): Tile
shifting ... 
  2018-01-30 13:20:26 (FATAL): itk::ERROR:
GDALImageIO(022A6C5F8FE0): Attempt to create new
tiff file `elpasosegmento_0_0_SEG.tif' failed:
Permission denied
   
  Could
  someone explain why this happens?
  
  thank
  Omar
  Alvear

  
  -- 
  -- 
  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.


[otb-users] Re: Problem with otbcli_ExtractROI -mode.fit.vect

2018-02-02 Thread Cesar DB
Great!
Thank you!

Le mercredi 31 janvier 2018 11:17:47 UTC+1, remicres a écrit :
>
> Hi César,
>
> The bug has been corrected (otb >= 6.4.0).
> Regards,
>
> Rémi
>
> Le jeudi 25 janvier 2018 10:25:22 UTC+1, remicres a écrit :
>>
>> Hi César,
>>
>> There is a bug with mode.fit.vect. This will be corrected very soon, but 
>> right now you can use this workaround:
>> -Use otbcli_Rasterization to generate a temporary image 
>> -Use ExtractROI to extract using mode.fit.im over the temporary image
>>
>> Rémi
>>
>>
>> Le mercredi 24 janvier 2018 15:36:16 UTC+1, Cesar DB a écrit :
>>>
>>> Hi all,
>>>
>>> I intend to crop an image (im_large.tif) to the extent of a polygon 
>>> (mask.shp).
>>> The function otbcli_ExtractROI fails to do it.
>>> I tested the function to crop image_large.tif to the extent of a smaller 
>>> image (im_small.tif).
>>> This operation succeeds. 
>>>
>>> OTB="/home/dc/Documents/OTB-6.2.0-Linux64/bin"
>>> $OTB/otbcli_ExtractROI -in im_large.tif -mode fit -mode.fit.vect 
>>> mask.shp -out ./im_crop2shp.tif
>>> 2018-01-24 15:03:52 (FATAL): itk::ERROR: Failed to open GDALDataset file 
>>> im_large.tif : 
>>>
>>> $OTB/otbcli_ExtractROI -in im_large.tif -mode fit -mode.fit.im 
>>> im_small.tif -out ./im_crop2im.tif
>>> Writing ./im_crop2im.tif...: 100% 
>>> [**] (0.01 seconds)
>>> Output parameters value:
>>> startx: 3
>>> starty: 5
>>> sizex: 5
>>> sizey: 4
>>>
>>> Original images are Pléiades', mapprojected and cropped for the example 
>>> (EPSG:32611).
>>> I use the binaries of OTB downloaded from the website.
>>> Simple view of the images and mask is in general_view.png.
>>>
>>> Did I do something wrong?
>>>
>>> Thanks for any help!
>>>
>>> César Deschamps-Berger
>>>
>>

-- 
-- 
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.