[QGIS-Developer] Problems in running OTB

Áron Gergely aron.gergely at rasterra.nl
Wed Dec 4 05:42:20 PST 2019


Hi Paolo and list,

I am using the Segmentation algorithm on Linux without major problems. 
(OTB 6.6 and now 7.0 with QGIS 3.10).  But indeed it does not work out 
of the box:
Even when raster output does not not apply to the Segmentation alg , a 
"bogus" value would have to be entered in the output box to avoid an 
exception and get the alg running.

Also, the OTB processing provider settings interface has some issues:
when I try to change configuration values (namely the amount of max RAM 
), I get an error " argument has unexpected type  'int' "

Best regards,
Aron


On 04/12/2019 13:23, Pedro Venâncio wrote:
> Hi Paolo,
>
> I'm using OTB (6.6.1 and 7.0.0) with QGIS 3.10.0, without any problem, 
> but I'm on Windows.
>
> About the issues you reported (".raster.out.tif" and vectors not being 
> loaded), I think this thread can explain almost all of them (I had the 
> same doubts some time ago):
>
> https://gitlab.orfeo-toolbox.org/orfeotoolbox/qgis-otb-plugin/issues/30
>
> Best regards,
> Pedro Venâncio
>
>
> Paolo Cavallini <cavallini at faunalia.it <mailto:cavallini at faunalia.it>> 
> escreveu no dia terça, 3/12/2019 à(s) 12:00:
>
>     Moreover, the vector resulting vector layer is not automatically
>     loaded.
>     Cheers.
>
>     Il 03/12/19 12:44, Paolo Cavallini ha scritto:
>     > Hi all,
>     > OTB algs apparently do not work on QGIS 3.10 out of the box:
>     >
>     > * if a raster output is not explicitly selected I get an error:
>     > “.raster.out.tif” files are not supported as outputs for this
>     algorithm
>     >
>     > * if a vector output  is not explicitly selected (with
>     filename.ext) I
>     > get another error:
>     > 2019-12-03 12:30:43 (FATAL) Segmentation: itk::ERROR: No OGR driver
>     > known to OTB to create and handle a DataSource named
>     >
>     </tmp/processing_1845b856b9b44fa79bd7d1f2f834ffa0/processing_5bc31a5446744fff806de1d05d4b0240/4083978a97c840adbe135f8409847bfd/mode.vector.out.file>.
>     >
>     > If confirmed I can open two tickets.
>     >
>     > Additionally (but this must be done by OTB itself, nothing to do
>     with QGIS):
>     >
>     > ERROR 1: TopologyException: Input geom 1 is invalid: Ring
>     > Self-intersection at or near point 1651438.0098749998
>     4818821.1863940004
>     > at 1651438.0098749998 4818821.1863940004
>     >
>     > Cheers.
>     >
>
>     -- 
>     Paolo Cavallini - www.faunalia.eu <http://www.faunalia.eu>
>     QGIS.ORG <http://QGIS.ORG> Chair:
>     http://planet.qgis.org/planet/user/28/tag/qgis%20board/
>     _______________________________________________
>     QGIS-Developer mailing list
>     QGIS-Developer at lists.osgeo.org <mailto:QGIS-Developer at lists.osgeo.org>
>     List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>     Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
Email Signature Kind Regards,

Áron Gergely
+31 (0) 6 38 70 97 66

*Rasterra* | www.rasterra.nl <https://www.rasterra.nl>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20191204/64f77ff7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aron_gergely.vcf
Type: text/x-vcard
Size: 4 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20191204/64f77ff7/attachment.vcf>


More information about the QGIS-Developer mailing list