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

Add AG-xx docs #315

Merged
merged 2 commits into from
Jul 16, 2024
Merged

Add AG-xx docs #315

merged 2 commits into from
Jul 16, 2024

Conversation

cymed
Copy link
Contributor

@cymed cymed commented Jul 16, 2024

Pushing the AG-xx docs here in order to translate them in transifex

cymed and others added 2 commits July 16, 2024 15:21
Pushing the AG-xx docs here in order to translate them in transifex
@cymed cymed requested a review from ponceta July 16, 2024 13:27
@cymed cymed marked this pull request as ready for review July 16, 2024 13:27
@cymed cymed merged commit a0793d2 into teksi:main Jul 16, 2024
3 checks passed
* GEPMassnahme is mapped to ``tww_od.measure``
* VersickerungsbereichAG is mapped to ``tww_od.infiltration_zone``

Wherever possible, the value lists of VSA DSS are used. In cases where a 1:1 mapping is possible, there is no additional value list entry for AG-64/96. Instead, one can use the corresponding VSA-DSS value which is translated on export. These cases are listed below.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VSA-DSS

^^^^^^^^^^^^^^^^^^^^^^^^^
In the models AG-64/AG-96, the organisations table differs from VSA. It has 20 characters and uses a different prefix. In order to maintain the VSA compatibility, TWW 2 AG-64/96 uses the VSA tables and alters the OID only on export.

There is a set of private entities in the AG-64/AG-96 organisations dataset that were not ported to VSA DSS. For these organisations, we use a OID prefix that was generated solely for this purpose and the AG-64/AG-96 postfix. The corresponding data is imported on initialisation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cymed Could you not add them to the VSA Organisation dataset also?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quoting the wiki: Private Eigentümer, auch von grossen Liegenschaften (u.a. Chemiebetriebe, Logistikzentren etc.) werden über den Sammeleintrag «Privat» (ch20p3q400000094) abgedeckt. Sie werden nicht in die harmonisierte Liste aufgenommen

@cymed cymed deleted the add-docs branch July 17, 2024 06:28
@cymed
Copy link
Contributor Author

cymed commented Jul 17, 2024

@ponceta I cannot see the strings on transifex. Are they pushed automatically?

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

Successfully merging this pull request may close these issues.

3 participants