Recently we get enormous amount of spam registration. We have closed the registration for new members, sorry...
0 votes
by (120 points)
I try to export in HECRAS a model 2D with only three layers: DTM, flowarea2d and 2Dbreaklines.

I receive an error message at line 137 of code "":

137, in spatial_extent                       box_min = box[box.index('(')+1:box.index(',')].split()

                                                      AttributeError: 'NoneType' object has no attribute 'index'

1 Answer

0 votes
by (3.8k points)
Hi Elvis,

Thanks for your report. There is a (wrong) assumption that each model contains some 1D data. I have created a ticket for that on GitHub (

As a workaround, you could create a dummy 1D reach with 2 xsections to enable the export to SDF.
Welcome to RiverGIS Q&A, where you can ask questions and receive answers from other members of the community.

Visit for documentation and general info about the QGIS plugin.