Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mandatory fields and Register for it #508

Open
Kay-Korrodi opened this issue Dec 16, 2024 · 3 comments
Open

Mandatory fields and Register for it #508

Kay-Korrodi opened this issue Dec 16, 2024 · 3 comments

Comments

@Kay-Korrodi
Copy link

Kay-Korrodi commented Dec 16, 2024

I use the new qgis Project for TWW and i saw that there are no manatory fields and for easy editing there could be a register with all the needed fields for interlis

i made one as idea how it could be done.

vw_tww_wastwater_structure:
Screenshot 2025-01-08 112517

vw_tww_reach:
Screenshot 2025-01-08 112140

@sjib
Copy link
Contributor

sjib commented Dec 17, 2024

Do we have to add this manually to the project file or is there a way to load some kind of configuration file?

@urskaufmann
Copy link
Contributor

My idea of the Allgemein-Tab: this are attributs, that are normally filled. So all mandatory attributs should be an this tab.

To sign the really mandatory attributes, we can use color and/or font-stil of the attribute name (fix definition, no option to calculated a condition) or with the not-null-constraints, as in the example above (in the example the constraints seem to be enforced, so the OK-button is disabled until all constraints are ok).
In the ili-Definition, only Identifier, Obj_ID, dataowner, provider and last_modification are mandatory and therefor a problem for import or export. All other definitions "Minimalumfang" are not mandatory. Shall we show mandatory or minimalumfang-definition?

If you make a new separate tab and you use also multiedit, you will have to delete the attributes an the other tabs, that would be more than once in the form, because multiedit saves only changes, that are on the last tab (QGIS 3.34).

I think this is manual configuration.
And I think, that not all users have the same needs.
I think, we should describe the configuration for mandatory fields in the doku, so users can change the Allgemein/General Tab thereself

@Kay-Korrodi
Copy link
Author

Kay-Korrodi commented Dec 17, 2024

Well the problem is you have two kind of mandatory fields that are needed:

  1. For the interlis
  2. For the gep-ingenieur

in my opinion it must be that you cant save the manhole or the pipe till there are all needed informations filled... and atleast one needed information is not in the register Allgemein like Abwasserbauwerk / Finanzierung

otherwise you have the same situation like you have in geonis that there are a lot fields needed but not filled, it means extra work to fix all that kind of informations till you can start to work as gep Ingenieur. thats not what is needed for a good workflow isent it?

i made that register on my owne because i wantet tho show all needed attributes :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants