Closed FLO-2DKaren closed 2 weeks ago
Started working on this.
The vertices code is almost ready. I found a bug that it is not importing one junction on that UEFCC project.
@FLO-2DKaren do you have another project that have VERTICES?
Since I got this error with the UEFCC, I want to do more testing.
@FLO-2DNoemi
Noemi,
Does Metro have VERTICES?
It is done. Please, see the video:
https://flo-2d.sharefile.com/d-s36c0f6b420404713838db06c37d9aeb0
On PL https://github.com/FLO-2DSoftware/qgis-flo-2d-plugin/pull/1366/
Might not be an issue but I got this error when I loaded this plugin.
SyntaxError: expected 'except' or 'finally' block Traceback (most recent call last): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 426, in _startPlugin plugins[packageName] = package.classFactory(iface) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\flo2d__init__.py", line 19, in classFactory from .flo2d import Flo2D File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 923, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\flo2d\flo2d.py", line 99, in from .gui import dlg_settings, f2d_main_widget File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 923, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\flo2d\gui\f2d_main_widget.py", line 25, in from .storm_drain_editor_widget import StormDrainEditorWidget File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 923, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\flo2d\gui\storm_drain_editor_widget.py", line 77, in from ..flo2d_ie.swmm_io import StormDrainProject File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 923, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\flo2d\flo2d_ie\swmm_io.py", line 1078
^
SyntaxError: expected 'except' or 'finally' block
@FLO-2DNoemi Do you happen to have the grid system for those? We can't import them without building a dataset first. Load them through sharefile if you have them.
@FLO-2DNoemi I'll share that link privately. This repo is open to anyone.
I will take all of Noemi's projects and port them into a geopackage so we can test imports.
Import / Export the Vertices group in the inp file. Import data. Export data comes from links layers. Look if swmm.io has vertices code.