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

include possibility to indicate agriculturalRegion #53

Open
hurni opened this issue Oct 17, 2024 · 3 comments
Open

include possibility to indicate agriculturalRegion #53

hurni opened this issue Oct 17, 2024 · 3 comments
Labels
enhancement New feature or request jira Tag to activate JIRA integration minor V1.5

Comments

@hurni
Copy link
Contributor

hurni commented Oct 17, 2024

eCH-0261 contains agriculturalZone. Missing is agriculturalRegion.
More info @cornelia Schmid; @simon Frey

possibile solutions:

a) add agriculturalRegion (two possible values: "Talgebiet", "Berggebiet"); resulting in a minor change
b) indicate acres per zone to calculate the region; resulting in a major change

initial evaluation (cp. example below)

pro b): nice modular setup -> data can be used to calculate 2 relevant indications
pro a): if usage is limited to calculating agriculturalZone and agriculturalRegion, instead of two datapoints, up to 6 datapoints would be needed. Can be realised with backwards compatibility.


example: localUnit has
20 Aren Talzone
30 Aren Hügelzone
40 Aren Bergzone 1

localUnits agriculturalZone is "Bergzone 1" (as 40 Aren = grösste Fläche), agriculturalRegion is "Talgebiet" (20 + 30 Aren = 50 Aren = grösste Fläche)

see mail:
Von: Schmid Cornelia BLW cornelia.schmid@blw.admin.ch
Gesendet: Dienstag, 15. Oktober 2024 16:25
An: Hurni Pascal BLW pascal.hurni@blw.admin.ch
Cc: Altorfer Alexandra BLW alexandra.altorfer@blw.admin.ch; Foletti Ambrogio BLW ambrogio.foletti@blw.admin.ch
Betreff: AW: eCH-0261: Gebiet (area)

@hurni hurni added enhancement New feature or request v2 jira Tag to activate JIRA integration major labels Oct 17, 2024
@AFoletti
Copy link
Member

This is a minor that could be implemented in V1.5

hurni added a commit that referenced this issue Feb 18, 2025
add agriculturalRegionType according to #53
@hurni
Copy link
Contributor Author

hurni commented Feb 18, 2025

@hurni hurni mentioned this issue Feb 18, 2025
@montanajava
Copy link
Contributor

In the XSD it would appear that a String representing an integer is being used as a key for the value, e.g. "01", "02".

Humans, not just machines, also read the transmitted values and it would be nice if one could discern what is meant by 01 or 02 without having to resort to looking it up in the XSD.

Would "MOUNTAIN" and "VALLEY" be worth considering as keys, notwithstanding the fact that in other enumerations within this standard integer values as strings were used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request jira Tag to activate JIRA integration minor V1.5
Projects
None yet
Development

No branches or pull requests

3 participants