javimarlop / sextante

Automatically exported from code.google.com/p/sextante
0 stars 1 forks source link

Problem with ROI parameter in Sextante with OTB applications #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use RC1 otb application package from here : 
http://www.orfeo-toolbox.org/packages/nightly/2012-06-30/otb-bin-3.14.0-20120630
-1.tar.bz2
2. use QGIS 1.8 and last development version of sextante  
3. Use a application for example the LineSegmentDetection app in QGIS/sextante

I get the following error message :
OTBAlgorithm instance has no attribute 'hasROI'
Traceback (most recent call last):
  File "C:/Users/msavinau/.qgis//python/plugins\sextante\core\GeoAlgorithm.py", line 116, in execute
    self.processAlgorithm(progress)
  File "C:/Users/msavinau/.qgis//python/plugins\sextante\otb\OTBAlgorithm.py", line 105, in processAlgorithm
    if self.hasROI:
AttributeError: OTBAlgorithm instance has no attribute 'hasROI'

However the Smoothing application works.  
I need to update the version of sextante to rev 248 to avoid the problem. (it 
is just before the commit about otb: region of interest)

Original issue reported on code.google.com by savmick...@gmail.com on 2 Jul 2012 at 2:44