nens / threedi-schematisation-editor

QGIS tool for editing schematisations
0 stars 0 forks source link

Huge numbers are filled in when adding a cross section locations #139

Closed leendertvanwolfswinkel closed 1 year ago

leendertvanwolfswinkel commented 1 year ago

UPDATE I suspect it has something to do with empty fields being filled by infinity = float("inf")

See this video:

https://user-images.githubusercontent.com/26224299/234653022-ac8257d2-a48e-467c-b0ea-ea25358f3748.mp4

This geopackage can be used to reproduce the issue: centrum_pilot_verbeterd.zip

QGIS version 3.28.5-Firenze QGIS code revision 50adba36f2 Qt version 5.15.3 Python version 3.9.5 GDAL/OGR version 3.6.3 PROJ version 9.2.0 EPSG Registry database version v10.082 (2023-02-06) GEOS version 3.11.2-CAPI-1.17.2 SQLite version 3.41.1 PDAL version 2.5.2 PostgreSQL client version unknown SpatiaLite version 5.0.1 QWT version 6.1.6 QScintilla2 version 2.13.1 OS version Windows 10 Version 2009

Active Python plugins plugin_reloader 0.9.3 profiletool 4.2.5 quick_map_services 0.19.33 ThreeDiCustomizations 1.2.6 ThreeDiToolbox 2.5.2 threedi_beta_processing 0.5.0 threedi_models_and_simulations 3.4.5 threedi_schematisation_editor 1.4 valuetool 3.0.15 db_manager 0.1.20 grassprovider 2.12.99 MetaSearch 0.3.6 processing 2.12.99 sagaprovider 2.12.99

leendertvanwolfswinkel commented 1 year ago

Here is another (different but similar) case. One odd thing I noticed is that once I empty the bank level widget, the width and height widget become enabled.

https://user-images.githubusercontent.com/26224299/234659290-d60bd75f-fb00-401c-a7f8-8aef438b60e5.mp4

leendertvanwolfswinkel commented 1 year ago

Here some more examples. I must say I can't really grasp what's going on here, seems to be slightly different every time

https://user-images.githubusercontent.com/26224299/234661945-d04d92ac-2a36-413f-896e-b8ce66eb5ca8.mp4

leendertvanwolfswinkel commented 1 year ago

The problem is not limited to cross section locations. Here is an example for Orifice:

https://user-images.githubusercontent.com/26224299/234662717-8a06967c-7ca9-40a8-9f34-3ae74e2c676a.mp4