Ribasim icon indicating copy to clipboard operation
Ribasim copied to clipboard

Adding nodes in QGIS lets users add the same node_id multiple times

Open deltamarnix opened this issue 1 year ago • 3 comments

If you add a node, in the feature attributes table you can set the same node_id twice. This could be detected by QGIS before pressing OK.

See: https://gis.stackexchange.com/questions/339737/populating-text-field-with-predefined-attributes-in-qgis

deltamarnix avatar Aug 02 '24 12:08 deltamarnix

I edited the attribute forms via QGIS, but it is saved in the project file. I am going to guess that editing the TABLE information on creation can be detected by QGIS, but the other way around it doesn't seem to be altered into the geopackage by QGIS.

deltamarnix avatar Aug 02 '24 12:08 deltamarnix

The same issue holds for node_type. The default is NULL and therefore you get white dots instead of basins (or something else).

image

deltamarnix avatar Aug 02 '24 12:08 deltamarnix

~~Just want to add that it is currently the combination of node_id and node_type that needs to be unique.~~ For that combination this issue remains. Name can be duplicated.

visr avatar Aug 05 '24 07:08 visr