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
ER_dateOfDetermination&dateOfDiscovery_missing nilreason #65
Comments
Dear @Dnoack49, thank you for opening the issue. Looking at your proposal it seems that the errors are as follows:
Moreover, the addressed schema should be: https://inspire.ec.europa.eu/schemas/er-v/4.0/EnergyResourcesVector.xsd Could you please check and edit your comment? |
Dear @fabiovinci , |
Subgroup meeting on 24.03.2022: |
It seems the proposed solution cannot be implemented in the xsd. However using the dataType "TM_Position" inexact temporal positions may be expressed using the optional indeterminatePosition attribute, which takes values from the below enumeration: An alternative solution could be (but we would not reconmend this) to propose a change in the data type of the two attributes using, for example, the "dateTime" or "date" dataTypes. The sub-group members are now kindly asked to provide feedback on the above. |
I did some research and noted that this issue was observed as well during the work done in the OGC OWS-6 Interoperability Testbed. One of the engineering reports, OGC OWS-6-AIM Engineering Report, links to a change request, OGC 09-023r1, that contains the following comment:
However, this, and the actual change proposal in that document, does not seem to have been addressed by OGC. If the INSPIRE thinks this change is needed, I guess the correct way would be to create a new change proposal in the OGC Standards Tracker.
If the attribute is nillable, <er-v:dateOfDetermination xsi:nil="true" /> which has the same meaning as <er-v:dateOfDetermination indeterminatePosition="unknown" />
I assume that the reason certain data specification use
|
Dear @Dnoack49 |
this looks good to me. Just a minor edit: I think the empty element using
|
`<er-v:dateOfDetermination indeterminatePosition="unknown" xsi:nil="true" /> is a third option indeed. Summing up
|
Technically, all of the above options are valid, but according to Voidable characteristics only three option are possible: Therefore options 1 and 3 - using only indeterminatePosition = "unknown" can be slightly confusing and will not always match the definitions above. The void value "unknown" can only be used in a specific case. In my opinion recommendation of sub-group should be option 2th: "With current schema version, recommendation is either to set the xsi:nil="true" to indicate that the value for the dateOfDetermination /dateOfDiscovery element is not provided /is unknown". |
Subgroup meeting on 13.09.2022: In addition, the sub-group agrees to create a change proposal in the OGC Standards Tracker. |
Related "Implementation examples" category discussion: INSPIRE-MIF/helpdesk#134 |
Change proposal description
In May 2020 the issue Energy Resources: Missing nilReason for dateOfDetermination and dateOfDiscovery was opened in the INSPIRE Thematic Cluster. As it has not been solved this git issue was created.
Issue faced
The Energy Resources vector schema has issues concerning two properties that are defined differently in the according UML model :
Additional information
Proposal reason
Bugfix
Addressed schema
https://inspire.ec.europa.eu/schemas/er-v/4.0/EnergyResourcesVector.xsd
Impact on INSPIRE TG / IR
No impact on TG/IR.
The text was updated successfully, but these errors were encountered: