Open sjib opened 8 months ago
@sjib I have made a better error message than the python exception for the moment. Not sure if there are more references that should be checked. see commit e8941bc
another check: what happens, if there are unsaved records in the project? I think, the export tool should not start, if there are layers in edit-mode, but tell the user to save all editing.
Invalid owner reference for object xxx of type kanal
- as a user I first would think of that I have not chosen a valid organisation and not that it is missing (technically this might be the same).
@domi4484 The following checks as preprocess with INTERLIS export are missing in the new version of the plugin and should be added also:
Checking if attribute identifier is Null documentation see https://github.com/QGEP/qgepqwat2ili/issues/90#issuecomment-1514905725 Code see qgepqwat2ili latest version
def check_identifier_null():
The same code structure could easily be used for a dataowner and provider check (to avoid these kind of missing dataherr datenlieferant errors on export). List of classes is provided here
Checking if subclass entries of wastewater_structure are set and match number of wastewater_structure entries - see qgepqwat2ili latest version
Checking if subclass entries of organisation are set and match number of organisation entries - not needed anymore, as there are no more subclasses in organisation, but code structure is similar for all subclass checks Screenshot GUI see https://github.com/QGEP/qgepqwat2ili/issues/116#issuecomment-1492563557