qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.52k stars 2.99k forks source link

Mesh calculator crashes with face datasets #29746

Closed qgib closed 5 years ago

qgib commented 5 years ago

Author Name: Saber Razmjooei (@saberraz) Original Redmine Issue: 21931 Affected QGIS version: 3.7(master) Redmine category:mesh_layers Assignee: Peter Petrik


To reproduce the issue: 1- Open QGIS 2- Add a mesh 3- Go to Mesh calculator 4- Try to write an expression...as soon as you add a quantity, it will freeze and eventually will crash QGIS

Both in master and QGIS 3.6.2. Works fine in QGIS 3.4

qgib commented 5 years ago

Author Name: Peter Petrik (@PeterPetrik)


it can be replicated with hecras2d datasets https://github.com/lutraconsulting/MDAL/tree/master/tests/data/hec2d/2areas

qgib commented 5 years ago

Author Name: Peter Petrik (@PeterPetrik)


https://github.com/qgis/QGIS/pull/9875


qgib commented 5 years ago

Author Name: Peter Petrik (@PeterPetrik)


qgib commented 5 years ago

Author Name: Peter Petrik (@PeterPetrik)


Applied in changeset 4aaa523977c9ec74ddb2e92f704eaa30d16d5121.


qgib commented 5 years ago

Author Name: Peter Petrik (@PeterPetrik)


also backported to 3.6 https://github.com/qgis/QGIS/pull/9897