BASEMENTBasic Simulation Environment for computation of environmental flow and natural hazard simulationLaboratory of Hydraulics, Hydrology and Glaciology (VAW)ETH Zurich |
You are not logged in.
Pages: 1
Hi everyone
I tried to generate an elevation mesh out of a few 3D-Points and got the Error below.
I have transformed de 2D-points to 3D-Datapoints with the tool in the QGIS processing toolbox as explaind in the User Manual for v2.0.
I use QGIS 3.16.4.
Is there a Bug in my Data or is it in the Basemesh?
Thanks for your help.
Traceback (most recent call last):
File "C:/Users/dz/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\basemesh\plugin\gui\worker.py", line 88, in run
value = self.target(self.feedback, *self.args, **self.kwargs)
File "C:/Users/dz/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\basemesh\plugin\gui\elevmesh.py", line 251, in worker
mesh.save(filename, num_materials=0)
File "C:/Users/dz/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\basemesh\core\mesh.py", line 886, in save
num_materials = len(next(iter(self.elements)).materials)
StopIteration
Last edited by davidz (2021-06-07 09:06:57)
Offline
Hi david
it looks to me as if there is a problem in the definition of the material indexes in your quality mesh. How did you generate the quality 2dm?
Best
Matteo
Offline
Hi Matteo
There isn't a Quality Mesh so far.
I just tried to generate a elevation-mesh out of the 3D-points with the "Elevation meshing"-Tool.
Afterwards I wanted to try the interpolation with a small elevation-mesh and additional raster-data.
But the meshing of the 3D-points didn't work.
David
Offline
Sorry, david. I got it all wrong.
I have no experience with the elevation meshing tool, but I see that it requires for segments?
Try to use a geopackage layer where features are SingleLine and that includes the Z coordinate.
Best
Offline
Pages: 1