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
MineralResources sourceReference problem #41
Comments
Hi Christian, There was a discussion on this in the INSPIRE Forum back in the days https://wayback.archive-it.org/12090/20210123101226/https://inspire.ec.europa.eu/forum/discussion/view/269595/mineraloccurencesourcereference-does-not-allow-inline-creation-of-documentcitation All the best Johanna |
Dear @CLinGBA |
MR_EarthResource_sourceReference_doesn't_link_to_DocumentCitation Change proposal descriptionUpdate the XSD so that the reference to the DocumentCitation dataType is contained in sourceReference of EarthResource and derived types as foreseen in the UML model Issue facedAs the sequence provided under sourceReference doesn't contain DocumentCitation, this information cannot be provided inline. Expected behaviourIt should be possible to provide a DocumentCitation inline as foreseen by the model Current behaviourIt is not possible to provide a DocumentCitation inline as foreseen by the model Steps to reproduceTry and provide EarthResource including sourceReference Proposed solutionFix the empty sequence currently under sourceReference by adding DocumentCitation - currently just Technical details`
` Additional informationProposal reasonThis is a bug, and hinders provision of valid information utilizing the EarthResource featureType Addressed schemaMineralResources Impact on INSPIRE TG / IRMakes it possible to fulfill the TG/IR Requirements Change proposerGeologische Bundesanstalt (GBA) (Austrian Geological Agency), supported by DataCove e.U. |
Dear @CLinGBA , @KathiSchleidt |
Hiya,
with
Does the trick |
@kathi,
am I right? |
Sorry, my mistake! Thanks for the correction |
Subgroup Meeting 15-12-2021: Change proposal is approved |
Added data type DocumentCitation to definition of sourceReference property. See issue #41
The INSPIRE CT approved the change proposal during today's meeting. In the next step, the proposal will be moved to the MIG for the final endorsement. |
During the joint MIG/MIG-T meeting held on 31/03-01/04/2022, the proposal was endorsed. |
* Update MineralResourcesCore Added data type DocumentCitation to definition of sourceReference property. See issue #41 * Add changelog and version Add a comment with changelog and update the version Co-authored-by: Fabio Vinci <f.vinci@epsilon-italia.it>
Dear all,
There seems to be an issue with EarthResource and the sourceReference element in MineralResources, defined in the UML as: sourceReference: DocumentCitation[1..*]
In the XSD, the reference to the DocumentCitation dataType gets lost (only mentioned in the appinfo tag), while the xlinks provided via the gml:AssociationAttributeGroup aren't of help as DocumentCitation is a dataType, thus cannot be referenced.
This is an issue, as we thus cannot provide this mandatory information. XSD Snippet showing the issue below
<element name="sourceReference" nillable="true" maxOccurs="unbounded"> <annotation> <documentation>-- Definition -- The source or reference for the Earth Resource.</documentation> <appinfo> <targetElement xmlns="http://www.opengis.net/gml/3.2">base2:DocumentCitation</targetElement> </appinfo> </annotation> <complexType> <complexContent> <extension base="gml:AbstractMemberType"> <sequence/> <attributeGroup ref="gml:AssociationAttributeGroup"/> </extension> </complexContent> </complexType> </element>
Many thanks,
Christian
The text was updated successfully, but these errors were encountered: