-
Notifications
You must be signed in to change notification settings - Fork 5
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
Missing classes INTERLIS VSA-DSS 2020 Import / Export #98
Comments
should be fixed in last plugin demo, please re-open if needed |
@domi4484 I still don't see e.g. classes like catchment_area, log_file etc. etc. in the configuration scripts (correct me if I checked the wrong branch) Based on the ilivalidator check stats you should get the following classes and number of objects imported:
|
@sjib sorry i see I added only a small subset, no there isn't any other branch. Now I am adding (hopefully) all the missing classes and I am missing some matches. What is the TEKSI corresponding of:
Waht is the Interlis corresponding of:
|
@domi4484 So you don't have to invent any translation youself of the datamodel. For any other terms I can help you. Förderaggregat is |
|
Datamodel DEREFERABLE: Currently the following attributes have DEREFERABLE in the teksi wastewater datamodel (based on VSA-DSS 2020.1) :
@domi4484 As we have to import organisation first anyway, why did you set fk_owner, fk_operator, fk_dataowner and fk_provider as DEREFERABLE ? @domi4484 When finalizing the configuration for VSA-DSS 2020 I would suggest to check, if it would make sense to also set the following fk attributes as DEREFERABLE :
and if you think links on organisation still need to be DEREFERABLE also:
I do not know how much resources or time it costs if there are additional attributes set as DEREFERABLE and if there could be conflicts if there are too many. |
@sjib probably you are right and it could be removed again for those. |
qgep qwat to ili is added as not submodule Remove timeout option. Fix #76 Show logs button visible only if log_path is set Add missing DSS classes. Fix #98 remove profile action Update plugin/teksi_wastewater/interlis/interlis_importer_exporter.py remove libs from source [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci fix sudo plugin-ci no sudo
@domi4484 There is still the class reach_progression_alternative missing and should be added to INTERLIS Import and Export: Haltung_AlternativVerlauf (reach_progression_alternative)
If I read the code right it should be like this and I would add it after the #TEXTS block here: wastewater/plugin/teksi_wastewater/interlis/interlis_model_mapping/model_interlis_sia405_abwasser.py Line 165 in fd78330
Plus adding it to the other files of import / export configuration. Corrected datamodel for reach_progression_alternative see pull request #110 |
Import/export missing classes Fixes #98 Note: commit of the sql session is very slow. Expect some minutes waiting after closing the import selection dialog
@domi4484 For VSA-DSS 2020 INTERLIS Import / Export I find only two additional classes wastewater_treatment_plant and wwtp_structure (compared to SIA405 Abwasser) in the matching configuration:
INTERLIS Import:
wastewater/plugin/teksi_wastewater/interlis/interlis_model_mapping/interlis_importer_to_intermediate_schema.py
Line 160 in 4d4b863
INTERLIS Export:
wastewater/plugin/teksi_wastewater/interlis/interlis_model_mapping/interlis_exporter_to_intermediate_schema.py
Line 155 in 4d4b863
Am I checking on the wrong branch or where are all others?
The text was updated successfully, but these errors were encountered: