qwat / qwat-data-model

TEKSI Water module (project QWAT) - PostgreSQL / postgis Datamodel
https://www.teksi.ch
23 stars 24 forks source link

Inheritance of attributes on nodes #359

Closed benoitblanc closed 1 year ago

benoitblanc commented 2 years ago

This PR aims to set some attributes to nodes regarding connected pipes.

This concerns only node table.

There are several attributes to inherit from connected pipes :

ponceta commented 1 year ago

Looks almost fine, I'll be happy to test it soon.

@benoitblanc could you have a look at the CI tests that are now failing because of our adaptations.

https://github.com/qwat/qwat-data-model/tree/master/tests

benoitblanc commented 1 year ago

Hi @ponceta sorry for the delay, I have missed notification.

I pushed new commits to have tests succeeded. I think it is ready to test :smile:

ponceta commented 1 year ago

Delta files have to be renamed to 1.4.0_XXX since we won't push a 1.3.7 version.

ponceta commented 1 year ago

Feels good on QGIS. Once we push this it would be nice to update the qgs project with these modifications.

Here a sample of how it looks in a form : Multiple distributors connected on a single Node, Status prioritized.

image