teksi / wastewater

[DEV] Future TEKSI wastewater module, adapted data model to fit VSA-DSS 2020 new standard
https://teksi.github.io/wastewater
GNU General Public License v3.0
1 stars 5 forks source link

Test VSA-KEK 2020.1 import #305

Open sjib opened 2 months ago

sjib commented 2 months ago

Describe the task Importing the following dataset VSA-KEK data minimal-dataset-transferdatensatz_VSA-KEK-manhole-damage.zip

(adaption of plugin/teksi_wastewater/tests/data/minimal-dataset-VSA-KEK-manhole-damage.xtf for the VSA Transferdatensatz) with AbwasserbauwerkRef replaced AbwasserbauwerkRef REF="ch000000WS000001" with AbwasserbauwerkRef REF="ch080qwzNS000067" - this is Abwasserbauwerk with identifier 1.040

To Reproduce Exact steps to reproduce the behavior:

  1. Use latest TEKSI Wastewater and import organisations and Transferdatensatz VSA

  2. Go to 'INTERLIS Import'

  3. Select new dataset minimal-dataset-transferdatensatz_VSA-KEK-manhole-damage.xtf to add VSA-KEK data to test VSA-KEK import

  4. Launch import

  5. Adapt absolute file path for data_media, to fit your local system and save with "Set"

  6. 20240712_import_kek_adapt_path2_set_ok 20240712_import_kek_adapt_path

  7. Finish import process

  8. Check entries in table file

Expected behavior A clear and concise description of what you expected to happen.

Data import works

Screenshots / data If applicable, add screenshots or data to help explain your problem. 20240712_kek_import_additional_file_dataset_created

sjib commented 2 months ago

20240712_kek_import_re_erhaltungserreignis_abwasserbauwerk

Entry in RE_Table looks ok

sjib commented 2 months ago

Correction: It was not an error on import - that data set already existed. Everything ok for import.

sjib commented 2 months ago

20240712_kek_import_tab_maintenance

sjib commented 2 months ago

20240712_tab_file_empty

File tab is still empty also with todays latest qgs file

sjib commented 2 months ago

https://github.com/teksi/wastewater/issues/272

urskaufmann commented 2 months ago

It works, if there is no value in attribute file.classname. If there is an entry in attribute classname, it works not. Don't no why. Is Attribute classname necessary?

sjib commented 2 months ago

It works, if there is no value in attribute file.classname. If there is an entry in attribute classname, it works not. Don't no why. Is Attribute classname necessary?

@urskaufmann Does the import work without file.classname or the display in tab file?

urskaufmann commented 2 months ago

I have not tested the import. I have created new file records and do not know how the set the classname attribute. So there is no entry in this field. Then the display works