Is directly linking between EnvironmentalMonitoringNetwork and EnvironmentalMonitoringFacility without using the association class NetworkFacility allowed? #131
-
Hi there, I have a question regarding the Environmental Monitoring Facility specification. Is directly linking between UML: https://inspire.ec.europa.eu/data-model/approved/r4618-ir/html/index.htm?goto=2:3:6:1:1:7980 The Validator does not complain about the direct linking, however because |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Hi Kate, to the fact that the validator validates, to my knowledge this doesn't mean much for Annex III themes, as they're not checked against the schema yet, only that the service is OK, and the output is GML to the issue itself - fear the problem is the automatic conversion of conceptual models to XSD, not taking provision technology into account. From where we stand, you could include the NetworkFacility dataType within the Facility or Network, then provide the link from here. Only "ugly bit" is that this NetworkFacility must provide both links, so you'd have to include a reference to the feature (Network or Facility) where this is included (so a type of backlink). Problem is that if you don't include this type, there's no way of knowing during which timespan the Facility was linked to the Network, a mandatory attribute in the data model. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
Just for the sake of completeness: NetworkFacility.linkingTime is voidable - so in case it is not present, delivering a NetworkFacility object would only serve to let the customer know that there is no linkingTime. The same issue exists for Soil BTW https://inspire.ec.europa.eu/data-model/approved/r4618-ir/html/EARoot/EA2/EA3/EA17/EA1/EA8714.htm where the association between SoilBody and DerivedSoilProfile is using the association class DerivedProfilePresenceInSoilBody which is also containing only one voidable attribute. All the best Johanna |
Beta Was this translation helpful? Give feedback.
-
Dear all, |
Beta Was this translation helpful? Give feedback.
-
Hi all, I validated this file returned by the WFS Kate mentioned in the issue description with the ETS for EF that is now available. In the result, there is no error on the NetworkFacility class not being used. All the best Johanna |
Beta Was this translation helpful? Give feedback.
-
The validator does not go into the details of what you link via xlink, you can put anything there, e.g. xlink:href="nonexistant.site.org/dummy" I did a simple test file for ef:EnvironmentalMonitoringNetwork, added the ef:NetworkFacility, but then dead-ended the ef:contains & ef:belongsTo to point to "#bla" - validates just fine ;) See: The issue with leaving out the ef:NetworkFacility will be with other applications expecting a correct data model, they'll probably stumble over the gap as they'll be expecting a ef:NetworkFacility where you provide ef:EnvironmentalMonitoringFacility It comes down to your goal, is this just formal validation or potential reuse of harmonized data? |
Beta Was this translation helpful? Give feedback.
-
Dear @Kate-Lyndegaard, the answer to your question "Is directly linking between EnvironmentalMonitoringNetwork and EnvironmentalMonitoringFacility without using the association class NetworkFacility allowed?" is "Yes". The additional attributes of the association For this reason, the encoding present in your dataset is valid (as confirmed by Johanna):
Let us know if you have further questions. |
Beta Was this translation helpful? Give feedback.
Dear @Kate-Lyndegaard,
the answer to your question "Is directly linking between EnvironmentalMonitoringNetwork and EnvironmentalMonitoringFacility without using the association class NetworkFacility allowed?" is "Yes".
The additional attributes of the association
belongsTo
, defined by the association class NetworkFacility, are optional.For this reason, the encoding present in your dataset is valid (as confirmed by Johanna):
<ef:belongsTo xlink:href="#EnvironmentalMonitoringNetwork_OBS_L2"/>
Let us know if you have further questions.