nens / threedi-schematisation-editor

QGIS tool for editing schematisations
0 stars 0 forks source link

Breaches and exchange lines in the Schematisation Editor #92

Closed leendertvanwolfswinkel closed 1 year ago

leendertvanwolfswinkel commented 1 year ago

3Di Schematisation Editor:

leendertvanwolfswinkel commented 1 year ago

Styling files available here: style.zip

Example of these stylings (with and without DEM background): MicrosoftTeams-image (1)

MicrosoftTeams-image (2)

leendertvanwolfswinkel commented 1 year ago

Layer order should be: image

ldebek commented 1 year ago

@leendertvanwolfswinkel Could you please provide me (or point me to) example schematisation .sqlite file with a new feature types?

leendertvanwolfswinkel commented 1 year ago

If you migrate a spatialite using the newest version of threedi-schema (which has been separated out from threedi-modelchecker), the tables will be created.

So perhaps the best thing to do is to first implement the other ticket about bumping the versions, so it is easier to migrate the spatialites.

ldebek commented 1 year ago

@leendertvanwolfswinkel But that won't give me any features to import right? But anyway - is it confirmed that threedi-schema module need to be added to the plugins dependencies?

leendertvanwolfswinkel commented 1 year ago

First question: I have asked @caspervdw if he can provide an example schematisation with features in the potential_breach and exchange_line tables.

Second question: yes

leendertvanwolfswinkel commented 1 year ago

@ldebek you can use either of the two sqlites below for testing the breaches. I'm not sure if the v2_exchange_line table contains any features, but you can just add a few. They are supposed to be drawn more or less parallel to the channel they belong to, with a maximum of 1 exchange line per channel if the channel's calculation type is 'connected', or 2 if the calculation type is 'double connected'

v2_bergermeer.zip overstroming_vanuit_markermeer.zip

ldebek commented 1 year ago

PR: https://github.com/nens/threedi-schematisation-editor/pull/111

leendertvanwolfswinkel commented 1 year ago

Tested it and it all seems to work great. However, some important fixes are needed in the attribute forms

ldebek commented 1 year ago

@leendertvanwolfswinkel Requested fixes applied.

leendertvanwolfswinkel commented 1 year ago

Excellent