[QGIS-Developer] Problems in running OTB

Áron Gergely aron.gergely at rasterra.nl
Thu Dec 5 02:38:52 PST 2019


I added my note to the OTB gitlab issue here:
https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/issues/2001

Best regards,
Aron

On 04/12/2019 17:11, Paolo Cavallini wrote:
> I can confirm it works, but not out of the box: without adding a
> filename for raster and vector output I get the error described.
> There is a crash due to specific geometry issue, as reported, but this
> is related to specific data (available for testing if useful).
> Cheers.
>
> Il 04/12/19 17:05, Pedro Venâncio ha scritto:
>> Hi Paolo,
>>
>> Tested here in Ubuntu Xenial, both with OTB 7.0.0 or 6.6.1, and QGIS
>> 3.4.13 (OTB plugin), everything works, but with the issues reported by Aron.
>>
>> Best regards,
>> Pedro
>>
>>
>> Paolo Cavallini <cavallini at faunalia.it <mailto:cavallini at faunalia.it>>
>> escreveu no dia quarta, 4/12/2019 à(s) 15:44:
>>
>>      Thanks for the feedback. Could you please add your notes to the ticket
>>      https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/issues/2001 ?
>>      Cheers.
>>
>>      Il 04/12/19 14:42, Áron Gergely ha scritto:
>>      > 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> <mailto: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>
>>      <http://www.faunalia.eu>
>>      >>     QGIS.ORG <http://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>
>>      <mailto: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
>>      <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
>>      >
>>      > --
>>      > Email Signature Kind Regards,
>>      >
>>      > Áron Gergely
>>      > +31 (0) 6 38 70 97 66
>>      >
>>      > *Rasterra* | www.rasterra.nl <http://www.rasterra.nl>
>>      <https://www.rasterra.nl>
>>      >
>>      > _______________________________________________
>>      > 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
>>      >
>>
>>      --
>>      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
>>
-------------- 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/20191205/415ddd3d/attachment.vcf>


More information about the QGIS-Developer mailing list